From a0b235c53793bbee138920559d8538ce552df201 Mon Sep 17 00:00:00 2001 From: christosts Date: Tue, 21 Sep 2021 14:01:19 +0100 Subject: [PATCH] Update javadoc for 2.15.1 #minor-release PiperOrigin-RevId: 397976212 --- docs/doc/reference/allclasses-index.html | 4 +- .../android/exoplayer2/ForwardingPlayer.html | 151 +++++---- .../com/google/android/exoplayer2/Player.html | 12 +- .../google/android/exoplayer2/Timeline.html | 7 +- .../android/exoplayer2/audio/AudioSink.html | 4 +- .../exoplayer2/audio/DefaultAudioSink.html | 4 +- .../exoplayer2/audio/ForwardingAudioSink.html | 4 +- .../audio/MediaCodecAudioRenderer.html | 4 +- .../exoplayer2/ext/cast/CastPlayer.html | 96 ++++-- .../mediacodec/MediaCodecRenderer.html | 4 +- .../android/exoplayer2/offline/StreamKey.html | 63 +++- .../exoplayer2/offline/package-summary.html | 2 +- .../source/dash/BaseUrlExclusionList.html | 2 +- .../exoplayer2/source/dash/DashUtil.html | 43 ++- .../source/dash/DefaultDashChunkSource.html | 1 + .../source/dash/package-summary.html | 2 +- .../testutil/CapturingAudioSink.html | 4 +- .../testutil/DataSourceContractTest.html | 20 +- .../trackselection/DefaultTrackSelector.html | 2 +- .../ui/PlayerNotificationManager.Builder.html | 291 +++++++++++++++++- .../ui/PlayerNotificationManager.html | 99 +++++- .../video/MediaCodecVideoRenderer.html | 4 +- docs/doc/reference/constant-values.html | 32 +- docs/doc/reference/deprecated-list.html | 216 +++++++------ docs/doc/reference/index-all.html | 98 +++++- docs/doc/reference/member-search-index.js | 2 +- docs/doc/reference/member-search-index.zip | Bin 136087 -> 136486 bytes docs/doc/reference/package-search-index.zip | Bin 706 -> 706 bytes docs/doc/reference/type-search-index.zip | Bin 10091 -> 10091 bytes 29 files changed, 895 insertions(+), 276 deletions(-) diff --git a/docs/doc/reference/allclasses-index.html b/docs/doc/reference/allclasses-index.html index 661b198996..0b597a9f2a 100644 --- a/docs/doc/reference/allclasses-index.html +++ b/docs/doc/reference/allclasses-index.html @@ -879,7 +879,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); BaseUrlExclusionList -
Holds the state of excluded base URLs to be used to select a base URL based on these exclusions.
+
Holds the state of excluded base URLs to be used to select a base URL based on these exclusions.
@@ -6270,7 +6270,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); StreamKey -
A key for a subset of media which can be separately loaded (a "stream").
+
A key for a subset of media that can be separately loaded (a "stream").
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html b/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html index ec8d4c572d..2d40c14602 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ForwardingPlayer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":42,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":42,"i57":10,"i58":42,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":42,"i72":10,"i73":10,"i74":10,"i75":42,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10}; +var data = {"i0":42,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":42,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":42,"i58":10,"i59":42,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":42,"i73":10,"i74":10,"i75":10,"i76":42,"i77":10,"i78":42,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":42}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -219,7 +219,7 @@ implements void addListener​(Player.EventListener listener) -
Registers a listener to receive events from the player.
+
Deprecated.
@@ -628,13 +628,20 @@ implements +Player +getWrappedPlayer() + +
Returns the Player to which operations are forwarded.
+ + + boolean hasNext()
Deprecated.
- + boolean hasNextWindow() @@ -642,14 +649,14 @@ implements + boolean hasPrevious()
Deprecated.
- + boolean hasPreviousWindow() @@ -657,21 +664,21 @@ implements + void increaseDeviceVolume()
Increases the volume of the device.
- + boolean isCommandAvailable​(int command)
Returns whether the provided Player.Command is available.
- + boolean isCurrentWindowDynamic() @@ -679,14 +686,14 @@ implements + boolean isCurrentWindowLive()
Returns whether the current window is live, or false if the Timeline is empty.
- + boolean isCurrentWindowSeekable() @@ -694,35 +701,35 @@ implements + boolean isDeviceMuted()
Gets whether the device is muted or not.
- + boolean isLoading()
Whether the player is currently loading the source.
- + boolean isPlaying()
Returns whether the player is playing, i.e.
- + boolean isPlayingAd()
Returns whether the player is currently playing an ad.
- + void moveMediaItem​(int currentIndex, int newIndex) @@ -730,7 +737,7 @@ implements Moves the media item at the current index to the new index. - + void moveMediaItems​(int fromIndex, int toIndex, @@ -739,70 +746,70 @@ implements Moves the media item range to the new index. - + void next()
Deprecated.
- + void pause()
Pauses playback.
- + void play()
Resumes playback as soon as Player.getPlaybackState() == Player.STATE_READY.
- + void prepare()
Prepares the player.
- + void previous()
Deprecated.
- + void release()
Releases the player.
- + void removeListener​(Player.EventListener listener) -
Unregister a listener registered through Player.addListener(EventListener).
+
Deprecated.
- + void removeListener​(Player.Listener listener)
Unregister a listener registered through Player.addListener(Listener).
- + void removeMediaItem​(int index)
Removes the media item at the given index of the playlist.
- + void removeMediaItems​(int fromIndex, int toIndex) @@ -810,21 +817,21 @@ implements Removes a range of media items from the playlist. - + void seekBack()
Seeks back in the current window by Player.getSeekBackIncrement() milliseconds.
- + void seekForward()
Seeks forward in the current window by Player.getSeekForwardIncrement() milliseconds.
- + void seekTo​(int windowIndex, long positionMs) @@ -832,35 +839,35 @@ implements Seeks to a position specified in milliseconds in the specified window. - + void seekTo​(long positionMs)
Seeks to a position specified in milliseconds in the current window.
- + void seekToDefaultPosition()
Seeks to the default position associated with the current window.
- + void seekToDefaultPosition​(int windowIndex)
Seeks to the default position associated with the specified window.
- + void seekToNext()
Seeks to a later position in the current or next window (if available).
- + void seekToNextWindow() @@ -868,14 +875,14 @@ implements + void seekToPrevious()
Seeks to an earlier position in the current or previous window (if available).
- + void seekToPreviousWindow() @@ -883,21 +890,21 @@ implements + void setDeviceMuted​(boolean muted)
Sets the mute state of the device.
- + void setDeviceVolume​(int volume)
Sets the volume of the device.
- + void setMediaItem​(MediaItem mediaItem) @@ -905,7 +912,7 @@ implements + void setMediaItem​(MediaItem mediaItem, boolean resetPosition) @@ -913,7 +920,7 @@ implements Clears the playlist and adds the specified MediaItem. - + void setMediaItem​(MediaItem mediaItem, long startPositionMs) @@ -921,7 +928,7 @@ implements Clears the playlist and adds the specified MediaItem. - + void setMediaItems​(List<MediaItem> mediaItems) @@ -929,7 +936,7 @@ implements + void setMediaItems​(List<MediaItem> mediaItems, boolean resetPosition) @@ -937,7 +944,7 @@ implements Clears the playlist and adds the specified MediaItems. - + void setMediaItems​(List<MediaItem> mediaItems, int startWindowIndex, @@ -946,56 +953,56 @@ implements Clears the playlist and adds the specified MediaItems. - + void setPlaybackParameters​(PlaybackParameters playbackParameters)
Attempts to set the playback parameters.
- + void setPlaybackSpeed​(float speed)
Changes the rate at which playback occurs.
- + void setPlaylistMetadata​(MediaMetadata mediaMetadata)
Sets the playlist MediaMetadata.
- + void setPlayWhenReady​(boolean playWhenReady)
Sets whether playback should proceed when Player.getPlaybackState() == Player.STATE_READY.
- + void setRepeatMode​(int repeatMode)
Sets the Player.RepeatMode to be used for playback.
- + void setShuffleModeEnabled​(boolean shuffleModeEnabled)
Sets whether shuffling of windows is enabled.
- + void setVideoSurface​(Surface surface)
Sets the Surface onto which video will be rendered.
- + void setVideoSurfaceHolder​(SurfaceHolder surfaceHolder) @@ -1003,38 +1010,40 @@ implements + void setVideoSurfaceView​(SurfaceView surfaceView)
Sets the SurfaceView onto which video will be rendered.
- + void setVideoTextureView​(TextureView textureView)
Sets the TextureView onto which video will be rendered.
- + void setVolume​(float audioVolume)
Sets the audio volume, with 0 being silence and 1 being unity gain (signal unchanged).
- + void stop()
Stops playback without resetting the player.
- + void stop​(boolean reset) -  + +
Deprecated.
+
@@ -384,12 +418,13 @@ implements Creates an instance.
Parameters:
periodIndex - The period index.
groupIndex - The group index.
-
trackIndex - The track index.
+
streamIndex - The stream index.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/offline/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/offline/package-summary.html index d7a075abe0..ce9db43d20 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/offline/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/offline/package-summary.html @@ -263,7 +263,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
StreamKey -
A key for a subset of media which can be separately loaded (a "stream").
+
A key for a subset of media that can be separately loaded (a "stream").
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/dash/BaseUrlExclusionList.html b/docs/doc/reference/com/google/android/exoplayer2/source/dash/BaseUrlExclusionList.html index 91eaaad68d..124bad9534 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/source/dash/BaseUrlExclusionList.html +++ b/docs/doc/reference/com/google/android/exoplayer2/source/dash/BaseUrlExclusionList.html @@ -131,7 +131,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
public final class BaseUrlExclusionList
 extends Object
-
Holds the state of excluded base URLs to be used to select a base URL based on these exclusions.
+
Holds the state of excluded base URLs to be used to select a base URL based on these exclusions.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashUtil.html b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashUtil.html index 6ffa975c31..66e631b456 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashUtil.html +++ b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashUtil.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9}; +var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -163,9 +163,9 @@ extends static DataSpec -buildDataSpec​(String baseUrl, +buildDataSpec​(Representation representation, + String baseUrl, RangedUri requestUri, - String cacheKey, int flags)
Builds a DataSpec for a given RangedUri belonging to Representation.
@@ -236,6 +236,14 @@ extends Loads initialization data for the representation and returns the sample Format. + +static String +resolveCacheKey​(Representation representation, + RangedUri rangedUri) + +
Resolves the cache key to be used when requesting the given ranged URI for the given Representation.
+ +