-
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes All Packages +
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes All Packages

A

@@ -585,6 +585,11 @@

A

Factory for AdaptiveTrackSelection instances.
+
adBufferedPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The SimpleBasePlayer.PositionSupplier for the estimated position up to which the currently playing ad + is buffered, in milliseconds.
+
add(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
@@ -609,6 +614,24 @@

A

Associates the specified value with the specified timestamp.
+
add(MediaItem) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Adds a MediaItem to the concatenation.
+
+
add(MediaItem, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Adds a MediaItem to the concatenation and specifies its initial placeholder duration + used while the actual duration is still unknown.
+
+
add(MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Adds a MediaSource to the concatenation.
+
+
add(MediaSource, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Adds a MediaSource to the concatenation and specifies its initial placeholder + duration used while the actual duration is still unknown.
+
add(Dumper.Dumpable) - Method in class com.google.android.exoplayer2.testutil.Dumper
 
add(E) - Method in class com.google.android.exoplayer2.util.CopyOnWriteMultiset
@@ -629,7 +652,7 @@

A

addAll(@com.google.android.exoplayer2.Player.Command int...) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
-
Adds commands.
+
Adds commands.
addAll(int...) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
@@ -645,7 +668,7 @@

A

addAllCommands() - Method in class com.google.android.exoplayer2.Player.Commands.Builder
-
Adds all existing commands.
+
Adds all existing commands.
addAnalyticsListener(AnalyticsListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
@@ -1079,6 +1102,11 @@

A

The number of ad playbacks.
+
adPlaybackState - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
+
The AdPlaybackState of the period, or AdPlaybackState.NONE if there are no + ads.
+
AdPlaybackState - Class in com.google.android.exoplayer2.source.ads
Represents ad group times and information on the state and URIs of ads within each ad group.
@@ -1097,6 +1125,10 @@

A

adPlaybackStates - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
+
adPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The SimpleBasePlayer.PositionSupplier for the current ad playback position in milliseconds.
+
adResumePositionUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The position offset in the first unplayed ad at which to begin playback, in microseconds.
@@ -1982,6 +2014,10 @@

A

 
audioAttributes - Variable in class com.google.android.exoplayer2.audio.AudioAttributes.AudioAttributesV21
 
+
audioAttributes - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current AudioAttributes.
+
AudioAttributes - Class in com.google.android.exoplayer2.audio
Attributes for audio playback, which configure the underlying platform AudioTrack.
@@ -2451,6 +2487,10 @@

B

bitmap should be displayed at its natural height given the bitmap dimensions and the specified Cue.size.
+
bitrate - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
+
+
The bitrate of audio samples.
+
bitrate - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Bitrate of the frame in bit/s.
@@ -2729,6 +2769,14 @@

B

Builds a Player.Commands instance.
+
build() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+ +
+
build() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
+
+ +
build() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
@@ -2739,6 +2787,10 @@

B

+
build() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Builds the concatenating media source.
+
build() - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
Builds the RtpPacket.
@@ -2958,11 +3010,11 @@

B

Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
-
Constructs an instance.
+
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
-
Constructs an instance.
+
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.RequestMetadata.Builder
@@ -2978,6 +3030,10 @@

B

Creates the builder.
+
Builder() - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Creates the builder.
+
Builder() - Constructor for class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
@@ -3139,6 +3195,14 @@

B

Creates a builder with the initial values specified in initialValues.
+
Builder(Object) - Constructor for class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Creates the builder.
+
+
Builder(Object) - Constructor for class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
+
+
Creates the builder.
+
Builder(String) - Constructor for class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
 
Builder(String, Uri) - Constructor for class com.google.android.exoplayer2.offline.DownloadRequest.Builder
@@ -3323,6 +3387,14 @@

B

Returns a Player.Commands.Builder initialized with the values of this instance.
+
buildUpon() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
Returns a SimpleBasePlayer.MediaItemData.Builder pre-populated with the current values.
+
+
buildUpon() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
+
Returns a SimpleBasePlayer.PeriodData.Builder pre-populated with the current values.
+
buildUpon() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State
Returns a SimpleBasePlayer.State.Builder pre-populated with the current state values.
@@ -4326,6 +4398,11 @@

C

 
clearDecoderInfoCache() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
 
+
clearDownloadManagerHelpers() - Static method in class com.google.android.exoplayer2.offline.DownloadService
+
+
Clear all download manager helpers before restarting the + service.
+
clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
Clears any stored fatal error.
@@ -4397,6 +4474,10 @@

C

Removes all overrides of the provided track type.
+
clearPositionDiscontinuity() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Clears a previously set position discontinuity signal.
+
clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
@@ -5135,7 +5216,7 @@

C

COMMAND_CHANGE_MEDIA_ITEMS - Static variable in interface com.google.android.exoplayer2.Player
-
Command to change the MediaItems in the playlist.
+
Command to change the media items in the playlist.
COMMAND_GET_AUDIO_ATTRIBUTES - Static variable in interface com.google.android.exoplayer2.Player
@@ -5143,7 +5224,7 @@

C

COMMAND_GET_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
-
Command to get the currently playing MediaItem.
+
Command to get information about the currently playing MediaItem.
COMMAND_GET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
@@ -5151,7 +5232,7 @@

C

COMMAND_GET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
-
Command to get the MediaItems metadata.
+
Command to get metadata related to the playlist and current MediaItem.
COMMAND_GET_TEXT - Static variable in interface com.google.android.exoplayer2.Player
@@ -5185,15 +5266,15 @@

C

COMMAND_SEEK_BACK - Static variable in interface com.google.android.exoplayer2.Player
-
Command to seek back by a fixed increment into the current MediaItem.
+
Command to seek back by a fixed increment inside the current MediaItem.
COMMAND_SEEK_FORWARD - Static variable in interface com.google.android.exoplayer2.Player
-
Command to seek forward by a fixed increment into the current MediaItem.
+
Command to seek forward by a fixed increment inside the current MediaItem.
COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
-
Command to seek anywhere into the current MediaItem.
+
Command to seek anywhere inside the current MediaItem.
COMMAND_SEEK_IN_CURRENT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
@@ -5211,7 +5292,8 @@

C

COMMAND_SEEK_TO_NEXT - Static variable in interface com.google.android.exoplayer2.Player
-
Command to seek to a later position in the current or next MediaItem.
+
Command to seek to a later position in the current MediaItem or the default position of + the next MediaItem.
COMMAND_SEEK_TO_NEXT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
@@ -5225,7 +5307,8 @@

C

COMMAND_SEEK_TO_PREVIOUS - Static variable in interface com.google.android.exoplayer2.Player
-
Command to seek to an earlier position in the current or previous MediaItem.
+
Command to seek to an earlier position in the current MediaItem or the default position + of the previous MediaItem.
COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
@@ -5245,7 +5328,7 @@

C

COMMAND_SET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
-
Command to set the device volume and mute it.
+
Command to set the device volume.
COMMAND_SET_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
@@ -5253,7 +5336,7 @@

C

COMMAND_SET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
-
Command to set the MediaItems metadata.
+
Command to set the playlist metadata.
COMMAND_SET_REPEAT_MODE - Static variable in interface com.google.android.exoplayer2.Player
@@ -5281,7 +5364,7 @@

C

COMMAND_STOP - Static variable in interface com.google.android.exoplayer2.Player
-
Command to stop playback or release the player.
+
Command to stop playback.
commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
@@ -5382,6 +5465,14 @@

C

 
ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
ConcatenatingMediaSource2 - Class in com.google.android.exoplayer2.source
+
+
Concatenates multiple MediaSources, combining everything in one single Timeline.Window.
+
+
ConcatenatingMediaSource2.Builder - Class in com.google.android.exoplayer2.source
+
+
A builder for ConcatenatingMediaSource2 instances.
+
ConditionVariable - Class in com.google.android.exoplayer2.util
An interruptible condition variable.
@@ -5598,7 +5689,7 @@

C

containsAny(@com.google.android.exoplayer2.Player.Event int...) - Method in class com.google.android.exoplayer2.Player.Events
-
Returns whether any of the given events occurred.
+
Returns whether any of the given events occurred.
containsAny(int...) - Method in class com.google.android.exoplayer2.util.FlagSet
@@ -5667,6 +5758,12 @@

C

+
contentBufferedPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The SimpleBasePlayer.PositionSupplier for the estimated position up to which the currently playing + content is buffered, in milliseconds, or C.TIME_UNSET to indicate the default start + position.
+
ContentDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a content URI.
@@ -5719,6 +5816,11 @@

C

The content position, in milliseconds.
+
contentPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The SimpleBasePlayer.PositionSupplier for the current content playback position in milliseconds, or + C.TIME_UNSET to indicate the default start position.
+
contentResumeOffsetUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The offset in microseconds which should be added to the content stream when resuming playback @@ -6708,6 +6810,8 @@

C

 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
@@ -7428,10 +7532,27 @@

C

Returned by AudioSink.getCurrentPositionUs(boolean) when the position is not set.
+
currentAdGroupIndex - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current ad group index, or C.INDEX_UNSET if no ad is playing.
+
+
currentAdIndexInAdGroup - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current ad index in the ad group, or C.INDEX_UNSET if no ad is playing.
+
currentCapacity - Variable in exception com.google.android.exoplayer2.decoder.DecoderInputBuffer.InsufficientCapacityException
The current capacity of the buffer.
+
currentCues - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current cues.
+
+
currentMediaItemIndex - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current media item index, or C.INDEX_UNSET to assume the default first item of + the playlist is played.
+
currentMediaPeriodId - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Media period identifier for the currently playing media period at the @@ -7969,12 +8090,12 @@

D

DECODER_SUPPORT_FALLBACK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The renderer will use a fallback decoder.
+
The format exceeds the primary decoder's capabilities but is supported by fallback decoder
DECODER_SUPPORT_FALLBACK_MIMETYPE - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The renderer will use a decoder for fallback mimetype if possible as format's MIME type is - unsupported
+
The format's MIME type is unsupported and the renderer may use a decoder for a fallback MIME + type.
DECODER_SUPPORT_PRIMARY - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
@@ -9243,6 +9364,11 @@

D

Creates session manager.
+
defaultPositionUs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The default position relative to the start of the media item at which to begin playback, in + microseconds.
+
defaultPositionUs - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
defaultPositionUs - Variable in class com.google.android.exoplayer2.Timeline.Window
@@ -9548,6 +9674,10 @@

D

Requirement that the device's internal storage is not low.
+
deviceInfo - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+ +
DeviceInfo - Class in com.google.android.exoplayer2
Information about the playback device.
@@ -9566,6 +9696,10 @@

D

DeviceMappedEncoderBitrateProvider() - Constructor for class com.google.android.exoplayer2.transformer.DeviceMappedEncoderBitrateProvider
 
+
deviceVolume - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current device volume.
+
diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
An optional developer-readable diagnostic information string.
@@ -9802,6 +9936,11 @@

D

Discontinuity introduced by a skipped period (for instance a skipped ad).
+
discontinuityPositionMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The position, in milliseconds, in the current content or ad from which playback continued + after the discontinuity.
+
discontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The discontinuity sequence number of the first media segment in the playlist, as defined by @@ -10368,6 +10507,14 @@

D

The duration of the track in microseconds, or C.TIME_UNSET if unknown.
+
durationUs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The duration of the media item, in microseconds, or C.TIME_UNSET if unknown.
+
+
durationUs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
+
The total duration of the period, in microseconds, or C.TIME_UNSET if unknown.
+
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The total duration of the playlist in microseconds.
@@ -10514,6 +10661,12 @@

E

 
elapsedRealtime() - Method in class com.google.android.exoplayer2.util.SystemClock
 
+
elapsedRealtimeEpochOffsetMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The offset between SystemClock.elapsedRealtime() and the time since the Unix epoch + according to the clock of the media origin server, or C.TIME_UNSET if unknown or not + applicable.
+
elapsedRealtimeEpochOffsetMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The offset between SystemClock.elapsedRealtime() and the time since the Unix epoch @@ -10696,6 +10849,8 @@

E

 
enableInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
enableInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
enableRenderer(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a renderer enable action.
@@ -10785,6 +10940,8 @@

E

 
ENCODING_MP3 - Static variable in class com.google.android.exoplayer2.C
 
+
ENCODING_OPUS - Static variable in class com.google.android.exoplayer2.C
+
 
ENCODING_PCM_16BIT - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_16BIT_BIG_ENDIAN - Static variable in class com.google.android.exoplayer2.C
@@ -11030,6 +11187,10 @@

E

 
equals(Object) - Method in class com.google.android.exoplayer2.SeekParameters
 
+
equals(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
 
+
equals(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
 
equals(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State
 
equals(Object) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
@@ -12650,7 +12811,7 @@

F

-
FakeAudioRenderer(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeAudioRenderer
+
FakeAudioRenderer(HandlerWrapper, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeAudioRenderer
 
FakeChunkSource - Class in com.google.android.exoplayer2.testutil
@@ -12944,7 +13105,7 @@

F

-
FakeVideoRenderer(Handler, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeVideoRenderer
+
FakeVideoRenderer(HandlerWrapper, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
FALLBACK_TYPE_LOCATION - Static variable in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
@@ -13588,6 +13749,10 @@

F

Moves UI focus to the skip button (or other interactive elements), if currently shown.
+
focusSkipButton() - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader
+
+
Puts the focus on the skip button, if a skip button is present and an ad is playing.
+
FOLDER_TYPE_ALBUMS - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing media categorized by album.
@@ -14225,6 +14390,10 @@

G

GeobFrame(String, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
+
get() - Method in interface com.google.android.exoplayer2.SimpleBasePlayer.PositionSupplier
+
+
Returns the position.
+
get() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
get(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
@@ -14289,7 +14458,7 @@

G

get(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
-
get1xBufferSizeInBytes(int, int, int, int, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
+
get1xBufferSizeInBytes(int, int, int, int, int, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
Returns the buffer size for playback at 1x speed.
@@ -14877,12 +15046,12 @@

G

 
getBufferingState() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
-
getBufferSizeInBytes(int, @com.google.android.exoplayer2.C.Encoding int, @com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode int, int, int, double) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider
+
getBufferSizeInBytes(int, @com.google.android.exoplayer2.C.Encoding int, @com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode int, int, int, int, double) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider
Returns the buffer size to use when creating an AudioTrack for a specific format and output mode.
-
getBufferSizeInBytes(int, @com.google.android.exoplayer2.C.Encoding int, @com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode int, int, int, double) - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
+
getBufferSizeInBytes(int, @com.google.android.exoplayer2.C.Encoding int, @com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode int, int, int, int, double) - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
 
getBuildConfig() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
@@ -15184,6 +15353,10 @@

G

getConfigurationFormat() - Method in class com.google.android.exoplayer2.transformer.DefaultCodec
 
+
getConstant(long) - Static method in interface com.google.android.exoplayer2.SimpleBasePlayer.PositionSupplier
+
+
Returns an instance that returns a constant value.
+
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
@@ -15765,8 +15938,8 @@

G

getDecoderInfosSortedByFormatSupport(List<MediaCodecInfo>, Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns a copy of the provided decoder list sorted such that decoders with format support are - listed first.
+
Returns a copy of the provided decoder list sorted such that decoders with functional format + support are listed first.
getDecoderSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
@@ -15934,6 +16107,10 @@

G

Returns whether downloads are currently paused.
+
getDrawable(Context, Resources, int) - Static method in class com.google.android.exoplayer2.util.Util
+
+
Returns a Drawable for the given resource or throws a Resources.NotFoundException if not found.
+
getDrmUuid(String) - Static method in class com.google.android.exoplayer2.util.Util
Derives a DRM UUID from drmScheme.
@@ -16147,6 +16324,10 @@

G

Returns an ExtractorInput to read from the given input at given position.
+
getExtrapolating(long, float) - Static method in interface com.google.android.exoplayer2.SimpleBasePlayer.PositionSupplier
+
+
Returns an instance that extrapolates the provided position into the future.
+
getFallbackSelectionFor(LoadErrorHandlingPolicy.FallbackOptions, LoadErrorHandlingPolicy.LoadErrorInfo) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Returns whether a loader should fall back to using another resource on encountering an error, @@ -16454,6 +16635,8 @@

G

getInitialTimeline() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
getInitialTimeline() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
getInitialTimeline() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
@@ -16981,6 +17164,8 @@

G

 
getMediaItem() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
getMediaItem() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
@@ -17025,7 +17210,7 @@

G

getMediaItemCount() - Method in interface com.google.android.exoplayer2.Player
-
Returns the number of media items in the playlist.
+
Returns the number of media items in the playlist.
getMediaItemIndex() - Method in class com.google.android.exoplayer2.PlayerMessage
@@ -17073,6 +17258,8 @@

G

getMediaPeriodIdForChildMediaPeriodId(MediaSource.MediaPeriodId, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
+
getMediaPeriodIdForChildMediaPeriodId(Integer, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
getMediaPeriodIdForChildMediaPeriodId(Integer, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(Void, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.WrappingMediaSource
@@ -17526,13 +17713,17 @@

G

Returns the selected track overrides.
+
getPacketDurationUs(byte[]) - Static method in class com.google.android.exoplayer2.audio.OpusUtil
+
+
Returns the duration of the given audio packet.
+
getParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
getParameters() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Returns the current parameters for track selection.
-
getPassthroughBufferSizeInBytes(@com.google.android.exoplayer2.C.Encoding int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
+
getPassthroughBufferSizeInBytes(@com.google.android.exoplayer2.C.Encoding int, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
Returns the buffer size for passthrough playback.
@@ -17685,6 +17876,11 @@

G

Returns the number of pixels if this is a video format whose Format.width and Format.height are known, or Format.NO_VALUE otherwise
+
getPlaceholderMediaItemData(MediaItem) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Returns the placeholder SimpleBasePlayer.MediaItemData used for a new MediaItem added to the + playlist.
+
getPlaceholderState(SimpleBasePlayer.State) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Returns the placeholder state used while a player method is handled asynchronously.
@@ -17749,7 +17945,7 @@

G

getPlaybackState() - Method in interface com.google.android.exoplayer2.Player
-
Returns the current playback state of the player.
+
Returns the current playback state of the player.
getPlaybackState() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
@@ -19719,6 +19915,8 @@

G

Returns the window index in the composite source corresponding to the specified window index in a child source.
+
getWindowIndexForChildWindowIndex(Integer, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
getWindowIndexForChildWindowIndex(Void, int) - Method in class com.google.android.exoplayer2.source.WrappingMediaSource
 
getWindowIndexForChildWindowIndex(T, int) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
@@ -19899,6 +20097,10 @@

H

 
H265SpsData(int, boolean, int, int, int[], int, int, int, int, float) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
+
handleAddMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
handleBlockAddIDExtraData(MatroskaExtractor.Track, ExtractorInput, int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
handleBlockAdditionalData(MatroskaExtractor.Track, int, ExtractorInput, int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
@@ -19920,6 +20122,14 @@

H

 
handleBuffer(ByteBuffer, long, int) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
+
handleClearVideoOutput(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to clear the video output.
+
+
handleDecreaseDeviceVolume() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
handleDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Signals to the sink that the next buffer may be discontinuous with the previous buffer.
@@ -19930,6 +20140,10 @@

H

 
handleDiscontinuity() - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
+
handleIncreaseDeviceVolume() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
handleInputBufferSupplementalData(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Handles supplemental data associated with an input buffer.
@@ -19968,10 +20182,18 @@

H

Handles the message send to the component and additionally provides access to the player.
+
handleMoveMediaItems(int, int, int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
handlePendingSeek(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Continues to handle the pending seek operation.
+
handlePrepare() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to Player.prepare().
+
handlePrepareComplete(AdsMediaSource, int, int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
handlePrepareComplete(AdsMediaSource, int, int) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
@@ -19984,6 +20206,14 @@

H

Notifies the ads loader that the player was not able to prepare media for a given ad.
+
handleRelease() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to Player.release().
+
+
handleRemoveMediaItems(int, int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
HandlerWrapper - Interface in com.google.android.exoplayer2.util
An interface to call through to a Handler.
@@ -19992,11 +20222,59 @@

H

A message obtained from the handler.
+
handleSeek(int, long, @com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to Player.seekTo(long) and other seek operations (for example, Player.seekToNext()).
+
+
handleSetDeviceMuted(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
+
handleSetDeviceVolume(int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to Player.setDeviceVolume(int).
+
+
handleSetMediaItems(List<MediaItem>, int, long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
+
handleSetPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
+
handleSetPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
handleSetPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.LegacyMediaPlayerWrapper
 
handleSetPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
- + +
+
handleSetRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
+
handleSetShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
+
handleSetTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+ +
+
handleSetVideoOutput(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to set the video output.
+
+
handleSetVolume(float) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to Player.setVolume(float).
+
+
handleStop() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
+
Handles calls to Player.stop().
HARDWARE_ACCELERATION_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
@@ -20194,6 +20472,10 @@

H

 
hashCode() - Method in class com.google.android.exoplayer2.SeekParameters
 
+
hashCode() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
 
+
hashCode() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
 
hashCode() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State
 
hashCode() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
@@ -20420,6 +20702,10 @@

H

Returns whether all ads in the ad group at index adGroupIndex have been played, skipped or failed.
+
hasPositionDiscontinuity - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
Signals that a position discontinuity happened since the last update to the player.
+
hasPositiveStartOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the HlsMediaPlaylist.startOffsetUs was explicitly defined by #EXT-X-START as a positive value @@ -21543,6 +21829,10 @@

I

InternalFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
+
intToStringMaxRadix(int) - Static method in class com.google.android.exoplayer2.util.Util
+
+
Returns a string representation of the integer using radix value Character.MAX_RADIX.
+
invalidate() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Calls TrackSelector.InvalidationListener.onTrackSelectionsInvalidated() to invalidate all previously @@ -21698,6 +21988,10 @@

I

Returns whether the track at the specified index in the selection is excluded.
+
isBrowsable - Variable in class com.google.android.exoplayer2.MediaMetadata
+
+
Optional boolean to indicate that the media is a browsable folder.
+
isCached - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Whether the CacheSpan is cached.
@@ -21858,6 +22152,10 @@

I

Returns whether the C.BUFFER_FLAG_DECODE_ONLY flag is set.
+
isDeviceMuted - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
Whether the device is muted.
+
isDeviceMuted() - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated. @@ -21886,6 +22184,10 @@

I

 
isDone() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
+
isDynamic - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
Whether this media item may change over time, for example a moving live window.
+
isDynamic - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isDynamic - Variable in class com.google.android.exoplayer2.Timeline.Window
@@ -22039,9 +22341,14 @@

I

Returns whether the given flag is set.
+
isFormatFunctionallySupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
+
+
Returns whether the decoder may functionally support decoding the given format.
+
isFormatSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Returns whether the decoder may support decoding the given format.
+
Returns whether the decoder may support decoding the given format both functionally and + performantly.
isFullyVisible() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
@@ -22154,6 +22461,10 @@

I

 
isLoadCompleted() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
 
+
isLoading - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
Whether the player is currently loading its source.
+
isLoading() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
isLoading() - Method in class com.google.android.exoplayer2.ForwardingPlayer
@@ -22271,6 +22582,16 @@

I

Returns whether the device can do passthrough playback for format.
+
isPlaceholder - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
Whether this media item contains placeholder information because the real information has yet + to be loaded.
+
+
isPlaceholder - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
+
Whether this period contains placeholder information because the real information has yet to + be loaded.
+
isPlaceholder - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isPlaceholder - Variable in class com.google.android.exoplayer2.Timeline.Period
@@ -22285,7 +22606,7 @@

I

isPlayable - Variable in class com.google.android.exoplayer2.MediaMetadata
-
Optional boolean for media playability.
+
Optional boolean to indicate that the media is playable.
isPlaying() - Method in class com.google.android.exoplayer2.BasePlayer
 
@@ -22437,6 +22758,10 @@

I

Returns whether the device supports secure placeholder surfaces.
+
isSeekable - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
Whether it's possible to seek within this media item.
+
isSeekable - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isSeekable - Variable in class com.google.android.exoplayer2.Timeline.Window
@@ -22806,16 +23131,6 @@

K

Key request type for keys that will be used for online use.
-
keyForField(int) - Static method in exception com.google.android.exoplayer2.PlaybackException
-
-
Converts the given field number to a string which can be used as a field key when implementing - PlaybackException.toBundle() and Bundleable.Creator.
-
-
keyForField(int) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
-
Converts the given field number to a string which can be used as a field key when implementing - TrackSelectionParameters.toBundle() and Bundleable.Creator.
-
KeyRequest(byte[], String) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
@@ -23151,6 +23466,10 @@

L

The live playback configuration.
+
liveConfiguration - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The active MediaItem.LiveConfiguration, or null if the media item is not live.
+
liveConfiguration - Variable in class com.google.android.exoplayer2.Timeline.Window
The MediaItem.LiveConfiguration that is used or null if Timeline.Window.isLive() returns @@ -23485,6 +23804,10 @@

M

The client manifest major version.
+
manifest - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The manifest of the media item, or null if not applicable.
+
manifest - Variable in class com.google.android.exoplayer2.Timeline.Window
The manifest of the window.
@@ -23604,6 +23927,10 @@

M

Holds data corresponding to a single track.
+
MAX_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.OpusUtil
+
+
Maximum achievable Opus bitrate.
+
MAX_DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
The maximum number of frames that can be dropped between invocations of VideoRendererEventListener.onDroppedFrames(int, long).
@@ -23723,6 +24050,11 @@

M

The maximum time spent during a single rebuffer, in milliseconds, or C.TIME_UNSET if no rebuffer occurred.
+
maxSeekToPreviousPositionMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The maximum position for which BasePlayer.seekToPrevious() seeks to the previous item, in + milliseconds.
+
maxValue(SparseLongArray) - Static method in class com.google.android.exoplayer2.util.Util
Returns the maximum value in the given SparseLongArray.
@@ -23955,6 +24287,156 @@

M

A seek to another media item has occurred.
+
MEDIA_TYPE_ALBUM - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items (e.g., music) belonging to an + album.
+
+
MEDIA_TYPE_ARTIST - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items (e.g., music) from the same + artist.
+
+
MEDIA_TYPE_AUDIO_BOOK - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items forming an audio book.
+
+
MEDIA_TYPE_AUDIO_BOOK_CHAPTER - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for an audio book chapter.
+
+
MEDIA_TYPE_FOLDER_ALBUMS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing albums.
+
+
MEDIA_TYPE_FOLDER_ARTISTS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing artists.
+
+
MEDIA_TYPE_FOLDER_AUDIO_BOOKS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing audio books.
+
+
MEDIA_TYPE_FOLDER_GENRES - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing genres.
+
+
MEDIA_TYPE_FOLDER_MIXED - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder with mixed or undetermined content.
+
+
MEDIA_TYPE_FOLDER_MOVIES - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing movies.
+
+
MEDIA_TYPE_FOLDER_NEWS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing news.
+
+
MEDIA_TYPE_FOLDER_PLAYLISTS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing playlists.
+
+
MEDIA_TYPE_FOLDER_PODCASTS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing podcasts.
+
+
MEDIA_TYPE_FOLDER_RADIO_STATIONS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing radio + stations.
+
+
MEDIA_TYPE_FOLDER_TRAILERS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing movie trailers.
+
+
MEDIA_TYPE_FOLDER_TV_CHANNELS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing TV channels.
+
+
MEDIA_TYPE_FOLDER_TV_SERIES - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing TV series.
+
+
MEDIA_TYPE_FOLDER_TV_SHOWS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing TV shows.
+
+
MEDIA_TYPE_FOLDER_VIDEOS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing videos.
+
+
MEDIA_TYPE_FOLDER_YEARS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a folder containing years.
+
+
MEDIA_TYPE_GENRE - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items (e.g., music) of the same + genre.
+
+
MEDIA_TYPE_MIXED - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
Media of undetermined type or a mix of multiple media types.
+
+
MEDIA_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+ +
+
MEDIA_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+ +
+
MEDIA_TYPE_NEWS - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+ +
+
MEDIA_TYPE_PLAYLIST - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items (e.g., music) forming a + playlist.
+
+
MEDIA_TYPE_PODCAST - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items belonging to a podcast.
+
+
MEDIA_TYPE_PODCAST_EPISODE - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a podcast episode.
+
+
MEDIA_TYPE_RADIO_STATION - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a radio station.
+
+
MEDIA_TYPE_TRAILER - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a movie trailer.
+
+
MEDIA_TYPE_TV_CHANNEL - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items that are part of a TV channel.
+
+
MEDIA_TYPE_TV_SEASON - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items that are part of a TV series.
+
+
MEDIA_TYPE_TV_SERIES - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items that are part of a TV series.
+
+
MEDIA_TYPE_TV_SHOW - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+ +
+
MEDIA_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+ +
+
MEDIA_TYPE_YEAR - Static variable in class com.google.android.exoplayer2.MediaMetadata
+
+
MediaMetadata.MediaType for a group of items (e.g., music) from the same + year.
+
MediaChunk - Class in com.google.android.exoplayer2.source.chunk
An abstract base class for Chunks that contain media samples.
@@ -24105,6 +24587,10 @@

M

The media item, or null if the timeline is empty.
+
mediaItem - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+ +
mediaItem - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
mediaItem - Variable in class com.google.android.exoplayer2.Timeline.Window
@@ -24221,6 +24707,11 @@

M

The media metadata.
+
mediaMetadata - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The MediaMetadata, including static data from the MediaItem and the media's Format, as well any dynamic metadata that + has been parsed from the media.
+
MediaMetadata - Class in com.google.android.exoplayer2
Metadata of a MediaItem, playlist, or a combination of multiple sources of Metadata.
@@ -24233,6 +24724,10 @@

M

The folder type of the media item.
+
MediaMetadata.MediaType - Annotation Type in com.google.android.exoplayer2
+
+
The type of content described by the media item.
+
MediaMetadata.PictureType - Annotation Type in com.google.android.exoplayer2
The picture type of the artwork.
@@ -24478,6 +24973,10 @@

M

The media TrackGroup whose TrackSelectionOverride.trackIndices are forced to be selected.
+
mediaType - Variable in class com.google.android.exoplayer2.MediaMetadata
+
+ +
mediaUri - Variable in class com.google.android.exoplayer2.MediaItem.RequestMetadata
The URI of the requested media, or null if not known or applicable.
@@ -25295,6 +25794,11 @@

N

Returns a newly created placeholder surface.
+
newlyRenderedFirstFrame - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
Whether a frame has been rendered for the first time since setting the surface, a rendering + reset, or since the stream being rendered was changed.
+
newMediaChunk(DefaultDashChunkSource.RepresentationHolder, DataSource, @com.google.android.exoplayer2.C.TrackType int, Format, @com.google.android.exoplayer2.C.SelectionReason int, Object, long, int, long, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
newNoDataInstance() - Static method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
@@ -25718,7 +26222,7 @@

O

 
onAudioAttributesChanged(AudioAttributes) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the audio attributes change.
+
Called when the value of Player.getAudioAttributes() changes.
onAudioCapabilitiesChanged(AudioCapabilities) - Method in interface com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver.Listener
@@ -25995,6 +26499,8 @@

O

Called when the child source info has been refreshed.
+
onChildSourceInfoRefreshed(Integer, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
onChildSourceInfoRefreshed(Integer, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource
@@ -26141,7 +26647,7 @@

O

 
onCues(CueGroup) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when there is a change in the CueGroup.
+
Called when the value of Player.getCurrentCues() changes.
onCues(CueGroup) - Method in interface com.google.android.exoplayer2.text.TextOutput
@@ -26248,7 +26754,7 @@

O

 
onDeviceVolumeChanged(int, boolean) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the device volume or mute state changes.
+
Called when the value of Player.getDeviceVolume() or Player.isDeviceMuted() changes.
onDeviceVolumeChanged(AnalyticsListener.EventTime, int, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
@@ -26813,7 +27319,7 @@

O

 
onMediaMetadataChanged(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the combined MediaMetadata changes.
+
Called when the value of Player.getMediaMetadata() changes.
onMessageArrived() - Method in interface com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget.Callback
@@ -26910,7 +27416,7 @@

O

 
onPlaybackParametersChanged(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the current playback parameters change.
+
Called when the value of Player.getPlaybackParameters() changes.
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
@@ -27022,7 +27528,7 @@

O

 
onPlaylistMetadataChanged(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the playlist MediaMetadata changes.
+
Called when the value of Player.getPlaylistMetadata() changes.
onPlayWhenReadyChanged(boolean) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
@@ -27713,7 +28219,7 @@

O

 
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the timeline has been refreshed.
+
Called when the value of Player.getCurrentTimeline() changes.
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
@@ -27739,7 +28245,7 @@

O

 
onTracksChanged(Tracks) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the tracks change.
+
Called when the value of Player.getCurrentTracks() changes.
onTrackSelectionChanged(boolean, Map<TrackGroup, TrackSelectionOverride>) - Method in interface com.google.android.exoplayer2.ui.TrackSelectionView.TrackSelectionListener
@@ -28046,7 +28552,7 @@

O

 
onVolumeChanged(float) - Method in interface com.google.android.exoplayer2.Player.Listener
-
Called when the volume changes.
+
Called when the value of Player.getVolume() changes.
onVolumeChanged(AnalyticsListener.EventTime, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
@@ -28630,6 +29136,10 @@

P

Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "urn:mpeg:mpegB:cicp:ChannelConfiguration", as defined by ISO 23001-8 clause 8.1.
+
parsePacketAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.OpusUtil
+
+
Returns the number of audio samples in the given audio packet.
+
parsePercentage(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a percentage string.
@@ -28702,6 +29212,10 @@

P

 
parseText(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
+
parseTileCountFromProperties(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
+
+
Parses given descriptors for thumbnail tile information.
+
parseTimestampUs(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a WebVTT timestamp.
@@ -28954,6 +29468,11 @@

P

The period index.
+
periods - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The list of periods in this media item, or an empty list to assume a + single period without ads and the same duration as the media item.
+
periodUid - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The UID of the period, or null if the timeline is empty.
@@ -29264,6 +29783,10 @@

P

Class to capture output from a playback test.
+
playbackParameters - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The currently active PlaybackParameters.
+
PlaybackParameters - Class in com.google.android.exoplayer2
Parameters that apply to playback, including speed setting.
@@ -29298,6 +29821,10 @@

P

The playback state that became active.
+
playbackState - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The state of the player.
+
playbackStateHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The playback state history as EventTimeAndPlaybackStates @@ -29332,6 +29859,10 @@

P

A listener for PlaybackStats updates.
+
playbackSuppressionReason - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The reason why playback is suppressed even if SimpleBasePlayer.getPlayWhenReady() is true.
+
playbackType - Variable in class com.google.android.exoplayer2.DeviceInfo
The type of playback.
@@ -29354,11 +29885,12 @@

P

Player.Command - Annotation Type in com.google.android.exoplayer2
-
Commands that can be executed on a Player.
+
Commands that indicate which method calls are currently permitted on a particular + Player instance.
Player.Commands - Class in com.google.android.exoplayer2
-
A set of commands.
+
A set of commands.
Player.Commands.Builder - Class in com.google.android.exoplayer2
@@ -29374,11 +29906,11 @@

P

Player.Events - Class in com.google.android.exoplayer2
-
A set of events.
+
A set of events.
Player.Listener - Interface in com.google.android.exoplayer2
-
Listener of all changes in the Player.
+
Listener for changes in a Player.
Player.MediaItemTransitionReason - Annotation Type in com.google.android.exoplayer2
@@ -29442,6 +29974,10 @@

P

Handles emsg messages for a specific track for the player.
+
playerError - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The last error that caused playback to fail, or null if there was no error.
+
PlayerId - Class in com.google.android.exoplayer2.analytics
Identifier for a player instance.
@@ -29531,12 +30067,20 @@

P

Deprecated.
Determines when the buffering view is shown.
+
playlist - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The media items in the playlist.
+
PLAYLIST_TYPE_EVENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_VOD - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
+
playlistMetadata - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The playlist MediaMetadata.
+
PlaylistResetException(Uri) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
Creates an instance.
@@ -29646,10 +30190,14 @@

P

populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
 
+
+
Uses the first element in TextInformationFrame.values to set the relevant field in MediaMetadata + (as determined by Id3Frame.id).
+
populateMediaMetadata(MediaMetadata.Builder) - Method in interface com.google.android.exoplayer2.metadata.Metadata.Entry
-
Updates the MediaMetadata.Builder with the type specific values stored in this Entry.
+
Updates the MediaMetadata.Builder with the type-specific values stored in this + Entry.
position - Variable in class com.google.android.exoplayer2.extractor.PositionHolder
@@ -29710,12 +30258,21 @@

P

The cue box anchor positioned by Cue.position.
+
positionDiscontinuityReason - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The reason for the last position discontinuity.
+
PositionHolder - Class in com.google.android.exoplayer2.extractor
Holds a position in the stream.
PositionHolder() - Constructor for class com.google.android.exoplayer2.extractor.PositionHolder
 
+
positionInFirstPeriodUs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The position of the start of this media item relative to the start of the first period + belonging to it, in microseconds.
+
positionInFirstPeriodUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The position of the start of this window relative to the start of the first period belonging @@ -29951,6 +30508,8 @@

P

 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
@@ -29985,6 +30544,10 @@

P

Strategies controlling the layout of input pixels in the output frame.
+
presentationStartTimeMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The start time of the live presentation, in milliseconds since the Unix epoch, or C.TIME_UNSET if unknown or not applicable.
+
presentationStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The start time of the presentation to which this window belongs in milliseconds since the @@ -30816,7 +31379,11 @@

R

readLine() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a line of text.
+
Reads a line of text in UTF-8.
+
+
readLine(Charset) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
+
+
Reads a line of text in charset.
readLittleEndianInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
@@ -30944,6 +31511,10 @@

R

Reads a long value encoded by UTF-8 encoding
+
readUtfCharsetFromBom() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
+
+
Reads a UTF byte order mark (BOM) and returns the UTF Charset it represents.
+
readVorbisCommentHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
Reads a Vorbis comment header.
@@ -31530,6 +32101,8 @@

R

 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
@@ -31592,6 +32165,8 @@

R

 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
+
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
+
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
@@ -31660,7 +32235,7 @@

R

removeAll(@com.google.android.exoplayer2.Player.Command int...) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
-
Removes commands.
+
Removes commands.
removeAll(int...) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
@@ -32110,9 +32685,9 @@

R

"Repeat One" button enabled.
-
repeatCurrentMediaItem() - Method in class com.google.android.exoplayer2.BasePlayer
+
repeatMode - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
-
Repeat the current media item.
+
The Player.RepeatMode used for playback.
RepeatModeActionProvider - Class in com.google.android.exoplayer2.ext.mediasession
@@ -32989,6 +33564,11 @@

R

Runs tasks of the main Looper until a player error occurs.
+
runUntilIsLoading(Player, boolean) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
+
+
Runs tasks of the main Looper until Player.isLoading() matches the expected + value or a playback error occurs.
+
runUntilPendingCommandsAreFullyHandled(ExoPlayer) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until the player completely handled all previously issued @@ -33487,6 +34067,10 @@

S

Seeks back in the current MediaItem by Player.getSeekBackIncrement() milliseconds.
+
seekBackIncrementMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The Player.seekBack() increment in milliseconds.
+
seekForward() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekForward() - Method in class com.google.android.exoplayer2.ForwardingPlayer
@@ -33498,6 +34082,10 @@

S

Seeks forward in the current MediaItem by Player.getSeekForwardIncrement() milliseconds.
+
seekForwardIncrementMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The Player.seekForward() increment in milliseconds.
+
seekMap - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
seekMap - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
@@ -33558,7 +34146,7 @@

S

Attempts to seek the read position to the specified sample index.
-
seekTo(int, long) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
+
seekTo(int, long) - Method in class com.google.android.exoplayer2.BasePlayer
 
seekTo(int, long) - Method in class com.google.android.exoplayer2.ForwardingPlayer
@@ -33568,13 +34156,19 @@

S

Seeks to a position specified in milliseconds in the specified MediaItem.
-
seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
seekTo(int, long, @com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.BasePlayer
+
+
Seeks to a position in the specified MediaItem.
+
+
seekTo(int, long, @com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
+
 
+
seekTo(int, long, @com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
-
seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
+
seekTo(int, long, @com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
-
seekTo(int, long) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
+
seekTo(int, long, @com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
seekTo(long) - Method in class com.google.android.exoplayer2.BasePlayer
 
@@ -34238,6 +34832,11 @@

S

Sets an ActionSchedule to be run by the test runner.
+
setAdBufferedPositionMs(SimpleBasePlayer.PositionSupplier) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the SimpleBasePlayer.PositionSupplier for the estimated position up to which the currently + playing ad is buffered, in milliseconds.
+
setAdErrorListener(AdErrorEvent.AdErrorListener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets a listener for ad errors that will be passed to AdsLoader.addAdErrorListener(AdErrorListener) and @@ -34269,10 +34868,22 @@

S

Sets the MIME types to prioritize for linear ad media.
+
setAdPlaybackState(AdPlaybackState) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
+
+
Sets the AdPlaybackState.
+
setAdPlaybackStates(ImmutableMap<Object, AdPlaybackState>) - Method in class com.google.android.exoplayer2.source.ads.ServerSideAdInsertionMediaSource
Sets the map of ad playback states published by this source.
+
setAdPositionMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current ad playback position in milliseconds.
+
+
setAdPositionMs(SimpleBasePlayer.PositionSupplier) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the SimpleBasePlayer.PositionSupplier for the current ad playback position in milliseconds.
+
setAdPreloadTimeoutMs(long) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the duration in milliseconds for which the player must buffer while preloading an ad @@ -34557,6 +35168,10 @@

S

 
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
+
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current AudioAttributes.
+
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
@@ -34986,6 +35601,11 @@

S

Sets the content of the output buffer, consisting of a Subtitle and associated metadata.
+
setContentBufferedPositionMs(SimpleBasePlayer.PositionSupplier) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the SimpleBasePlayer.PositionSupplier for the estimated position up to which the currently + playing content is buffered, in milliseconds.
+
setContentLength(long) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setContentLength(ContentMetadataMutations, long) - Static method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
@@ -34993,6 +35613,15 @@

S

Adds a mutation to set the ContentMetadata.KEY_CONTENT_LENGTH value, or to remove any existing value if C.LENGTH_UNSET is passed.
+
setContentPositionMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current content playback position in milliseconds.
+
+
setContentPositionMs(SimpleBasePlayer.PositionSupplier) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the SimpleBasePlayer.PositionSupplier for the current content playback position in + milliseconds.
+
setContentSourceId(String) - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionUriBuilder
The stream request content source ID used for on-demand streams.
@@ -35116,6 +35745,18 @@

S

Sets the cues to be displayed by the view.
+
setCurrentAd(int, int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current ad indices, or C.INDEX_UNSET if no ad is playing.
+
+
setCurrentCues(CueGroup) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current cues.
+
+
setCurrentMediaItemIndex(int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current media item index.
+
setCurrentPosition(long) - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
Sets the absolute position in the resource from which the wrapped DataReader reads.
@@ -35241,6 +35882,11 @@

S

Sets the default artwork to display if useArtwork is true and no artwork is present in the media.
+
setDefaultPositionUs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the default position relative to the start of the media item at which to begin + playback, in microseconds.
+
setDefaultRequestProperties(Map<String, String>) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
 
setDefaultRequestProperties(Map<String, String>) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
@@ -35283,6 +35929,10 @@

S

Sets an optional, detailed reason that the view is on top of the player.
+
setDeviceInfo(DeviceInfo) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the DeviceInfo.
+
setDeviceMuted(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated. @@ -35329,6 +35979,10 @@

S

setDeviceVolume(int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
+
setDeviceVolume(int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current device volume.
+
setDeviceVolume(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -35510,10 +36164,23 @@

S

Sets the duration of the video in milliseconds.
+
setDurationUs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the duration of the media item, in microseconds.
+
+
setDurationUs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
+
+
Sets the total duration of the period, in microseconds, or C.TIME_UNSET if unknown.
+
setDurationUs(long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource.Factory
Sets the duration of the silent audio.
+
setElapsedRealtimeEpochOffsetMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the offset between SystemClock.elapsedRealtime() and the time since the Unix + epoch according to the clock of the media origin server.
+
setEnableAudioFloatOutput(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets whether floating point audio should be output when possible.
@@ -35799,6 +36466,10 @@

S

Sets whether to focus the skip button (when available) on Android TV devices.
+
setFocusSkipButtonWhenAvailable(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
+
+
Sets whether to focus the skip button (when available) on Android TV devices.
+
setFolderType(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
@@ -36068,16 +36739,46 @@

S

Sets an int type uniform.
+
setIsBrowsable(Boolean) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
+
+
Sets whether the media is a browsable folder.
+
+
setIsDeviceMuted(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets whether the device is muted.
+
setIsDisabled(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets whether the selection is initially shown as disabled.
+
setIsDynamic(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets whether this media item may change over time, for example a moving live window.
+
+
setIsLoading(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets whether the player is currently loading its source.
+
setIsNetwork(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
+
setIsPlaceholder(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets whether this media item contains placeholder information because the real information + has yet to be loaded.
+
+
setIsPlaceholder(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
+
+
Sets whether this period contains placeholder information because the real information has + yet to be loaded
+
setIsPlayable(Boolean) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets whether the media is playable.
+
setIsSeekable(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets whether it's possible to seek within this media item.
+
setItalic(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setKeepContentOnPlayerReset(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
@@ -36243,6 +36944,10 @@

S

+
setLiveConfiguration(MediaItem.LiveConfiguration) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the active MediaItem.LiveConfiguration, or null if the media item is not live.
+
setLiveMaxOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Deprecated. @@ -36403,6 +37108,10 @@

S

Sets the Looper that must be used for all calls to the transformer and that is used to call listeners on.
+
setManifest(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the manifest of the media item.
+
setManifest(Object) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets a manifest to be used by a FakeMediaSource in the test runner.
@@ -36485,6 +37194,11 @@

S

Sets the maximum playback speed.
+
setMaxSeekToPreviousPositionMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the maximum position for which BasePlayer.seekToPrevious() seeks to the previous item, + in milliseconds.
+
setMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
 
setMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
@@ -36553,6 +37267,14 @@

S

Clears the playlist, adds the specified MediaItem and resets the position to the default position.
+
setMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the MediaItem.
+
+
setMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+
Sets the MediaItem to be used for the concatenated media source.
+
setMediaItem(MediaItem, boolean) - Method in class com.google.android.exoplayer2.BasePlayer
 
setMediaItem(MediaItem, boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
@@ -36585,8 +37307,8 @@

S

setMediaItems(List<MediaItem>) - Method in interface com.google.android.exoplayer2.Player
-
Clears the playlist, adds the specified MediaItems and resets the position to - the default position.
+
Clears the playlist, adds the specified media items and resets the + position to the default position.
setMediaItems(List<MediaItem>, boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
@@ -36596,7 +37318,7 @@

S

setMediaItems(List<MediaItem>, boolean) - Method in interface com.google.android.exoplayer2.Player
-
Clears the playlist and adds the specified MediaItems.
+
Clears the playlist and adds the specified media items.
setMediaItems(List<MediaItem>, boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
@@ -36614,7 +37336,7 @@

S

setMediaItems(List<MediaItem>, int, long) - Method in interface com.google.android.exoplayer2.Player
-
Clears the playlist and adds the specified MediaItems.
+
Clears the playlist and adds the specified media items.
setMediaItems(List<MediaItem>, int, long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
@@ -36636,6 +37358,10 @@

S

Sets the media metadata.
+
setMediaMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the MediaMetadata.
+
setMediaMetadataProvider(MediaSessionConnector.MediaMetadataProvider) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets a provider of metadata to be published to the media session.
@@ -36689,6 +37415,11 @@

S

+
setMediaSourceFactory(MediaSource.Factory) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+ +
setMediaSourceFactory(MediaSource.Factory) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the MediaSource.Factory to be used by the player.
@@ -36744,6 +37475,10 @@

S

 
setMediaSources(List<MediaSource>, int, long) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
+
setMediaType(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
+
+ +
setMediaUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.RequestMetadata.Builder
Sets the URI of the requested media, or null if not known or applicable.
@@ -36870,6 +37605,11 @@

S

Overrides the network type.
+
setNewlyRenderedFirstFrame(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets whether a frame has been rendered for the first time since setting the surface, a + rendering reset, or since the stream being rendered was changed.
+
setNewSourceInfo(Timeline) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Sets a new timeline.
@@ -37117,6 +37857,10 @@

S

setPercentDownloaded(float) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
+
setPeriods(List<SimpleBasePlayer.PeriodData>) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the list of periods in this media item.
+
setPitch(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the target playback pitch.
@@ -37133,6 +37877,10 @@

S

Sets whether to play an ad before the start position when beginning playback.
+
setPlaybackLooper(Looper) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
+
+
Sets the Looper that will be used for playback.
+
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Attempts to set the playback parameters.
@@ -37157,6 +37905,10 @@

S

setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
+
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the currently active PlaybackParameters.
+
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -37201,6 +37953,14 @@

S

setPlaybackSpeed(float, float) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
+
setPlaybackState(@com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the state of the player.
+
+
setPlaybackSuppressionReason(@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the reason why playback is suppressed even if SimpleBasePlayer.getPlayWhenReady() is true.
+
setPlayClearContentWithoutKey(boolean) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets whether clear samples within protected content should be played when keys for the @@ -37266,6 +38026,10 @@

S

setPlayer(Player, Looper) - Method in class com.google.android.exoplayer2.analytics.DefaultAnalyticsCollector
 
+
setPlayerError(PlaybackException) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets last error that caused playback to fail, or null if there was no error.
+
setPlayerId(PlayerId) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the PlayerId of the player using this audio sink.
@@ -37285,6 +38049,10 @@

S

Sets an Player.Listener to be registered to listen to player events.
setPlaylist(List<MediaItem>, MediaMetadata) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
+
setPlaylist(List<SimpleBasePlayer.MediaItemData>) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the list of media items in the playlist.
+
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
@@ -37299,6 +38067,10 @@

S

setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
+
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the playlist MediaMetadata.
+
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -37380,6 +38152,16 @@

S

Sets the cue box anchor positioned by position.
+
setPositionDiscontinuity(@com.google.android.exoplayer2.Player.DiscontinuityReason int, long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Signals that a position discontinuity happened since the last player update and sets the + reason for it.
+
+
setPositionInFirstPeriodUs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the position of the start of this media item relative to the start of the first period + belonging to it, in microseconds.
+
setPositionUs(long) - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
setPositionUs(long) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
@@ -37539,6 +38321,10 @@

S

Sets a listener for preparation events.
+
setPresentationStartTimeMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the start time of the live presentation.
+
setPreviousActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_PREVIOUS.
@@ -37751,6 +38537,12 @@

S

Sets the Player.RepeatMode to be used for playback.
+
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
+
 
+
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the Player.RepeatMode used for playback.
+
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -37763,8 +38555,6 @@

S

 
setRepeatMode(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
-
setRepeatMode(int) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
-
 
SetRepeatMode(String, @com.google.android.exoplayer2.Player.RepeatMode int) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetRepeatMode
 
setRepeatToggleModes(@com.google.android.exoplayer2.util.RepeatModeUtil.RepeatToggleModes int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
@@ -37931,6 +38721,10 @@

S

Sets the Player.seekBack() increment.
+
setSeekBackIncrementMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the Player.seekBack() increment in milliseconds.
+
setSeekBackIncrementMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated. @@ -37945,6 +38739,10 @@

S

Sets the Player.seekForward() increment.
+
setSeekForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the Player.seekForward() increment in milliseconds.
+
setSeekForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated. @@ -38206,6 +39004,10 @@

S

setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
+
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets whether shuffling of media items is enabled.
+
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -38436,6 +39238,10 @@

S

Sets a list of Formats to be used by a FakeMediaSource to create media periods.
+
setSurfaceSize(Size) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the size of the surface onto which the video is being rendered.
+
setTag(Object) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional tag for custom attributes.
@@ -38495,6 +39301,26 @@

S

Sets the resource ID of the theme used to inflate this dialog.
+
setThrowsWhenUsingWrongThread(boolean) - Method in class com.google.android.exoplayer2.analytics.DefaultAnalyticsCollector
+
+
Deprecated. +
Do not use this method and ensure all calls are made from the correct thread.
+
+
+
setThrowsWhenUsingWrongThread(boolean) - Method in class com.google.android.exoplayer2.util.ListenerSet
+
+
Deprecated. +
Do not use this method and ensure all calls are made from the correct thread.
+
+
+
setTileCountHorizontal(int) - Method in class com.google.android.exoplayer2.Format.Builder
+
+ +
+
setTileCountVertical(int) - Method in class com.google.android.exoplayer2.Format.Builder
+
+ +
setTimeBarMinUpdateInterval(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the minimum interval between time bar position updates.
@@ -38503,6 +39329,10 @@

S

Sets the minimum interval between time bar position updates.
+
setTimedMetadata(Metadata) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the most recent timed Metadata.
+
setTimeline(Timeline) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets a Timeline to be used by a FakeMediaSource in the test runner.
@@ -38527,6 +39357,11 @@

S

Sets the input matrix to an identity matrix.
+
setTotalBufferedDurationMs(SimpleBasePlayer.PositionSupplier) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the SimpleBasePlayer.PositionSupplier for the estimated total buffered duration in + milliseconds.
+
setTotalDiscCount(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the total number of discs.
@@ -38562,6 +39397,10 @@

S

Sets the track number.
+
setTracks(Tracks) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the Tracks of this media item.
+
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.ForwardingPlayer
@@ -38574,6 +39413,10 @@

S

setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
+
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the currently active TrackSelectionParameters.
+
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -38653,6 +39496,11 @@

S

Sets the number of bytes searched to find a timestamp for TsExtractor instances created by the factory.
+
setTsSubtitleFormats(List<Format>) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
+
+
Sets a list of subtitle formats to pass to the DefaultTsPayloadReaderFactory used by + TsExtractor instances created by the factory.
+
setTunnelingEnabled(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Sets whether to enable tunneling if possible.
@@ -38666,6 +39514,14 @@

S

Sets the message type forwarded to PlayerMessage.Target.handleMessage(int, Object).
+
setUid(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the unique identifier of this media item within a playlist.
+
+
setUid(Object) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
+
+
Sets the unique identifier of the period within its media item.
+
setUnderline(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setUnplayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
@@ -38974,6 +39830,10 @@

S

 
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
+
setVideoSize(VideoSize) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current video size.
+
setVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a set video surface action.
@@ -39155,6 +40015,11 @@

S

setVolume(float) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
+
setVolume(float) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
+
+
Sets the current audio volume, with 0 being silence and 1 being unity gain (signal + unchanged).
+
setVolume(float) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
@@ -39197,6 +40062,10 @@

S

Sets the fill color of the window.
+
setWindowStartTimeMs(long) - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
+
+
Sets the start time of the live window.
+
setWriter(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the writer.
@@ -39360,6 +40229,10 @@

S

Shows the scrubber handle with animation.
+
shuffleModeEnabled - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
Whether shuffling of media items is enabled.
+
ShuffleOrder - Interface in com.google.android.exoplayer2.source
Shuffled order of indices.
@@ -39428,6 +40301,28 @@

S

Creates the base class.
+
SimpleBasePlayer.MediaItemData - Class in com.google.android.exoplayer2
+
+
An immutable description of an item in the playlist, containing both static setup information + like MediaItem and dynamic data that is generally read from the media like the + duration.
+
+
SimpleBasePlayer.MediaItemData.Builder - Class in com.google.android.exoplayer2
+
+
A builder for SimpleBasePlayer.MediaItemData objects.
+
+
SimpleBasePlayer.PeriodData - Class in com.google.android.exoplayer2
+
+
Data describing the properties of a period inside a SimpleBasePlayer.MediaItemData.
+
+
SimpleBasePlayer.PeriodData.Builder - Class in com.google.android.exoplayer2
+
+
A builder for SimpleBasePlayer.PeriodData objects.
+
+
SimpleBasePlayer.PositionSupplier - Interface in com.google.android.exoplayer2
+
+
A supplier for a position.
+
SimpleBasePlayer.State - Class in com.google.android.exoplayer2
An immutable state description of the player.
@@ -41042,6 +41937,10 @@

S

Creates a new instance.
+
surfaceSize - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The size of the surface onto which the video is being rendered.
+
svcTemporalLayerCount - Variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
The number of layers in the SVC extended frames.
@@ -41230,6 +42129,13 @@

T

Text information ID3 frame.
TextInformationFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
+
+
Deprecated. +
Use TextInformationFrame(String id, String description, String[] values + instead
+
+
+
TextInformationFrame(String, String, List<String>) - Constructor for class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
TextOutput - Interface in com.google.android.exoplayer2.text
@@ -41289,6 +42195,14 @@

T

Creates a rated instance.
+
tileCountHorizontal - Variable in class com.google.android.exoplayer2.Format
+
+
The number of horizontal tiles in an image, or Format.NO_VALUE if not known or applicable.
+
+
tileCountVertical - Variable in class com.google.android.exoplayer2.Format
+
+
The number of vertical tiles in an image, or Format.NO_VALUE if not known or applicable.
+
TIME_END_OF_SOURCE - Static variable in class com.google.android.exoplayer2.C
Special constant representing a time corresponding to the end of a source.
@@ -41306,6 +42220,10 @@

T

Listener for scrubbing events.
+
timedMetadata - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The most recent timed metadata.
+
TimedValueQueue<V> - Class in com.google.android.exoplayer2.util
A utility class to keep a queue of values with timestamps.
@@ -41324,6 +42242,10 @@

T

The Timeline in which the seek was attempted.
+
timeline - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+ +
timeline - Variable in class com.google.android.exoplayer2.source.ForwardingTimeline
 
Timeline - Class in com.google.android.exoplayer2
@@ -41643,7 +42565,11 @@

T

Returns a Bundle representing the information stored in this object.
-
toBundle(boolean) - Method in class com.google.android.exoplayer2.Timeline
+
toBundle(boolean, boolean) - Method in class com.google.android.exoplayer2.Player.PositionInfo
+
+
Returns a Bundle representing the information stored in this object, filtered by + available commands.
+
toBundleArrayList(Collection<T>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a collection of Bundleable to an ArrayList of Bundle so that @@ -41658,6 +42584,10 @@

T

+
toBundleWithOneWindowOnly(int) - Method in class com.google.android.exoplayer2.Timeline
+
+
Returns a Bundle containing just the specified Timeline.Window.
+
toByteArray(InputStream) - Static method in class com.google.android.exoplayer2.util.Util
Converts the entirety of an InputStream to a byte array.
@@ -41842,6 +42772,10 @@

T

Total buffered duration from AnalyticsListener.EventTime.currentPlaybackPositionMs at the time of the event, in milliseconds.
+
totalBufferedDurationMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The SimpleBasePlayer.PositionSupplier for the estimated total buffered duration in milliseconds.
+
totalDiscCount - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional total number of discs.
@@ -42070,6 +43004,10 @@

T

trackOutputs - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
+
tracks - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The Tracks of this media item.
+
tracks - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The indices of the selected tracks in BaseTrackSelection.group, in order of decreasing bandwidth.
@@ -42149,6 +43087,10 @@

T

Constructs an instance to force trackIndices in trackGroup to be selected.
+
trackSelectionParameters - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The currently active TrackSelectionParameters.
+
TrackSelectionParameters - Class in com.google.android.exoplayer2.trackselection
Parameters for controlling track selection.
@@ -42678,6 +43620,14 @@

U

Creates a UdpDataSourceException.
+
uid - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The unique identifier of this media item.
+
+
uid - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
+
+
The unique identifier of the period within its media item.
+
uid - Variable in class com.google.android.exoplayer2.Timeline.Period
A unique identifier for the period.
@@ -43099,6 +44049,10 @@

U

useBoundedDataSpecFor(String) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
+
useDefaultMediaSourceFactory(Context) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
+
+ +
USER_DATA_IDENTIFIER_GA94 - Static variable in class com.google.android.exoplayer2.extractor.CeaUtil
 
USER_DATA_TYPE_CODE_MPEG_CC - Static variable in class com.google.android.exoplayer2.extractor.CeaUtil
@@ -43211,7 +44165,11 @@

V

The value.
value - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
 
+
+
Deprecated. +
Use the first element of TextInformationFrame.values instead.
+
+
value - Variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
The payload.
@@ -43226,6 +44184,10 @@

V

value - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
+
values - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
+
+
The text values of this frame.
+
variableDefinitions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist
Contains variable definitions, as defined by the #EXT-X-DEFINE tag.
@@ -43489,6 +44451,10 @@

V

The size of the video data, in bytes.
+
videoSize - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current video size.
+
VideoSize - Class in com.google.android.exoplayer2.video
Represents the video size.
@@ -43533,6 +44499,10 @@

V

Viewport width in pixels.
+
volume - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
+
+
The current audio volume, with 0 being silence and 1 being unity gain (signal unchanged).
+
VorbisBitArray - Class in com.google.android.exoplayer2.extractor
Wraps a byte array, providing methods that allow it to be read as a Vorbis bitstream.
@@ -43877,6 +44847,10 @@

W

The sequence number of the window in the buffered sequence of windows this media period is part of.
+
windowStartTimeMs - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
+
+
The start time of the live window, in milliseconds since the Unix epoch, or C.TIME_UNSET if unknown or not applicable.
+
windowStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The window's start time in milliseconds since the Unix epoch, or C.TIME_UNSET if @@ -44258,7 +45232,19 @@

Y

yuvStrides - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer