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

AAC_ELD_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Maximum rate for an AAC ELD audio stream, in bytes per second.
AAC_HE_AUDIO_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Number of raw audio samples that are produced per channel when decoding an AAC HE access unit.
AAC_HE_V1_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Maximum rate for an AAC HE V1 audio stream, in bytes per second.
AAC_HE_V2_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Maximum rate for an AAC HE V2 audio stream, in bytes per second.
AAC_LC_AUDIO_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Number of raw audio samples that are produced per channel when decoding an AAC LC access unit.
AAC_LC_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Maximum rate for an AAC LC audio stream, in bytes per second.
AAC_LD_AUDIO_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Number of raw audio samples that are produced per channel when decoding an AAC LD access unit.
AAC_XHE_AUDIO_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Number of raw audio samples that are produced per channel when decoding an AAC XHE access unit.
AAC_XHE_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Maximum rate for an AAC XHE audio stream, in bytes per second.
AacUtil - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AacUtil.AacAudioObjectType - Annotation Type in com.google.android.exoplayer2.audio
Deprecated.
Valid AAC Audio object types.
AacUtil.Config - Class in com.google.android.exoplayer2.audio
Deprecated.
Holds sample format information for AAC audio.
abandonedBeforeReadyCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Deprecated.
The number of playbacks which were abandoned before they were ready to play.
absoluteStreamPosition - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
Use DataSpec.position except for specific use cases where the absolute position within the resource is required within a DataSource chain. Where the absolute position is required, use uriPositionOffset + position.
AbstractConcatenatedTimeline - Class in com.google.android.exoplayer2
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AbstractConcatenatedTimeline(boolean, ShuffleOrder) - Constructor for class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Deprecated.
Sets up a concatenated timeline with a shuffle order of child timelines.
AC3 - Static variable in class com.google.android.exoplayer2.util.FileTypes
Deprecated.
File type for the AC-3 and E-AC-3 formats.
AC3_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
Deprecated.
Maximum rate for an AC-3 audio stream, in bytes per second.
ac3BufferMultiplicationFactor - Variable in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
Deprecated.
The multiplication factor to apply to AC3 passthrough buffer to avoid underruns on some devices (e.g., Broadcom 7271).
Ac3Extractor - Class in com.google.android.exoplayer2.extractor.ts
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Ac3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
Deprecated.
Creates a new extractor for AC-3 bitstreams.
Ac3Reader - Class in com.google.android.exoplayer2.extractor.ts
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Ac3Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Reader
Deprecated.
Constructs a new reader for (E-)AC-3 elementary streams.
Ac3Reader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Reader
Deprecated.
Constructs a new reader for (E-)AC-3 elementary streams.
Ac3Util - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Ac3Util.SyncFrameInfo - Class in com.google.android.exoplayer2.audio
Deprecated.
Holds sample format information as presented by a syncframe header.
Ac3Util.SyncFrameInfo.StreamType - Annotation Type in com.google.android.exoplayer2.audio
Deprecated.
AC3 stream types.
AC4 - Static variable in class com.google.android.exoplayer2.util.FileTypes
Deprecated.
File type for the AC-4 format.
AC40_SYNCWORD - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
Deprecated.
 
AC41_SYNCWORD - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
Deprecated.
 
Ac4Extractor - Class in com.google.android.exoplayer2.extractor.ts
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Ac4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
Deprecated.
Creates a new extractor for AC-4 bitstreams.
Ac4Reader - Class in com.google.android.exoplayer2.extractor.ts
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Ac4Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Reader
Deprecated.
Constructs a new reader for AC-4 elementary streams.
Ac4Reader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Reader
Deprecated.
Constructs a new reader for AC-4 elementary streams.
Ac4Util - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Ac4Util.SyncFrameInfo - Class in com.google.android.exoplayer2.audio
Deprecated.
Holds sample format information as presented by a syncframe header.
accept(T) - Method in interface com.google.android.exoplayer2.util.Consumer
Deprecated.
Performs this operation on the given argument.
acceptConnection(MediaSession, MediaSession.ControllerInfo) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.AllowedCommandProvider
Deprecated.
Called to query whether to allow connection from the controller.
acceptConnection(MediaSession, MediaSession.ControllerInfo) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.DefaultAllowedCommandProvider
Deprecated.
 
accessibilityChannel - Variable in class com.google.android.exoplayer2.Format
Deprecated.
The Accessibility channel, or Format.NO_VALUE if not known or applicable.
accessibilityDescriptors - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Deprecated.
Accessibility descriptors in the adaptation set.
acquire() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
Deprecated.
 
acquire() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Deprecated.
Increments the reference count.
acquire() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Deprecated.
 
acquire() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
acquire(DrmSessionEventListener.EventDispatcher) - Method in interface com.google.android.exoplayer2.drm.DrmSession
Deprecated.
Increments the reference count.
acquire(DrmSessionEventListener.EventDispatcher) - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
Deprecated.
 
acquireExoMediaDrm(UUID) - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.AppManagedProvider
Deprecated.
 
acquireExoMediaDrm(UUID) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.Provider
Deprecated.
Returns an ExoMediaDrm instance with an incremented reference count.
acquireSession(DrmSessionEventListener.EventDispatcher, Format) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Deprecated.
 
acquireSession(DrmSessionEventListener.EventDispatcher, Format) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Deprecated.
Returns a DrmSession for the specified Format, with an incremented reference count.
action - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
Action - Class in com.google.android.exoplayer2.testutil
Base class for actions to perform during playback tests.
Action(String, String) - Constructor for class com.google.android.exoplayer2.testutil.Action
 
ACTION_ADD_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Adds a new download.
ACTION_FAST_FORWARD - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which fast forwards.
ACTION_INIT - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Starts a download service to resume any ongoing downloads.
ACTION_NEXT - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which skips to the next media item.
ACTION_PAUSE - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which pauses playback.
ACTION_PAUSE_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Pauses all downloads.
ACTION_PLAY - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which starts playback.
ACTION_PREVIOUS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which skips to the previous media item.
ACTION_REMOVE_ALL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Removes all downloads.
ACTION_REMOVE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Removes a download.
ACTION_RESUME_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Resumes all downloads except those that have a non-zero Download.stopReason.
ACTION_REWIND - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which rewinds.
ACTION_SET_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Sets the requirements that need to be met for downloads to progress.
ACTION_SET_STOP_REASON - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Sets the stop reason for one or all downloads.
ACTION_STOP - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Deprecated.
The action which stops playback.
Action.AddMediaItems - Class in com.google.android.exoplayer2.testutil
Action.ClearMediaItems - Class in com.google.android.exoplayer2.testutil
Action.ClearVideoSurface - Class in com.google.android.exoplayer2.testutil
Action.ExecuteRunnable - Class in com.google.android.exoplayer2.testutil
Calls Runnable.run().
Action.MoveMediaItem - Class in com.google.android.exoplayer2.testutil
Action.PlayUntilPosition - Class in com.google.android.exoplayer2.testutil
Schedules a play action to be executed, waits until the player reaches the specified position, and pauses the player again.
Action.Prepare - Class in com.google.android.exoplayer2.testutil
Action.RemoveMediaItem - Class in com.google.android.exoplayer2.testutil
Action.RemoveMediaItems - Class in com.google.android.exoplayer2.testutil
Action.Seek - Class in com.google.android.exoplayer2.testutil
Action.SendMessages - Class in com.google.android.exoplayer2.testutil
Action.SetAudioAttributes - Class in com.google.android.exoplayer2.testutil
Action.SetMediaItems - Class in com.google.android.exoplayer2.testutil
Action.SetMediaItemsResetPosition - Class in com.google.android.exoplayer2.testutil
Action.SetPlaybackParameters - Class in com.google.android.exoplayer2.testutil
Action.SetPlayWhenReady - Class in com.google.android.exoplayer2.testutil
Action.SetRendererDisabled - Class in com.google.android.exoplayer2.testutil
Updates the DefaultTrackSelector.Parameters of a DefaultTrackSelector to specify whether the renderer at a given index should be disabled.
Action.SetRepeatMode - Class in com.google.android.exoplayer2.testutil
Action.SetShuffleModeEnabled - Class in com.google.android.exoplayer2.testutil
Action.SetShuffleOrder - Class in com.google.android.exoplayer2.testutil
Action.SetVideoSurface - Class in com.google.android.exoplayer2.testutil
Action.Stop - Class in com.google.android.exoplayer2.testutil
Action.ThrowPlaybackException - Class in com.google.android.exoplayer2.testutil
Throws a playback exception on the playback thread.
Action.WaitForIsLoading - Class in com.google.android.exoplayer2.testutil
Waits for a specified loading state, returning either immediately or after a call to Player.Listener.onIsLoadingChanged(boolean).
Action.WaitForMessage - Class in com.google.android.exoplayer2.testutil
Waits for a player message to arrive.
Action.WaitForPendingPlayerCommands - Class in com.google.android.exoplayer2.testutil
Waits until the player acknowledged all pending player commands.
Action.WaitForPlaybackState - Class in com.google.android.exoplayer2.testutil
Waits for a specified playback state, returning either immediately or after a call to Player.Listener.onPlaybackStateChanged(int).
Action.WaitForPlayWhenReady - Class in com.google.android.exoplayer2.testutil
Waits for a specified playWhenReady value, returning either immediately or after a call to Player.Listener.onPlayWhenReadyChanged(boolean, int).
Action.WaitForPositionDiscontinuity - Class in com.google.android.exoplayer2.testutil
Action.WaitForTimelineChanged - Class in com.google.android.exoplayer2.testutil
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
Deprecated.
 
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Deprecated.
 
ActionSchedule - Class in com.google.android.exoplayer2.testutil
Schedules a sequence of Actions for execution during a test.
ActionSchedule.Builder - Class in com.google.android.exoplayer2.testutil
A builder for ActionSchedule instances.
ActionSchedule.Callback - Interface in com.google.android.exoplayer2.testutil
Callback to notify listener that the action schedule has finished.
ActionSchedule.PlayerRunnable - Class in com.google.android.exoplayer2.testutil
Provides a wrapper for a Runnable which has access to the player.
ActionSchedule.PlayerTarget - Class in com.google.android.exoplayer2.testutil
Provides a wrapper for a PlayerMessage.Target which has access to the player when handling messages.
ActionSchedule.PlayerTarget.Callback - Interface in com.google.android.exoplayer2.testutil
Callback to be called when message arrives.
actualPresentationTimeUs - Variable in exception com.google.android.exoplayer2.audio.AudioSink.UnexpectedDiscontinuityException
Deprecated.
The actual presentation time of a sample, in microseconds.
AD_PERIOD_DURATION_MS - Static variable in class com.google.android.exoplayer2.testutil.FakeMultiPeriodLiveTimeline
 
AD_STATE_AVAILABLE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
State for an ad that has a URL but has not yet been played.
AD_STATE_ERROR - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
State for an ad that could not be loaded.
AD_STATE_PLAYED - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
State for an ad that was played in full.
AD_STATE_SKIPPED - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
State for an ad that was skipped.
AD_STATE_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
State for an ad that does not yet have a URL.
AdaptationCheckpoint(long, long) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.AdaptationCheckpoint
Deprecated.
 
AdaptationSet - Class in com.google.android.exoplayer2.source.dash.manifest
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdaptationSet(long, @com.google.android.exoplayer2.C.TrackType int, List<Representation>, List<Descriptor>, List<Descriptor>, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Deprecated.
 
adaptationSets - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
Deprecated.
The adaptation sets belonging to the period.
adaptive - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Deprecated.
Whether the decoder supports seamless resolution switches.
ADAPTIVE_NOT_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
The Renderer can adapt between formats, but may suffer a brief discontinuity (~50-100ms) when adaptation occurs.
ADAPTIVE_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
The Renderer does not support adaptation between formats.
ADAPTIVE_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
The Renderer can seamlessly adapt between formats.
ADAPTIVE_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
AdaptiveTrackSelection - Class in com.google.android.exoplayer2.trackselection
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdaptiveTrackSelection(TrackGroup, int[], @com.google.android.exoplayer2.trackselection.TrackSelection.Type int, BandwidthMeter, long, long, long, int, int, float, float, List<AdaptiveTrackSelection.AdaptationCheckpoint>, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Deprecated.
 
AdaptiveTrackSelection(TrackGroup, int[], BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Deprecated.
 
AdaptiveTrackSelection.AdaptationCheckpoint - Class in com.google.android.exoplayer2.trackselection
Deprecated.
Checkpoint to determine allocated bandwidth.
AdaptiveTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
Deprecated.
Factory for AdaptiveTrackSelection instances.
adBufferedPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
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
Deprecated.
add(int) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Deprecated.
Adds a flag.
add(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Deprecated.
Register a new task.
add(int, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
Deprecated.
Adds a MediaDescriptionCompat at the given position.
add(long) - Method in class com.google.android.exoplayer2.util.LongArray
Deprecated.
Appends a value.
add(long, V) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Deprecated.
Associates the specified value with the specified timestamp.
add(MediaItem) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
Deprecated.
Adds a MediaItem to the concatenation.
add(MediaItem, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
Deprecated.
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
Deprecated.
Adds a MediaSource to the concatenation.
add(MediaSource, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
Deprecated.
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
Deprecated.
Adds element to the multiset.
add(String, byte[]) - Method in class com.google.android.exoplayer2.testutil.Dumper
 
add(String, Object) - Method in class com.google.android.exoplayer2.testutil.Dumper
 
add(T) - Method in class com.google.android.exoplayer2.util.ListenerSet
Deprecated.
Adds a listener to the set.
addAdGroupToAdPlaybackState(AdPlaybackState, long, long, long...) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideAdInsertionUtil
Deprecated.
Adds a new server-side inserted ad group to an AdPlaybackState.
addAll(@com.google.android.exoplayer2.Player.Command int...) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Deprecated.
Adds commands.
addAll(int...) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Deprecated.
Adds flags.
addAll(Player.Commands) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Deprecated.
addAll(FlagSet) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Deprecated.
Adds flags.
addAllCommands() - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Deprecated.
Adds all existing commands.
addAnalyticsListener(AnalyticsListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Adds an AnalyticsListener to receive analytics events.
addAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addAudioLanguagesToSelection(String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
Convenience method to add selections of tracks for all specified audio languages.
addAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Adds a listener to receive audio offload events.
addAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addDownload(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Deprecated.
Adds a download defined by the given request.
addDownload(DownloadRequest, int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Deprecated.
Adds a download defined by the given request and with the specified stop reason.
addDrmEventListener(Handler, DrmSessionEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Deprecated.
 
addDrmEventListener(Handler, DrmSessionEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Deprecated.
Adds a DrmSessionEventListener to the list of listeners which are notified of DRM events for this media source.
addEventListener(Handler, DrmSessionEventListener) - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
Deprecated.
Adds a listener to the event dispatcher.
addEventListener(Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Deprecated.
 
addEventListener(Handler, MediaSourceEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Deprecated.
Adds a MediaSourceEventListener to the list of listeners which are notified of media source events.
addEventListener(Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Deprecated.
Adds a listener to the event dispatcher.
addEventListener(Handler, BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Deprecated.
addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Deprecated.
 
addEventListener(Handler, BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.experimental.BandwidthEstimator
Deprecated.
addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.experimental.CombinedParallelSampleBandwidthEstimator
Deprecated.
 
addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.experimental.ExperimentalBandwidthMeter
Deprecated.
 
addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.experimental.SplitParallelSampleBandwidthEstimator
Deprecated.
 
addFlag(@com.google.android.exoplayer2.C.BufferFlags int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Deprecated.
Adds the flag to this buffer's flags.
addIf(@com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Deprecated.
Adds a Player.Command if the provided condition is true.
addIf(int, boolean) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Deprecated.
Adds a flag if the provided condition is true.
additionalFailureInfo - Variable in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
AdditionalFailureInfo - Class in com.google.android.exoplayer2.testutil
A JUnit Rule that attaches additional info to any errors/exceptions thrown by the test.
AdditionalFailureInfo() - Constructor for class com.google.android.exoplayer2.testutil.AdditionalFailureInfo
 
addListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener.EventDispatcher
Deprecated.
Adds a listener to the event dispatcher.
addListener(AnalyticsListener) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsCollector
Deprecated.
Adds a listener for analytics events.
addListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.analytics.DefaultAnalyticsCollector
Deprecated.
 
addListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Deprecated.
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
 
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.addListener(Listener) on the delegate.
addListener(Player.Listener) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Registers a listener to receive all events from the player.
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Deprecated.
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Deprecated.
Registers a listener to receive events from the playlist tracker.
addListener(Transformer.Listener) - Method in class com.google.android.exoplayer2.transformer.Transformer
Deprecated.
Adds a Transformer.Listener to listen to the export events.
addListener(Transformer.Listener) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Deprecated.
Adds a Transformer.Listener to listen to the export events.
addListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Deprecated.
 
addListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Deprecated.
Adds a listener for scrubbing events.
addListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Deprecated.
Registers a listener to listen for changes to a given resource.
addListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
 
addMediaItem(int, MediaItem) - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
 
addMediaItem(int, MediaItem) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
addMediaItem(int, MediaItem) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Adds a media item at the given index of the playlist.
addMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
 
addMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.addMediaItem(MediaItem) on the delegate.
addMediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Adds a media item to the end of the playlist.
addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
 
addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.addMediaItems(int, List) on the delegate.
addMediaItems(int, List<MediaItem>) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Adds a list of media items at the given index of the playlist.
addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
addMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
 
addMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.addMediaItems(List) on the delegate.
addMediaItems(List<MediaItem>) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Adds a list of media items to the end of the playlist.
AddMediaItems(String, MediaSource...) - Constructor for class com.google.android.exoplayer2.testutil.Action.AddMediaItems
 
addMediaSource(int, MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Adds a media source at the given index of the playlist.
addMediaSource(int, MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addMediaSource(int, MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Adds a MediaSource to the playlist.
addMediaSource(int, MediaSource) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addMediaSource(int, MediaSource, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Adds a MediaSource to the playlist and executes a custom action on completion.
addMediaSource(MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Adds a media source to the end of the playlist.
addMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Appends a MediaSource to the playlist.
addMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addMediaSource(MediaSource, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Appends a MediaSource to the playlist and executes a custom action on completion.
addMediaSources(int, Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Adds multiple MediaSources to the playlist.
addMediaSources(int, Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Adds multiple MediaSources to the playlist and executes a custom action on completion.
addMediaSources(int, List<MediaSource>) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Adds a list of media sources at the given index of the playlist.
addMediaSources(int, List<MediaSource>) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addMediaSources(int, List<MediaSource>) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addMediaSources(MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a add media items action to be executed.
addMediaSources(Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Appends multiple MediaSources to the playlist.
addMediaSources(Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Appends multiple MediaSources to the playlist and executes a custom action on completion.
addMediaSources(List<MediaSource>) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Adds a list of media sources to the end of the playlist.
addMediaSources(List<MediaSource>) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
addMediaSources(List<MediaSource>) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addMetadata(Metadata) - Method in class com.google.android.exoplayer2.transformer.DefaultMuxer
Deprecated.
 
addMetadata(Metadata) - Method in class com.google.android.exoplayer2.transformer.InAppMuxer
Deprecated.
 
addMetadata(Metadata) - Method in interface com.google.android.exoplayer2.transformer.Muxer
Deprecated.
Adds Metadata about the output file.
addMetadata(String, Object) - Method in class com.google.android.exoplayer2.muxer.Mp4Muxer
Deprecated.
Adds custom metadata.
addOrReplaceSpan(Spannable, Object, int, int, int) - Static method in class com.google.android.exoplayer2.text.span.SpanUtil
Deprecated.
Adds span to spannable between start and end, removing any existing spans of the same type and with the same indices and flags.
addOverride(TrackSelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
 
addOverride(TrackSelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
addOverride(TrackSelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Adds an override, replacing any override for the same TrackGroup.
addPendingHandlerMessage(FakeClock.HandlerMessage) - Method in class com.google.android.exoplayer2.testutil.FakeClock
Adds a message to the list of pending messages.
addPlaylistItem(int, MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
Deprecated.
addSample(int, float) - Method in class com.google.android.exoplayer2.upstream.SlidingPercentile
Deprecated.
Adds a new weighted value.
addSample(long, long) - Method in interface com.google.android.exoplayer2.upstream.experimental.BandwidthStatistic
Deprecated.
Adds a transfer sample to the statistic.
addSample(long, long) - Method in class com.google.android.exoplayer2.upstream.experimental.ExponentialWeightedAverageStatistic
Deprecated.
 
addSample(long, long) - Method in class com.google.android.exoplayer2.upstream.experimental.SlidingPercentileBandwidthStatistic
Deprecated.
 
addSample(long, long) - Method in class com.google.android.exoplayer2.upstream.experimental.SlidingWeightedAverageBandwidthStatistic
Deprecated.
 
addSource(AudioProcessor.AudioFormat, long) - Method in interface com.google.android.exoplayer2.transformer.AudioMixer
Deprecated.
Adds an audio source to mix starting at the given time.
addSupportedMimeTypes(String...) - Method in class com.google.android.exoplayer2.robolectric.ShadowMediaCodecConfig
 
addTextLanguagesToSelection(boolean, String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
Convenience method to add selections of tracks for all specified text languages.
addTime(String, long) - Method in class com.google.android.exoplayer2.testutil.Dumper
 
addTrack(int, Format) - Method in class com.google.android.exoplayer2.muxer.Mp4Muxer
Deprecated.
Adds a track of the given media format.
addTrack(Format) - Method in class com.google.android.exoplayer2.transformer.DefaultMuxer
Deprecated.
 
addTrack(Format) - Method in class com.google.android.exoplayer2.transformer.InAppMuxer
Deprecated.
 
addTrack(Format) - Method in interface com.google.android.exoplayer2.transformer.Muxer
Deprecated.
Adds a track with the specified format.
addTrackSelection(int, TrackSelectionParameters) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
Adds a selection of tracks to be downloaded.
addTrackSelectionForSingleRenderer(int, int, DefaultTrackSelector.Parameters, List<DefaultTrackSelector.SelectionOverride>) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
Convenience method to add a selection of tracks to be downloaded for a single renderer.
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in interface com.google.android.exoplayer2.upstream.DataSource
Deprecated.
Adds a TransferListener to listen to data transfers.
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.PlaceholderDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Deprecated.
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
Deprecated.
 
addVideoFrameProcessingOffset(long) - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
Deprecated.
addVideoSurfaceListener(SphericalGLSurfaceView.VideoSurfaceListener) - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
Deprecated.
addVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Deprecated.
addVisibilityListener(StyledPlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
addWithOverflowDefault(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the sum of two arguments, or a third argument if the result overflows.
addXmp(ByteBuffer) - Method in class com.google.android.exoplayer2.muxer.Mp4Muxer
Deprecated.
Adds xmp data.
AdGroup(long) - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Deprecated.
Creates a new ad group with an unspecified number of ads.
adGroupCount - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
The number of ad groups.
adGroupIndex - Variable in class com.google.android.exoplayer2.Player.PositionInfo
Deprecated.
The ad group index if the playback position is within an ad, C.INDEX_UNSET otherwise.
adGroupIndex - Variable in class com.google.android.exoplayer2.source.MediaPeriodId
Deprecated.
If the media period is in an ad group, the index of the ad group in the period.
adIndexInAdGroup - Variable in class com.google.android.exoplayer2.Player.PositionInfo
Deprecated.
The index of the ad within the ad group if the playback position is within an ad, C.INDEX_UNSET otherwise.
adIndexInAdGroup - Variable in class com.google.android.exoplayer2.source.MediaPeriodId
Deprecated.
If the media period is in an ad group, the index of the ad in its ad group in the period.
adjustHue(float) - Method in class com.google.android.exoplayer2.effect.HslAdjustment.Builder
Deprecated.
Rotates the hue of the frame by hueAdjustmentDegrees.
adjustLightness(float) - Method in class com.google.android.exoplayer2.effect.HslAdjustment.Builder
Deprecated.
Adjusts the lightness of the frame by lightnessAdjustment.
adjustReleaseTime(long) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Deprecated.
Adjusts the release timestamp for the next frame.
adjustSampleTimestamp(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Deprecated.
Offsets a timestamp in microseconds.
adjustSaturation(float) - Method in class com.google.android.exoplayer2.effect.HslAdjustment.Builder
Deprecated.
Adjusts the saturation of the frame by saturationAdjustment.
adjustTsTimestamp(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Deprecated.
Scales and offsets an MPEG-2 TS presentation timestamp considering wraparound.
AdOverlayInfo - Class in com.google.android.exoplayer2.ui
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdOverlayInfo(View, @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int) - Constructor for class com.google.android.exoplayer2.ui.AdOverlayInfo
Deprecated.
AdOverlayInfo(View, @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int, String) - Constructor for class com.google.android.exoplayer2.ui.AdOverlayInfo
Deprecated.
AdOverlayInfo.Builder - Class in com.google.android.exoplayer2.ui
Deprecated.
A builder for AdOverlayInfo instances.
AdOverlayInfo.Purpose - Annotation Type in com.google.android.exoplayer2.ui
Deprecated.
The purpose of the overlay.
adPlaybackCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Deprecated.
The number of ad playbacks.
adPlaybackState - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
Deprecated.
The AdPlaybackState of the period, or AdPlaybackState.NONE if there are no ads.
AdPlaybackState - Class in com.google.android.exoplayer2.source.ads
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdPlaybackState(Object, long...) - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
Creates a new ad playback state with the specified ad group times.
AdPlaybackState.AdGroup - Class in com.google.android.exoplayer2.source.ads
Deprecated.
Represents a group of ads, with information about their states.
AdPlaybackState.AdState - Annotation Type in com.google.android.exoplayer2.source.ads
Deprecated.
Represents the state of an ad in an ad group.
adPlaybackStates - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
adPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
The SimpleBasePlayer.PositionSupplier for the current ad playback position in milliseconds.
adResumePositionUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
The position offset in the first unplayed ad at which to begin playback, in microseconds.
adsConfiguration - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
Deprecated.
Optional ads configuration.
adsId - Variable in class com.google.android.exoplayer2.MediaItem.AdsConfiguration
Deprecated.
An opaque identifier for ad playback state associated with this item, or null if the combination of the media ID and ad tag URI should be used as the ads identifier.
adsId - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
The opaque identifier for ads with which this instance is associated, or null if unset.
AdsLoader - Interface in com.google.android.exoplayer2.source.ads
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdsLoader.EventListener - Interface in com.google.android.exoplayer2.source.ads
Deprecated.
Listener for ads loader events.
AdsLoader.Provider - Interface in com.google.android.exoplayer2.source.ads
Deprecated.
Provides AdsLoader instances for media items that have ad tag URIs.
AdsMediaSource - Class in com.google.android.exoplayer2.source.ads
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdsMediaSource(MediaSource, DataSpec, Object, MediaSource.Factory, AdsLoader, AdViewProvider) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
Deprecated.
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
AdsMediaSource.AdLoadException - Exception in com.google.android.exoplayer2.source.ads
Deprecated.
Wrapper for exceptions that occur while loading ads, which are notified via MediaSourceEventListener.onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean).
AdsMediaSource.AdLoadException.Type - Annotation Type in com.google.android.exoplayer2.source.ads
Deprecated.
Types of ad load exceptions.
adTagUri - Variable in class com.google.android.exoplayer2.MediaItem.AdsConfiguration
Deprecated.
The ad tag URI to load.
ADTS - Static variable in class com.google.android.exoplayer2.util.FileTypes
Deprecated.
File type for the ADTS format.
AdtsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdtsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Deprecated.
Creates a new extractor for ADTS bitstreams.
AdtsExtractor(@com.google.android.exoplayer2.extractor.ts.AdtsExtractor.Flags int) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Deprecated.
Creates a new extractor for ADTS bitstreams.
AdtsExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
Deprecated.
Flags controlling the behavior of the extractor.
AdtsReader - Class in com.google.android.exoplayer2.extractor.ts
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AdtsReader(boolean) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsReader
Deprecated.
 
AdtsReader(boolean, String) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsReader
Deprecated.
 
advanceNowUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeMultiPeriodLiveTimeline
Advances the live window by the given duration, in microseconds.
advancePeekPosition(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
Deprecated.
 
advancePeekPosition(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Deprecated.
Advances the peek position by length bytes.
advancePeekPosition(int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
Deprecated.
 
advancePeekPosition(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
Deprecated.
 
advancePeekPosition(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Deprecated.
Advances the peek position by length bytes.
advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
Deprecated.
 
advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
advanceTime(long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
Advance timestamp of FakeClock by the specified duration.
AdViewProvider - Interface in com.google.android.exoplayer2.ui
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AesCipherDataSink - Class in com.google.android.exoplayer2.upstream.crypto
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AesCipherDataSink(byte[], DataSink) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
Deprecated.
Create an instance whose write methods have the side effect of overwriting the input data.
AesCipherDataSink(byte[], DataSink, byte[]) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
Deprecated.
Create an instance whose write methods are free of side effects.
AesCipherDataSource - Class in com.google.android.exoplayer2.upstream.crypto
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AesCipherDataSource(byte[], DataSource) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
Deprecated.
 
AesFlushingCipher - Class in com.google.android.exoplayer2.upstream.crypto
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AesFlushingCipher(int, byte[], long, long) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
Deprecated.
 
AesFlushingCipher(int, byte[], String, long) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
Deprecated.
 
after() - Method in class com.google.android.exoplayer2.robolectric.ShadowMediaCodecConfig
 
after() - Method in class com.google.android.exoplayer2.testutil.HttpDataSourceTestEnv
 
albumArtist - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional album artist.
albumTitle - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional album title.
alignVideoSizeV21(int, int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Deprecated.
Returns the smallest video size greater than or equal to a specified size that also satisfies the MediaCodec's width and height alignment requirements.
ALL_PLAYBACK_ACTIONS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Deprecated.
 
allocate() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Deprecated.
Obtain an Allocation.
allocate() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
Deprecated.
 
allocatedBandwidth - Variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.AdaptationCheckpoint
Deprecated.
Allocated bandwidth at this checkpoint in bits per second.
Allocation - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Allocation(byte[], int) - Constructor for class com.google.android.exoplayer2.upstream.Allocation
Deprecated.
 
Allocator - Interface in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Allocator.AllocationNode - Interface in com.google.android.exoplayer2.upstream
Deprecated.
A node in a chain of Allocations.
ALLOW_CAPTURE_BY_ALL - Static variable in class com.google.android.exoplayer2.C
Deprecated.
ALLOW_CAPTURE_BY_NONE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
ALLOW_CAPTURE_BY_SYSTEM - Static variable in class com.google.android.exoplayer2.C
Deprecated.
allowAudioMixedChannelCountAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive audio selections containing mixed channel counts.
allowAudioMixedDecoderSupportAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive audio selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
allowAudioMixedMimeTypeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive audio selections containing mixed MIME types.
allowAudioMixedSampleRateAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive audio selections containing mixed sample rates.
allowedCapturePolicy - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
Deprecated.
allowingSchemeDatas(List<DrmInitData.SchemeData>...) - Static method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.LicenseServer
 
allowInvalidateSelectionsOnRendererCapabilitiesChange - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow to invalidate selections on renderer capabilities change.
allowMultipleAdaptiveSelections - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether multiple adaptive selections with more than one track are allowed.
allowVideoMixedDecoderSupportAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive video selections with mixed levels of RendererCapabilities.DecoderSupport and RendererCapabilities.HardwareAccelerationSupport.
allowVideoMixedMimeTypeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive video selections containing mixed MIME types.
allowVideoNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to allow adaptive video selections where adaptation may not be completely seamless.
allSamplesAreSyncSamples(String, String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
Returns true if it is known that all samples in a stream of the given MIME type and codec are guaranteed to be sync samples (i.e., C.BUFFER_FLAG_KEY_FRAME is guaranteed to be set on every sample).
alpha - Variable in class com.google.android.exoplayer2.effect.OverlaySettings
Deprecated.
 
AMR - Static variable in class com.google.android.exoplayer2.util.FileTypes
Deprecated.
File type for the AMR format.
AmrExtractor - Class in com.google.android.exoplayer2.extractor.amr
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AmrExtractor() - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Deprecated.
 
AmrExtractor(@com.google.android.exoplayer2.extractor.amr.AmrExtractor.Flags int) - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Deprecated.
 
AmrExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.amr
Deprecated.
Flags controlling the behavior of the extractor.
AnalyticsCollector - Interface in com.google.android.exoplayer2.analytics
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AnalyticsListener - Interface in com.google.android.exoplayer2.analytics
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AnalyticsListener.EventFlags - Annotation Type in com.google.android.exoplayer2.analytics
Deprecated.
Events that can be reported via AnalyticsListener.onEvents(Player, Events).
AnalyticsListener.Events - Class in com.google.android.exoplayer2.analytics
Deprecated.
AnalyticsListener.EventTime - Class in com.google.android.exoplayer2.analytics
Deprecated.
Time information of an event.
anchor - Variable in class com.google.android.exoplayer2.effect.OverlaySettings
Deprecated.
 
ANCHOR_TYPE_END - Static variable in class com.google.android.exoplayer2.text.Cue
Deprecated.
Anchors the right (for horizontal positions) or bottom (for vertical positions) edge of the cue box.
ANCHOR_TYPE_MIDDLE - Static variable in class com.google.android.exoplayer2.text.Cue
Deprecated.
Anchors the middle of the cue box.
ANCHOR_TYPE_START - Static variable in class com.google.android.exoplayer2.text.Cue
Deprecated.
Anchors the left (for horizontal positions) or top (for vertical positions) edge of the cue box.
andFlags(int) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.AndSpanFlags
Checks that one of the matched spans has the expected flags.
AnnexBToAvccConverter - Interface in com.google.android.exoplayer2.muxer
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ApicFrame - Class in com.google.android.exoplayer2.metadata.id3
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ApicFrame(String, String, int, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ApicFrame
Deprecated.
 
APP_ID_DEFAULT_RECEIVER_WITH_DRM - Static variable in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
Deprecated.
App id that points to the Default Media Receiver app with basic DRM support.
append(List<FakeSampleStream.FakeSampleStreamItem>) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Appends FakeSampleStreamItems to the list of items that should be written to the queue.
appendReadAction(Runnable) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Appends an action.
appendReadData(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Appends to the underlying data.
appendReadData(int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Appends a data segment of the specified length.
appendReadError(IOException) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Appends an error in the underlying data.
AppInfoTable - Class in com.google.android.exoplayer2.metadata.dvbsi
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AppInfoTable(int, String) - Constructor for class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
Deprecated.
 
AppInfoTableDecoder - Class in com.google.android.exoplayer2.metadata.dvbsi
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AppInfoTableDecoder() - Constructor for class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTableDecoder
Deprecated.
 
APPLICATION_AIT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_CAMERA_MOTION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_CEA708 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_DVBSUBS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_EMSG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_EXIF - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_ICY - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_ID3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_INFORMATION_TABLE_ID - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTableDecoder
Deprecated.
See table 16 in section 5.3.4.6.
APPLICATION_M3U8 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_MATROSKA - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_MP4CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_MP4VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_MPD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_PGS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_RAWCC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
RawCC is a Google-internal subtitle format that isn't supported by this version of Media3. There is no replacement for this value.
APPLICATION_RTSP - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_SCTE35 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_SS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_SUBRIP - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_TTML - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_TX3G - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_VOBSUB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
APPLICATION_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
apply(Action) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules an action.
apply(Statement, Description) - Method in class com.google.android.exoplayer2.testutil.AdditionalFailureInfo
 
applyContentMetadataMutations(String, ContentMetadataMutations) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Deprecated.
Applies mutations to the ContentMetadata for the given resource.
applyContentMetadataMutations(String, ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
 
applyPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.AudioProcessorChain
Deprecated.
Configures audio processors to apply the specified playback parameters immediately, returning the new playback parameters, which may differ from those passed in.
applyPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
Deprecated.
 
applySkipSilenceEnabled(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioProcessorChain
Deprecated.
Configures audio processors to apply whether to skip silences immediately, returning the new value.
applySkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
Deprecated.
 
AppManagedProvider(ExoMediaDrm) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.AppManagedProvider
Deprecated.
Creates an instance that provides the given ExoMediaDrm.
areEqual(Object, Object) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Tests two objects for Object.equals(Object) equality, handling the case where one or both may be null.
artist - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional artist.
ARTWORK_DISPLAY_MODE_FILL - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerView
Deprecated.
The artwork covers the entire space of the player view.
ARTWORK_DISPLAY_MODE_FIT - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerView
Deprecated.
The artwork is fit into the player view and centered creating a letterbox style.
ARTWORK_DISPLAY_MODE_OFF - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerView
Deprecated.
No artwork is shown.
artworkData - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional artwork data as a compressed byte array.
artworkDataType - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional MediaMetadata.PictureType of the artwork data.
artworkUri - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional artwork Uri.
ASPECT_RATIO_IDC_VALUES - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Deprecated.
Aspect ratios indexed by aspect_ratio_idc, in H.264 and H.265 SPSs.
AspectRatioFrameLayout - Class in com.google.android.exoplayer2.ui
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AspectRatioFrameLayout(Context) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Deprecated.
 
AspectRatioFrameLayout(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Deprecated.
 
AspectRatioFrameLayout.AspectRatioListener - Interface in com.google.android.exoplayer2.ui
Deprecated.
Listener to be notified about changes of the aspect ratios of this view.
AspectRatioFrameLayout.ResizeMode - Annotation Type in com.google.android.exoplayer2.ui
Deprecated.
Resize modes for AspectRatioFrameLayout.
assertAdGroupCounts(Timeline, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that periods' Timeline.Period.getAdGroupCount() are set correctly.
assertAllBehaviors(ExtractorAsserts.ExtractorFactory, String) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Asserts that an extractor behaves correctly given valid input data.
assertAllBehaviors(ExtractorAsserts.ExtractorFactory, String, String) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Asserts that an extractor behaves correctly given valid input data: Calls Extractor.seek(long, long) and Extractor.release() without calling Extractor.init(ExtractorOutput) to check these calls do not fail.
assertBehavior(ExtractorAsserts.ExtractorFactory, String, ExtractorAsserts.AssertionConfig, ExtractorAsserts.SimulationConfig) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Asserts that an extractor consumes valid input data successfully successfully under the conditions specified by simulationConfig.
assertBehavior(ExtractorAsserts.ExtractorFactory, String, ExtractorAsserts.SimulationConfig) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Asserts that an extractor consumes valid input data successfully under the conditions specified by simulationConfig.
assertBitmapsAreSimilar(Bitmap, Bitmap, double) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Asserts whether actual bitmap is very similar to the expected bitmap at some quality level.
assertBufferInfosEqual(MediaCodec.BufferInfo, MediaCodec.BufferInfo) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns whether two BufferInfos are equal.
assertCachedData(Cache, CacheAsserts.RequestSet) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
Asserts that the cache contains necessary data for the requestSet.
assertCachedData(Cache, FakeDataSet) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
Asserts that the cache content is equal to the data in the fakeDataSet.
assertCacheEmpty(Cache) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
Asserts that the cache is empty.
assertCompletedManifestLoads(Integer...) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Asserts that the media source reported completed loads via MediaSourceEventListener.onLoadCompleted(int, MediaPeriodId, LoadEventInfo, MediaLoadData) for each specified window index and a null period id.
assertCompletedMediaPeriodLoads(MediaSource.MediaPeriodId...) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Asserts that the media source reported completed loads via MediaSourceEventListener.onLoadCompleted(int, MediaPeriodId, LoadEventInfo, MediaLoadData) for each specified media period id, and asserts that the associated window index matches the one in the last known timeline returned from MediaSourceTestRunner.prepareSource(), MediaSourceTestRunner.assertTimelineChange() or MediaSourceTestRunner.assertTimelineChangeBlocking().
assertConsecutiveDroppedBufferLimit(String, DecoderCounters, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
 
assertDataCached(Cache, DataSpec, byte[]) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
Asserts that the cache contains the given data for dataSpec.
assertDataSourceContent(DataSource, DataSpec, byte[], boolean) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Asserts that data read from a DataSource matches expected.
assertDroppedBufferLimit(String, DecoderCounters, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
 
assertEmpty(Timeline) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Assert that timeline is empty (i.e.
assertEqualNextWindowIndices(Timeline, Timeline, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that next window indices for each window of the actual timeline are equal to the indices of the expected timeline depending on the repeat mode and the shuffle mode.
assertEqualPreviousWindowIndices(Timeline, Timeline, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that previous window indices for each window of the actual timeline are equal to the indices of the expected timeline depending on the repeat mode and the shuffle mode.
assertEqualsExceptIdsAndManifest(Timeline, Timeline) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
assertExtensionRendererCreated(Class<? extends Renderer>, @com.google.android.exoplayer2.C.TrackType int) - Static method in class com.google.android.exoplayer2.testutil.DefaultRenderersFactoryAsserts
Asserts that an extension renderer of type clazz is not instantiated for DefaultRenderersFactory.EXTENSION_RENDERER_MODE_OFF, and that it's instantiated in the correct position relative to other renderers of the same type for DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON and DefaultRenderersFactory.EXTENSION_RENDERER_MODE_PREFER, assuming no other extension renderers can be loaded.
assertGetStreamKeysAndManifestFilterIntegration(MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T>, T) - Static method in class com.google.android.exoplayer2.testutil.MediaPeriodAsserts
Asserts that the values returns by MediaPeriod.getStreamKeys(List) are compatible with a FilterableManifest using these stream keys.
assertGetStreamKeysAndManifestFilterIntegration(MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T>, T, int, String) - Static method in class com.google.android.exoplayer2.testutil.MediaPeriodAsserts
Asserts that the values returns by MediaPeriod.getStreamKeys(List) are compatible with a FilterableManifest using these stream keys.
Assertions - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ASSERTIONS_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Deprecated.
Whether the library was compiled with Assertions checks enabled.
assertMediaPeriodCreated(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Assert that a media period for the given id has been created.
assertNextWindowIndices(Timeline, @com.google.android.exoplayer2.Player.RepeatMode int, boolean, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that next window indices for each window depending on the repeat mode and the shuffle mode are equal to the given sequence.
assertNoPositionDiscontinuities() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
assertNoTimelineChange() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Asserts that the source has not notified its listener of a timeline change since the last call to MediaSourceTestRunner.assertTimelineChangeBlocking() or MediaSourceTestRunner.assertTimelineChange() (or since the runner was created if neither method has been called).
assertOutput(Context, Dumper.Dumpable, String) - Static method in class com.google.android.exoplayer2.testutil.DumpFileAsserts
Asserts that the dump output of actual is equal to the contents of dumpFile in the DumpFileAsserts.DEFAULT_TEST_ASSET_DIRECTORY.
assertOutput(Context, Dumper.Dumpable, String, String) - Static method in class com.google.android.exoplayer2.testutil.DumpFileAsserts
Asserts that the dump output of actual is equal to the contents of dumpFile in the assetDirectory.
assertOutput(Context, String, String) - Static method in class com.google.android.exoplayer2.testutil.DumpFileAsserts
Asserts that actual is equal to the contents of dumpFile in the DumpFileAsserts.DEFAULT_TEST_ASSET_DIRECTORY.
assertOutput(Context, String, String, String) - Static method in class com.google.android.exoplayer2.testutil.DumpFileAsserts
Asserts that actual is equal to the contents of dumpFile in assetDirectory.
assertPassed(DecoderCounters, DecoderCounters) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
assertPeriodCounts(Timeline, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that period counts for each window are set correctly.
assertPeriodDurations(Timeline, long...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that the durations of the periods in the Timeline and the durations in the given sequence are equal.
assertPeriodEqualsExceptIds(Timeline.Period, Timeline.Period) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that periods are equal except Timeline.Period.id and Timeline.Period.uid.
assertPlaybackStatesEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the playback states reported by Player.Listener.onPlaybackStateChanged(int) are equal to the provided playback states.
assertPlayedPeriodIndices(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the indices of played periods is equal to the provided list of periods.
assertPositionDiscontinuityReasonsEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the discontinuity reasons reported by Player.Listener.onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, int) are equal to the provided values.
assertPrepareAndReleaseAllPeriods() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Creates and releases all periods (including ad periods) defined in the last timeline to be returned from MediaSourceTestRunner.prepareSource(), MediaSourceTestRunner.assertTimelineChange() or MediaSourceTestRunner.assertTimelineChangeBlocking().
assertPreviousWindowIndices(Timeline, @com.google.android.exoplayer2.Player.RepeatMode int, boolean, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that previous window indices for each window depending on the repeat mode and the shuffle mode are equal to the given sequence.
assertReadData(DataSource, DataSpec, byte[]) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
Asserts that the read data from dataSource specified by dataSpec is equal to expected or not.
assertReleased() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Assert that the source and all periods have been released.
assertRemoved(String) - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
Asserts that the specified download is removed.
assertSample(int, byte[], long, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
assertSampleCount(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
assertSkippedOutputBufferCount(String, DecoderCounters, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
 
assertSniff(Extractor, FakeExtractorInput, boolean) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Asserts that Extractor.sniff(ExtractorInput) returns the expectedResult for a given input, retrying repeatedly when FakeExtractorInput.SimulatedIOException is thrown.
assertState(String, @com.google.android.exoplayer2.offline.Download.State int) - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
Asserts that the specified download transitions to the specified state.
assertThat(Spanned) - Static method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Convenience method to create a SpannedSubject.
assertTimelineChange() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Asserts that the source has notified its listener of a single timeline change.
assertTimelineChangeBlocking() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Asserts that the source notifies its listener of a single timeline change.
assertTimelineChangeReasonsEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the timeline change reasons reported by Player.Listener.onTimelineChanged(Timeline, int) are equal to the provided timeline change reasons.
assertTimelinesSame(Timeline...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the timelines reported by Player.Listener.onTimelineChanged(Timeline, int) are the same to the provided timelines.
assertTimelinesSame(List<Timeline>, List<Timeline>) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Asserts that the actual timelines are the same to the expected timelines.
assertTotalBufferCount(String, DecoderCounters) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
Asserts that the input and output values in counters are self-consistent.
assertTotalBufferCount(String, DecoderCounters, int, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
 
assertTrackGroups(MediaPeriod, TrackGroupArray) - Static method in class com.google.android.exoplayer2.testutil.MediaPeriodAsserts
Prepares the MediaPeriod and asserts that it provides the specified track groups.
assertVideoFrameProcessingOffsetSampleCount(String, DecoderCounters, int, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
 
assertWindowEqualsExceptUidAndManifest(Timeline.Window, Timeline.Window) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that windows are equal except Timeline.Window.uid and Timeline.Window.manifest.
assertWindowIsDynamic(Timeline, boolean...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that window properties Timeline.Window.isDynamic are set correctly.
assertWindowTags(Timeline, Object...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
Asserts that window tags are set correctly.
AssetContentProvider - Class in com.google.android.exoplayer2.testutil
A ContentProvider for reading asset data.
AssetContentProvider() - Constructor for class com.google.android.exoplayer2.testutil.AssetContentProvider
 
AssetDataSource - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AssetDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
Deprecated.
 
AssetDataSource.AssetDataSourceException - Exception in com.google.android.exoplayer2.upstream
Deprecated.
Thrown when an IOException is encountered reading a local asset.
AssetDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException
AssetDataSourceException(Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException
Deprecated.
Creates a new instance.
assetIdentifier - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
Deprecated.
The asset identifier for this period, if one exists
AssetLoader - Interface in com.google.android.exoplayer2.transformer
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AssetLoader.Factory - Interface in com.google.android.exoplayer2.transformer
Deprecated.
A factory for AssetLoader instances.
AssetLoader.Listener - Interface in com.google.android.exoplayer2.transformer
Deprecated.
A listener of AssetLoader events.
AssetLoader.SupportedOutputTypes - Annotation Type in com.google.android.exoplayer2.transformer
Deprecated.
Supported output types of an asset loader.
AtomicFile - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AtomicFile(File) - Constructor for class com.google.android.exoplayer2.util.AtomicFile
Deprecated.
Create a new AtomicFile for a file located at the given File path.
attemptMerge(RangedUri, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Deprecated.
Attempts to merge this RangedUri with another and an optional common base uri.
AUDIO_AAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_AC4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_ALAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_ALAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_AMR - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_AMR_NB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_AMR_WB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
AUDIO_CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
Deprecated.
AUDIO_CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
Deprecated.
AUDIO_CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
Deprecated.
AUDIO_CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Deprecated.
AUDIO_DTS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_DTS_EXPRESS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_DTS_HD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_DTS_X - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_E_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_EXOPLAYER_MIDI - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_FLAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_FORMAT - Static variable in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
A generic audio Format which can be used to set up a FakeMediaSource.
AUDIO_MATROSKA - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MIDI - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MLAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MPEG_L1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MPEG_L2 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MPEGH_MHA1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MPEGH_MHM1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_MSGSM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_OBJECT_TYPE_AAC_ELD - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
 
AUDIO_OBJECT_TYPE_AAC_ER_BSAC - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
 
AUDIO_OBJECT_TYPE_AAC_LC - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
 
AUDIO_OBJECT_TYPE_AAC_PS - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
 
AUDIO_OBJECT_TYPE_AAC_SBR - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
 
AUDIO_OBJECT_TYPE_AAC_XHE - Static variable in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
 
AUDIO_OGG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_OPUS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_RAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_SESSION_ID_UNSET - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Represents an unset AudioTrack session identifier.
AUDIO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
Deprecated.
 
AUDIO_STREAM_MASK - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
Deprecated.
 
AUDIO_TRUEHD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_UNKNOWN - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_VORBIS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_WAV - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
AUDIO_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
audioAttributes - Variable in class com.google.android.exoplayer2.audio.AudioAttributes.AudioAttributesV21
Deprecated.
 
audioAttributes - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
The current AudioAttributes.
AudioAttributes - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioAttributes.AudioAttributesV21 - Class in com.google.android.exoplayer2.audio
Deprecated.
A direct wrapper around AudioAttributes.
AudioAttributes.Builder - Class in com.google.android.exoplayer2.audio
Deprecated.
Builder for AudioAttributes.
audioBitDepth - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
AudioCapabilities - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioCapabilities(int[], int) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilities
Deprecated.
Constructs new audio capabilities based on a set of supported encodings and a maximum channel count.
AudioCapabilitiesReceiver - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioCapabilitiesReceiver(Context, AudioCapabilitiesReceiver.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
Deprecated.
 
AudioCapabilitiesReceiver.Listener - Interface in com.google.android.exoplayer2.audio
Deprecated.
Listener notified when audio capabilities change.
audioCodecError(Exception) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
Deprecated.
audioDecoderName - Variable in class com.google.android.exoplayer2.transformer.ExportResult.ProcessedInput
Deprecated.
The name of the audio decoder used to process mediaItem.
audioDecoderName - Variable in class com.google.android.exoplayer2.transformer.TransformationResult.ProcessedInput
Deprecated.
The name of the audio decoder used to process mediaItem.
audioEncoderName - Variable in class com.google.android.exoplayer2.transformer.ExportResult
Deprecated.
The name of the audio encoder used, or null if none were used.
audioEncoderName - Variable in class com.google.android.exoplayer2.transformer.TransformationResult
Deprecated.
The name of the audio encoder used, or null if none were used.
AudioFormat(int, int, @com.google.android.exoplayer2.C.PcmEncoding int) - Constructor for class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
Deprecated.
 
audioFormatHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Deprecated.
The audio format history as EventTimeAndFormats ordered by EventTime.realTimeMs.
audioGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
Deprecated.
The AUDIO value as defined in the EXT-X-STREAM-INF tag, or null if the AUDIO attribute is not present.
audioGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant
Deprecated.
The audio rendition group referenced by this variant, or null.
audioMimeType - Variable in class com.google.android.exoplayer2.transformer.TransformationRequest
Deprecated.
The requested output audio sample MIME type, or null if inferred from the input.
AudioMixer - Interface in com.google.android.exoplayer2.transformer
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
audioNeedsEncoding() - Method in interface com.google.android.exoplayer2.transformer.Codec.EncoderFactory
Deprecated.
Returns whether the audio needs to be encoded because of encoder specific configuration.
AudioProcessingPipeline - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioProcessingPipeline(ImmutableList<AudioProcessor>) - Constructor for class com.google.android.exoplayer2.audio.AudioProcessingPipeline
Deprecated.
Creates an instance.
AudioProcessor - Interface in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioProcessor.AudioFormat - Class in com.google.android.exoplayer2.audio
Deprecated.
PCM audio format that may be handled by an audio processor.
AudioProcessor.UnhandledAudioFormatException - Exception in com.google.android.exoplayer2.audio
Deprecated.
Exception thrown when the given AudioProcessor.AudioFormat can not be handled.
AudioProcessorChain - Interface in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
audioProcessors - Variable in class com.google.android.exoplayer2.transformer.Effects
Deprecated.
The list of audio processors to apply to audio buffers.
AudioRendererEventListener - Interface in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.audio
Deprecated.
Dispatches events to an AudioRendererEventListener.
audios - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist
Deprecated.
The audio renditions declared by the playlist.
AudioSink - Interface in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AudioSink.ConfigurationException - Exception in com.google.android.exoplayer2.audio
Deprecated.
Thrown when a failure occurs configuring the sink.
AudioSink.InitializationException - Exception in com.google.android.exoplayer2.audio
Deprecated.
Thrown when a failure occurs initializing the sink.
AudioSink.Listener - Interface in com.google.android.exoplayer2.audio
Deprecated.
Listener for audio sink events.
AudioSink.SinkFormatSupport - Annotation Type in com.google.android.exoplayer2.audio
Deprecated.
The level of support the sink provides for a format.
AudioSink.UnexpectedDiscontinuityException - Exception in com.google.android.exoplayer2.audio
Deprecated.
Thrown when the sink encounters an unexpected timestamp discontinuity.
AudioSink.WriteException - Exception in com.google.android.exoplayer2.audio
Deprecated.
Thrown when a failure occurs writing to the sink.
audioSinkError(Exception) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
Deprecated.
audioTrackState - Variable in exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
Deprecated.
The underlying AudioTrack's state.
autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Deprecated.
If SpliceInsertCommand.breakDurationUs is not C.TIME_UNSET, defines whether SpliceInsertCommand.breakDurationUs should be used to know when to return to the network feed.
autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Deprecated.
If SpliceScheduleCommand.Event.breakDurationUs is not C.TIME_UNSET, defines whether SpliceScheduleCommand.Event.breakDurationUs should be used to know when to return to the network feed.
AuxEffectInfo - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AuxEffectInfo(int, float) - Constructor for class com.google.android.exoplayer2.audio.AuxEffectInfo
Deprecated.
Creates an instance with the given effect identifier and send level.
availabilityStartTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
Deprecated.
The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
availableCommands - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
The available Player.Commands.
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Deprecated.
Holds the value of avail_num as defined in SCTE35, Section 9.3.3.
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Deprecated.
Holds the value of avail_num as defined in SCTE35, Section 9.3.2.
availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Deprecated.
Holds the value of avails_expected as defined in SCTE35, Section 9.3.3.
availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Deprecated.
Holds the value of avails_expected as defined in SCTE35, Section 9.3.2.
AvcConfig - Class in com.google.android.exoplayer2.video
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
averageAudioBitrate - Variable in class com.google.android.exoplayer2.transformer.ExportResult
Deprecated.
The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown.
averageAudioBitrate - Variable in class com.google.android.exoplayer2.transformer.TransformationResult
Deprecated.
The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown.
averageBitrate - Variable in class com.google.android.exoplayer2.Format
Deprecated.
The average bitrate in bits per second, or Format.NO_VALUE if unknown or not applicable.
averageBitrate - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
Deprecated.
The average bitrate as declared by the AVERAGE-BANDWIDTH attribute of the EXT-X-STREAM-INF tag, or Format.NO_VALUE if the attribute is not declared.
averageVideoBitrate - Variable in class com.google.android.exoplayer2.transformer.ExportResult
Deprecated.
The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown.
averageVideoBitrate - Variable in class com.google.android.exoplayer2.transformer.TransformationResult
Deprecated.
The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown.
AVI - Static variable in class com.google.android.exoplayer2.util.FileTypes
Deprecated.
File type for the AVI format.
AviExtractor - Class in com.google.android.exoplayer2.extractor.avi
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
AviExtractor() - Constructor for class com.google.android.exoplayer2.extractor.avi.AviExtractor
Deprecated.
 

B

backgroundColor - Variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Deprecated.
The preferred background color.
backgroundJoiningCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Deprecated.
The number of playbacks which were pre-buffered in the background.
BandwidthEstimator - Interface in com.google.android.exoplayer2.upstream.experimental
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BandwidthMeter - Interface in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BandwidthMeter.EventListener - Interface in com.google.android.exoplayer2.upstream
Deprecated.
A listener of BandwidthMeter events.
BandwidthMeter.EventListener.EventDispatcher - Class in com.google.android.exoplayer2.upstream
Deprecated.
Event dispatcher which allows listener registration.
bandwidthSample(int, long, long) - Method in class com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener.EventDispatcher
Deprecated.
 
BandwidthStatistic - Interface in com.google.android.exoplayer2.upstream.experimental
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BAR_GRAVITY_BOTTOM - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Deprecated.
Vertical gravity for progress bar to be located at the bottom in the view.
BAR_GRAVITY_CENTER - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Deprecated.
Vertical gravity for progress bar to be located at the center in the view.
BASE_TYPE_APPLICATION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
BASE_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
BASE_TYPE_IMAGE - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
BASE_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
BASE_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
 
BaseAudioProcessor - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.BaseAudioProcessor
Deprecated.
 
BaseDataSource - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseDataSource(boolean) - Constructor for class com.google.android.exoplayer2.upstream.BaseDataSource
Deprecated.
Creates base data source.
BaseFactory() - Constructor for class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
Deprecated.
 
BaseGlShaderProgram - Class in com.google.android.exoplayer2.effect
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseGlShaderProgram(boolean, int) - Constructor for class com.google.android.exoplayer2.effect.BaseGlShaderProgram
Deprecated.
Creates a BaseGlShaderProgram instance.
BaseMediaChunk - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseMediaChunk(DataSource, DataSpec, Format, @com.google.android.exoplayer2.C.SelectionReason int, Object, long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Deprecated.
 
BaseMediaChunkIterator - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseMediaChunkIterator(long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Deprecated.
Creates base iterator.
BaseMediaChunkOutput - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseMediaChunkOutput(int[], SampleQueue[]) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
Deprecated.
 
BaseMediaSource - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseMediaSource() - Constructor for class com.google.android.exoplayer2.source.BaseMediaSource
Deprecated.
 
BasePlayer - Class in com.google.android.exoplayer2
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BasePlayer() - Constructor for class com.google.android.exoplayer2.BasePlayer
Deprecated.
 
BaseRenderer - Class in com.google.android.exoplayer2
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseRenderer(@com.google.android.exoplayer2.C.TrackType int) - Constructor for class com.google.android.exoplayer2.BaseRenderer
Deprecated.
 
BaseTrackSelection - Class in com.google.android.exoplayer2.trackselection
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.BaseTrackSelection
Deprecated.
 
BaseTrackSelection(TrackGroup, int[], @com.google.android.exoplayer2.trackselection.TrackSelection.Type int) - Constructor for class com.google.android.exoplayer2.trackselection.BaseTrackSelection
Deprecated.
 
baseUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
Deprecated.
The base uri.
BaseUrl - Class in com.google.android.exoplayer2.source.dash.manifest
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseUrl(String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
Deprecated.
Creates an instance with an unset priority, default weight and using the URL as the service location.
BaseUrl(String, String, int, int) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
Deprecated.
Creates an instance.
BaseUrlExclusionList - Class in com.google.android.exoplayer2.source.dash
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BaseUrlExclusionList() - Constructor for class com.google.android.exoplayer2.source.dash.BaseUrlExclusionList
Deprecated.
Creates an instance.
baseUrls - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
Deprecated.
 
baseUrls - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
Deprecated.
The base URLs of the representation.
before() - Method in class com.google.android.exoplayer2.robolectric.ShadowMediaCodecConfig
 
before() - Method in class com.google.android.exoplayer2.testutil.HttpDataSourceTestEnv
 
beginSection(String) - Static method in class com.google.android.exoplayer2.util.TraceUtil
Deprecated.
Writes a trace message to indicate that a given section of code has begun.
BehindLiveWindowException - Exception in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BehindLiveWindowException() - Constructor for exception com.google.android.exoplayer2.source.BehindLiveWindowException
Deprecated.
 
belongsToSession(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
Deprecated.
 
belongsToSession(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Deprecated.
Returns whether an event time belong to a session.
binaryElement(int, int, ExtractorInput) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Deprecated.
Called when a binary element is encountered.
binaryElement(int, int, ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Deprecated.
Called when a binary element is encountered.
BinaryFrame - Class in com.google.android.exoplayer2.metadata.id3
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BinaryFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.BinaryFrame
Deprecated.
 
binarySearchCeil(int[], int, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the smallest element in array that is greater than (or optionally equal to) a specified value.
binarySearchCeil(long[], long, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the smallest element in array that is greater than (or optionally equal to) a specified value.
binarySearchCeil(List<? extends Comparable<? super T>>, T, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the smallest element in list that is greater than (or optionally equal to) a specified value.
binarySearchFloor(int[], int, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the largest element in array that is less than (or optionally equal to) a specified value.
binarySearchFloor(long[], long, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the largest element in array that is less than (or optionally equal to) a specified value.
binarySearchFloor(LongArray, long, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the largest element in longArray that is less than (or optionally equal to) a specified value.
binarySearchFloor(List<? extends Comparable<? super T>>, T, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns the index of the largest element in list that is less than (or optionally equal to) a specified value.
BinarySearchSeeker - Class in com.google.android.exoplayer2.extractor
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BinarySearchSeeker(BinarySearchSeeker.SeekTimestampConverter, BinarySearchSeeker.TimestampSeeker, long, long, long, long, long, long, int) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Deprecated.
Constructs an instance.
BinarySearchSeeker.BinarySearchSeekMap - Class in com.google.android.exoplayer2.extractor
Deprecated.
BinarySearchSeeker.DefaultSeekTimestampConverter - Class in com.google.android.exoplayer2.extractor
Deprecated.
A BinarySearchSeeker.SeekTimestampConverter implementation that returns the seek time itself as the timestamp for a seek time position.
BinarySearchSeeker.SeekOperationParams - Class in com.google.android.exoplayer2.extractor
Deprecated.
Contains parameters for a pending seek operation by BinarySearchSeeker.
BinarySearchSeeker.SeekTimestampConverter - Interface in com.google.android.exoplayer2.extractor
Deprecated.
A converter that converts seek time in stream time into target timestamp for the BinarySearchSeeker.
BinarySearchSeeker.TimestampSearchResult - Class in com.google.android.exoplayer2.extractor
Deprecated.
BinarySearchSeeker.TimestampSeeker - Interface in com.google.android.exoplayer2.extractor
Deprecated.
A seeker that looks for a given timestamp from an input.
BinarySearchSeekMap(BinarySearchSeeker.SeekTimestampConverter, long, long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
Deprecated.
Constructs a new instance of this seek map.
bindAttributesAndUniforms() - Method in class com.google.android.exoplayer2.util.GlProgram
Deprecated.
Binds all attributes and uniforms in the program.
bindTexture(int, int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Deprecated.
Binds the texture of the given type with default configuration of GL_LINEAR filtering and GL_CLAMP_TO_EDGE wrapping.
bitDepthChromaMinus8 - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
bitDepthLumaMinus8 - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
bitmap - Variable in class com.google.android.exoplayer2.text.Cue
Deprecated.
The cue image, or null if this is a text cue.
bitmapHeight - Variable in class com.google.android.exoplayer2.text.Cue
Deprecated.
The bitmap height as a fraction of the of the viewport size, or Cue.DIMEN_UNSET if the bitmap should be displayed at its natural height given the bitmap dimensions and the specified Cue.size.
BitmapLoader - Interface in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BitmapOverlay - Class in com.google.android.exoplayer2.effect
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BitmapOverlay() - Constructor for class com.google.android.exoplayer2.effect.BitmapOverlay
Deprecated.
 
BitmapPixelTestUtil - Class in com.google.android.exoplayer2.testutil
Utilities for pixel tests.
bitrate - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Deprecated.
The bitrate of audio samples.
bitrate - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Deprecated.
Bitrate of the frame in bit/s.
bitrate - Variable in class com.google.android.exoplayer2.Format
Deprecated.
The bitrate in bits per second.
bitrate - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
Deprecated.
Bitrate in bits per second ((icy-br * 1000)), or Format.NO_VALUE if the header was not present.
bitrate - Variable in class com.google.android.exoplayer2.transformer.VideoEncoderSettings
Deprecated.
The encoding bitrate in bits per second.
bitrate - Variable in class com.google.android.exoplayer2.upstream.experimental.SlidingWeightedAverageBandwidthStatistic.Sample
Deprecated.
The sample bitrate.
bitrateMaximum - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
Deprecated.
The bitrate_maximum field, or Format.NO_VALUE if not greater than zero.
bitrateMinimum - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
Deprecated.
The bitrate_minimum field, or Format.NO_VALUE if not greater than zero.
bitrateMode - Variable in class com.google.android.exoplayer2.transformer.VideoEncoderSettings
Deprecated.
bitrateNominal - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
Deprecated.
The bitrate_nominal field, or Format.NO_VALUE if not greater than zero.
BITS_PER_BYTE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
The number of bits per byte.
bitsLeft() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Deprecated.
Returns the number of remaining bits.
bitsLeft() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Deprecated.
Returns the number of bits yet to be read.
bitsPerSample - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Deprecated.
Number of bits per sample.
bitsPerSampleLookupKey - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Deprecated.
Lookup key corresponding to the number of bits per sample of the stream, or FlacStreamMetadata.NOT_IN_LOOKUP_TABLE if it is not in the lookup table.
bitstreamVersion - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
Deprecated.
The bitstream version.
block() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Deprecated.
Blocks until the condition is opened.
block(long) - Method in class com.google.android.exoplayer2.util.ConditionVariable
Deprecated.
Blocks until the condition is opened or until timeoutMs have passed.
blockFlag - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
Deprecated.
 
blockSize0 - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
Deprecated.
The blocksize_0 field.
blockSize1 - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
Deprecated.
The blocksize_1 field.
blockUninterruptible() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Deprecated.
Blocks until the condition is open.
blockUntilActionScheduleFinished(long) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Blocks the current thread until the action schedule finished.
blockUntilDelivered() - Method in class com.google.android.exoplayer2.PlayerMessage
Deprecated.
Blocks until after the message has been delivered or the player is no longer able to deliver the message.
blockUntilDelivered(long) - Method in class com.google.android.exoplayer2.PlayerMessage
Deprecated.
Blocks until after the message has been delivered or the player is no longer able to deliver the message or the specified timeout elapsed.
blockUntilEnded(long) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Blocks the current thread until the test runner finishes.
blockUntilFinished() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Deprecated.
Blocks until the task has finished, or has been canceled without having been started.
blockUntilIdle() - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
Blocks until the manager is idle.
blockUntilIdleAndThrowAnyFailure() - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
Blocks until the manager is idle and throws if any of the downloads failed.
blockUntilInitialized() - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
Blocks until the manager is initialized.
blockUntilStarted() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Deprecated.
Blocks until the task has started, or has been canceled without having been started.
blockUntilStopped(long) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
blockUntilStopped(long) - Method in interface com.google.android.exoplayer2.testutil.HostActivity.HostedTest
Called on the main thread to block until the test has stopped or HostActivity.HostedTest.forceStop() is called.
bottomFieldPicOrderInFramePresentFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
Deprecated.
 
breakDurationUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Deprecated.
The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.
breakDurationUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Deprecated.
The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.
Brightness - Class in com.google.android.exoplayer2.effect
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Brightness(float) - Constructor for class com.google.android.exoplayer2.effect.Brightness
Deprecated.
Modifies brightness by adding a constant value to red, green, and blue values.
Buffer - Class in com.google.android.exoplayer2.decoder
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Buffer() - Constructor for class com.google.android.exoplayer2.decoder.Buffer
Deprecated.
 
BUFFER_FLAG_DECODE_ONLY - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Indicates that a buffer should be decoded but not rendered.
BUFFER_FLAG_ENCRYPTED - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Indicates that a buffer is (at least partially) encrypted.
BUFFER_FLAG_END_OF_STREAM - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Flag for empty buffers that signal that the end of the stream was reached.
BUFFER_FLAG_FIRST_SAMPLE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Indicates that a buffer is known to contain the first media sample of the stream.
BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Indicates that a buffer has supplemental data.
BUFFER_FLAG_KEY_FRAME - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Indicates that a buffer holds a synchronization sample.
BUFFER_FLAG_LAST_SAMPLE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Indicates that a buffer is known to contain the last media sample of the stream.
BUFFER_REPLACEMENT_MODE_DIRECT - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Deprecated.
Allows buffer replacement using ByteBuffer.allocateDirect(int).
BUFFER_REPLACEMENT_MODE_DISABLED - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Deprecated.
Disallows buffer replacement.
BUFFER_REPLACEMENT_MODE_NORMAL - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Deprecated.
Allows buffer replacement using ByteBuffer.allocate(int).
build() - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
Deprecated.
Creates an AudioAttributes instance from this builder.
build() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.Builder
Deprecated.
Builds the DefaultAudioSink.
build() - Method in class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Deprecated.
Builds an instance.
build() - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.DeviceInfo.Builder
Deprecated.
Builds the DeviceInfo.
build() - Method in class com.google.android.exoplayer2.effect.DefaultVideoFrameProcessor.Factory.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.effect.HslAdjustment.Builder
Deprecated.
Creates a new HslAdjustment instance.
build() - Method in class com.google.android.exoplayer2.effect.OverlaySettings.Builder
Deprecated.
Creates an instance of OverlaySettings, using defaults if values are unset.
build() - Method in class com.google.android.exoplayer2.effect.RgbAdjustment.Builder
Deprecated.
Creates a new RgbAdjustment instance.
build() - Method in class com.google.android.exoplayer2.effect.ScaleAndRotateTransformation.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Builds an ExoPlayer instance.
build() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Deprecated.
Returns a new ImaAdsLoader.
build() - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionUriBuilder
Deprecated.
Builds a URI with the builder's current values.
build() - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Deprecated.
Builds MediaSession.SessionCallback.
build() - Method in class com.google.android.exoplayer2.Format.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.MediaItem.AdsConfiguration.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.MediaItem.Builder
Deprecated.
Returns a new MediaItem instance with the current builder values.
build() - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Deprecated.
Returns a MediaItem.ClippingConfiguration instance initialized with the values of this builder.
build() - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Deprecated.
Creates a MediaItem.LiveConfiguration with the values from this builder.
build() - Method in class com.google.android.exoplayer2.MediaItem.RequestMetadata.Builder
Deprecated.
Builds the request metadata.
build() - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Deprecated.
Creates a MediaItem.SubtitleConfiguration from the values of this builder.
build() - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Deprecated.
Returns a new MediaMetadata instance with the current builder values.
build() - Method in class com.google.android.exoplayer2.muxer.Mp4Muxer.Builder
Deprecated.
Builds an Mp4Muxer instance.
build() - Method in class com.google.android.exoplayer2.offline.DownloadRequest.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Deprecated.
Builds a Player.Commands instance.
build() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
Deprecated.
Builds the concatenating media source.
build() - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
Deprecated.
Builds the RtpPacket.
build() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Builds the schedule.
build() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
 
build() - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
build() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Builds an ExoPlayerTestRunner using the provided values or their defaults.
build() - Method in class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig.Builder
 
build() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.Builder
Returns a FakeExoMediaDrm instance with an initial reference count of 1.
build() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
 
build() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Builds an ExoPlayer using the provided values or their defaults.
build() - Method in class com.google.android.exoplayer2.testutil.VideoFrameProcessorTestRunner.Builder
 
build() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
build() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Deprecated.
Build the cue.
build() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
Builds a DefaultTrackSelector.Parameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
Builds a DefaultTrackSelector.Parameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Builds a TrackSelectionParameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.transformer.Composition.Builder
Deprecated.
Builds a Composition instance.
build() - Method in class com.google.android.exoplayer2.transformer.DefaultEncoderFactory.Builder
Deprecated.
Creates an instance of DefaultEncoderFactory, using defaults if values are unset.
build() - Method in class com.google.android.exoplayer2.transformer.EditedMediaItem.Builder
Deprecated.
Builds an EditedMediaItem instance.
build() - Method in class com.google.android.exoplayer2.transformer.ExportResult.Builder
Deprecated.
Builds an ExportResult instance.
build() - Method in class com.google.android.exoplayer2.transformer.TransformationRequest.Builder
Deprecated.
Builds a TransformationRequest instance.
build() - Method in class com.google.android.exoplayer2.transformer.TransformationResult.Builder
Deprecated.
Builds a TransformationResult instance.
build() - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Deprecated.
Builds a Transformer instance.
build() - Method in class com.google.android.exoplayer2.transformer.VideoEncoderSettings.Builder
Deprecated.
Builds the instance.
build() - Method in class com.google.android.exoplayer2.ui.AdOverlayInfo.Builder
Deprecated.
Returns a new AdOverlayInfo instance with the current builder values.
build() - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
build() - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Deprecated.
Builds the dialog.
build() - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
Deprecated.
Builds a DataSpec with the builder's current values.
build() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Deprecated.
Builds the bandwidth meter.
build() - Method in class com.google.android.exoplayer2.upstream.experimental.CombinedParallelSampleBandwidthEstimator.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.upstream.experimental.ExperimentalBandwidthMeter.Builder
Deprecated.
Builds the bandwidth meter.
build() - Method in class com.google.android.exoplayer2.upstream.experimental.SplitParallelSampleBandwidthEstimator.Builder
Deprecated.
 
build() - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Deprecated.
Builds an FlagSet instance.
build() - Method in class com.google.android.exoplayer2.util.FrameInfo.Builder
Deprecated.
Builds a FrameInfo instance.
build() - Method in class com.google.android.exoplayer2.video.ColorInfo.Builder
Deprecated.
Builds a new ColorInfo instance.
build(MediaDrmCallback) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Deprecated.
Builds a DefaultDrmSessionManager instance.
buildAacLcAudioSpecificConfig(int, int) - Static method in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Builds a simple AAC LC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
buildAdaptationSet(long, @com.google.android.exoplayer2.C.TrackType int, List<Representation>, List<Descriptor>, List<Descriptor>, List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildAddDownloadIntent(Context, Class<? extends DownloadService>, DownloadRequest, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for adding a new download.
buildAddDownloadIntent(Context, Class<? extends DownloadService>, DownloadRequest, int, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for adding a new download.
buildAssetUri(String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns the Uri for the given asset path.
buildAudioRenderers(Context, @com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int, MediaCodecSelector, boolean, AudioSink, Handler, AudioRendererEventListener, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds audio renderers for use by the player.
buildAudioSink(Context, boolean, boolean, boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds an AudioSink to which the audio renderers will output.
buildAudioSpecificConfig(int, int, int) - Static method in class com.google.android.exoplayer2.audio.AacUtil
Deprecated.
Builds a simple AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
buildAvcCodecString(int, int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Deprecated.
Builds an RFC 6381 AVC codec string using the provided parameters.
buildCacheKey(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheKeyFactory
Deprecated.
Returns the cache key of the resource containing the data defined by a DataSpec.
buildCameraMotionRenderers(Context, @com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds camera motion renderers for use by the player.
buildCea708InitializationData(boolean) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Deprecated.
Returns initialization data for formats with MIME type MimeTypes.APPLICATION_CEA708.
buildClippingProperties() - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
buildCronetEngine(Context) - Static method in class com.google.android.exoplayer2.ext.cronet.CronetUtil
Deprecated.
Builds a CronetEngine suitable for use with CronetDataSource.
buildCronetEngine(Context, String, boolean) - Static method in class com.google.android.exoplayer2.ext.cronet.CronetUtil
Deprecated.
Builds a CronetEngine suitable for use with CronetDataSource.
buildDataSpec(Representation, RangedUri, int) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
buildDataSpec(Representation, String, RangedUri, int) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
buildDataSpec(Representation, String, RangedUri, int, Map<String, String>) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Deprecated.
Builds a DataSpec for a given RangedUri belonging to Representation.
buildDownloadCompletedNotification(Context, int, PendingIntent, String) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
Deprecated.
Returns a notification for a completed download.
buildDownloadFailedNotification(Context, int, PendingIntent, String) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
Deprecated.
Returns a notification for a failed download.
buildDrmSessionManager() - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
Builder() - Constructor for class com.google.android.exoplayer2.audio.AudioAttributes.Builder
Deprecated.
Creates a new builder for AudioAttributes.
Builder() - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink.Builder
Deprecated.
Use Builder(Context) instead.
Builder() - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider.Builder
Deprecated.
Creates a new builder.
Builder() - Constructor for class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Deprecated.
Creates a builder.
Builder() - Constructor for class com.google.android.exoplayer2.DefaultLoadControl.Builder
Deprecated.
Constructs a new instance.
Builder() - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Deprecated.
Creates a builder with default values.
Builder() - Constructor for class com.google.android.exoplayer2.effect.DefaultVideoFrameProcessor.Factory.Builder
Deprecated.
Creates an instance.
Builder() - Constructor for class com.google.android.exoplayer2.effect.HslAdjustment.Builder
Deprecated.
Creates a new instance with the default values.
Builder() - Constructor for class com.google.android.exoplayer2.effect.OverlaySettings.Builder
Deprecated.
Builder() - Constructor for class com.google.android.exoplayer2.effect.RgbAdjustment.Builder
Deprecated.
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.effect.ScaleAndRotateTransformation.Builder
Deprecated.
Creates a builder with default values.
Builder() - Constructor for class com.google.android.exoplayer2.Format.Builder
Deprecated.
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.Builder
Deprecated.
Creates a builder.
Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Deprecated.
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Deprecated.
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.MediaItem.RequestMetadata.Builder
Deprecated.
Constructs an instance.
Builder() - Constructor for class com.google.android.exoplayer2.MediaMetadata.Builder
Deprecated.
 
Builder() - Constructor for class com.google.android.exoplayer2.Player.Commands.Builder
Deprecated.
Creates a builder.
Builder() - Constructor for class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
Deprecated.
Creates the builder.
Builder() - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource2.Builder
Deprecated.
Creates the builder.
Builder() - Constructor for class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
Deprecated.
 
Builder() - Constructor for class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.Builder
Constructs an instance.
Builder() - Constructor for class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.testutil.VideoFrameProcessorTestRunner.Builder
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
Constructs an instance.
Builder() - Constructor for class com.google.android.exoplayer2.text.Cue.Builder
Deprecated.
 
Builder() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
Context constraints will not be set using this constructor. Use Builder(Context) instead.
Builder() - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Context constraints will not be set using this constructor. Use Builder(Context) instead.
Builder() - Constructor for class com.google.android.exoplayer2.transformer.ExportResult.Builder
Deprecated.
Creates a builder.
Builder() - Constructor for class com.google.android.exoplayer2.transformer.TransformationRequest.Builder
Deprecated.
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.transformer.TransformationResult.Builder
Deprecated.
Creates a builder.
Builder() - Constructor for class com.google.android.exoplayer2.transformer.VideoEncoderSettings.Builder
Deprecated.
Creates a new instance.
Builder() - Constructor for class com.google.android.exoplayer2.upstream.DataSpec.Builder
Deprecated.
Creates a new instance with default values.
Builder() - Constructor for class com.google.android.exoplayer2.upstream.experimental.CombinedParallelSampleBandwidthEstimator.Builder
Deprecated.
Creates a new builder instance.
Builder() - Constructor for class com.google.android.exoplayer2.upstream.experimental.SplitParallelSampleBandwidthEstimator.Builder
Deprecated.
Creates a new builder instance.
Builder() - Constructor for class com.google.android.exoplayer2.util.FlagSet.Builder
Deprecated.
Creates a builder.
Builder() - Constructor for class com.google.android.exoplayer2.video.ColorInfo.Builder
Deprecated.
Creates a new instance with default values.
Builder(@com.google.android.exoplayer2.DeviceInfo.PlaybackType int) - Constructor for class com.google.android.exoplayer2.DeviceInfo.Builder
Deprecated.
Creates the builder.
Builder(int, int) - Constructor for class com.google.android.exoplayer2.util.FrameInfo.Builder
Deprecated.
Creates an instance with default values.
Builder(Context) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink.Builder
Deprecated.
Creates a new builder.
Builder(Context) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder.
Builder(Context) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Deprecated.
Creates a new builder for ImaAdsLoader.
Builder(Context) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated.
Use Builder(Context) instead.
Builder(Context) - Constructor for class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
Builder(Context) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
Creates a builder with default initial values.
Builder(Context) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Creates a builder with default initial values.
Builder(Context) - Constructor for class com.google.android.exoplayer2.transformer.DefaultEncoderFactory.Builder
Deprecated.
Builder(Context) - Constructor for class com.google.android.exoplayer2.transformer.Transformer.Builder
Deprecated.
Creates a builder with default values.
Builder(Context) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Deprecated.
Creates a builder with default parameters and without listener.
Builder(Context) - Constructor for class com.google.android.exoplayer2.upstream.experimental.ExperimentalBandwidthMeter.Builder
Deprecated.
Creates a builder with default parameters and without listener.
Builder(Context, int, String) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
Creates an instance.
Builder(Context, int, String, PlayerNotificationManager.MediaDescriptionAdapter) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Builder(Context, ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Builder(Context, RenderersFactory) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder with a custom RenderersFactory.
Builder(Context, RenderersFactory) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated.
Builder(Context, RenderersFactory, ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Builder(Context, RenderersFactory, MediaSource.Factory) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder with a custom RenderersFactory and MediaSource.Factory.
Builder(Context, RenderersFactory, MediaSource.Factory, TrackSelector, LoadControl, BandwidthMeter, AnalyticsCollector) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder with the specified custom components.
Builder(Context, RenderersFactory, TrackSelector, MediaSource.Factory, LoadControl, BandwidthMeter, AnalyticsCollector) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Builder(Context, MediaSource.Factory) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder with a custom MediaSource.Factory.
Builder(Context, AdViewProvider) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
Deprecated.
Creates an instance.
Builder(Uri) - Constructor for class com.google.android.exoplayer2.MediaItem.AdsConfiguration.Builder
Deprecated.
Constructs a new instance.
Builder(Uri) - Constructor for class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Deprecated.
Constructs an instance.
Builder(Bundle) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Creates a builder with the initial values specified in bundle.
Builder(View, @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int) - Constructor for class com.google.android.exoplayer2.ui.AdOverlayInfo.Builder
Deprecated.
Creates a new builder.
Builder(MediaItem) - Constructor for class com.google.android.exoplayer2.transformer.EditedMediaItem.Builder
Deprecated.
Creates an instance.
Builder(TrackSelectionParameters) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Creates a builder with the initial values specified in initialValues.
Builder(FrameInfo) - Constructor for class com.google.android.exoplayer2.util.FrameInfo.Builder
Deprecated.
Creates an instance with the values of the provided FrameInfo.
Builder(FileOutputStream) - Constructor for class com.google.android.exoplayer2.muxer.Mp4Muxer.Builder
Deprecated.
Creates a Mp4Muxer.Builder instance with default values.
Builder(Object) - Constructor for class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData.Builder
Deprecated.
Creates the builder.
Builder(Object) - Constructor for class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData.Builder
Deprecated.
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
Deprecated.
Creates a new instance with the specified id and uri.
Builder(List<EditedMediaItemSequence>) - Constructor for class com.google.android.exoplayer2.transformer.Composition.Builder
Deprecated.
Creates an instance.
Builder(UUID) - Constructor for class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Deprecated.
Constructs an instance.
buildEvent(String, String, long, long, byte[]) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildEventStream(String, String, long, long[], EventMessage[]) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildExoPlayer(HostActivity, Surface, MappingTrackSelector) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
buildFormat(String, String, int, int, float, int, int, int, String, List<Descriptor>, List<Descriptor>, String, List<Descriptor>, List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildHevcCodecString(int, boolean, int, int, int[], int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Deprecated.
Builds an RFC 6381 HEVC codec string using the provided parameters.
buildInitializationData(byte[]) - Static method in class com.google.android.exoplayer2.audio.OpusUtil
Deprecated.
Builds codec initialization data from an Opus Identification Header.
buildMediaPresentationDescription(long, long, long, boolean, long, long, long, long, ProgramInformation, UtcTimingElement, ServiceDescriptionElement, Uri, List<Period>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildMetadataRenderers(Context, MetadataOutput, Looper, @com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds metadata renderers for use by the player.
buildMiscellaneousRenderers(Context, Handler, @com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds any miscellaneous renderers used by the player.
buildNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Deprecated.
Constructs a NAL unit consisting of the NAL start code followed by the specified data.
buildPauseDownloadsIntent(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent to pause all downloads.
buildPeriod(String, long, List<AdaptationSet>, List<EventStream>, Descriptor) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildProgressNotification(Context, int, PendingIntent, String, List<Download>) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
buildProgressNotification(Context, int, PendingIntent, String, List<Download>, @com.google.android.exoplayer2.scheduler.Requirements.RequirementFlags int) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
Deprecated.
Returns a progress notification for the given downloads.
buildPsshAtom(UUID, byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Deprecated.
Builds a version 0 PSSH atom for a given system id, containing the given data.
buildPsshAtom(UUID, UUID[], byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Deprecated.
Builds a PSSH atom for the given system id, containing the given key ids and data.
buildRangedUri(String, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildRangeRequestHeader(long, long) - Static method in class com.google.android.exoplayer2.upstream.HttpUtil
Deprecated.
Builds a Range header for the given position and length.
buildRawResourceUri(int) - Static method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
Deprecated.
Builds a Uri for the specified raw resource identifier.
buildRemoveAllDownloadsIntent(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for removing all downloads.
buildRemoveDownloadIntent(Context, Class<? extends DownloadService>, String, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for removing the download with the id.
buildRepresentation(DashManifestParser.RepresentationInfo, String, String, ArrayList<DrmInitData.SchemeData>, ArrayList<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildRequestBuilder(DataSpec) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
 
buildRequestUri(int, int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Deprecated.
Builds a uri for requesting the specified chunk of the specified track.
buildResumeDownloadsIntent(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for resuming all downloads.
buildSegmentList(RangedUri, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, long, List<RangedUri>, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildSegmentTemplate(RangedUri, long, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, long, UrlTemplate, UrlTemplate, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildSegmentTimelineElement(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildSetRequirementsIntent(Context, Class<? extends DownloadService>, Requirements, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for setting the requirements that need to be met for downloads to progress.
buildSetStopReasonIntent(Context, Class<? extends DownloadService>, String, int, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Builds an Intent for setting the stop reason for one or all downloads.
buildSingleSegmentBase(RangedUri, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildSource(HostActivity, DrmSessionManager, FrameLayout) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
buildTestData(int) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Equivalent to buildTestData(length, length).
buildTestData(int, int) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Generates an array of random bytes with the specified length.
buildTestData(int, Random) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Generates an array of random bytes with the specified length.
buildTestString(int, Random) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Generates a random string with the specified length.
buildTextRenderers(Context, TextOutput, Looper, @com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds text renderers for use by the player.
buildTracks(MappingTrackSelector.MappedTrackInfo, TrackSelection[]) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Deprecated.
Returns Tracks built from MappingTrackSelector.MappedTrackInfo and TrackSelections for each renderer.
buildTracks(MappingTrackSelector.MappedTrackInfo, List<? extends TrackSelection>[]) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Deprecated.
Returns Tracks built from MappingTrackSelector.MappedTrackInfo and TrackSelections for each renderer.
buildTrackSelector(HostActivity) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
buildUpon() - Method in class com.google.android.exoplayer2.Format
Deprecated.
Returns a Format.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem.AdsConfiguration
Deprecated.
Returns a MediaItem.AdsConfiguration.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem
Deprecated.
Returns a MediaItem.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
Deprecated.
Returns a MediaItem.ClippingConfiguration.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Deprecated.
Returns a MediaItem.DrmConfiguration.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Deprecated.
Returns a MediaItem.LiveConfiguration.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem.RequestMetadata
Deprecated.
Returns a MediaItem.RequestMetadata.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
Deprecated.
Returns a MediaItem.SubtitleConfiguration.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Returns a new MediaMetadata.Builder instance with the current MediaMetadata fields.
buildUpon() - Method in class com.google.android.exoplayer2.Player.Commands
Deprecated.
Returns a Player.Commands.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.MediaItemData
Deprecated.
Returns a SimpleBasePlayer.MediaItemData.Builder pre-populated with the current values.
buildUpon() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.PeriodData
Deprecated.
Returns a SimpleBasePlayer.PeriodData.Builder pre-populated with the current values.
buildUpon() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
Returns a SimpleBasePlayer.State.Builder pre-populated with the current state values.
buildUpon() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
Returns a new WebServerDispatcher.Resource.Builder initialized with the values from this instance.
buildUpon() - Method in class com.google.android.exoplayer2.text.Cue
Deprecated.
Returns a new Cue.Builder initialized with the same values as this Cue.
buildUpon() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Creates a new DefaultTrackSelector.Parameters.Builder, copying the initial values from this instance.
buildUpon() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Deprecated.
Creates a new TrackSelectionParameters.Builder, copying the initial values from this instance.
buildUpon() - Method in class com.google.android.exoplayer2.transformer.ExportResult
Deprecated.
 
buildUpon() - Method in class com.google.android.exoplayer2.transformer.TransformationRequest
Deprecated.
Returns a new TransformationRequest.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.transformer.TransformationResult
Deprecated.
 
buildUpon() - Method in class com.google.android.exoplayer2.transformer.Transformer
Deprecated.
Returns a Transformer.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.transformer.VideoEncoderSettings
Deprecated.
Returns a VideoEncoderSettings.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
Returns a DataSpec.Builder initialized with the values of this instance.
buildUpon() - Method in class com.google.android.exoplayer2.video.ColorInfo
Deprecated.
Returns a ColorInfo.Builder initialized with the values of this instance.
buildUponParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Deprecated.
Returns a new DefaultTrackSelector.Parameters.Builder initialized with the current selection parameters.
buildUri(String, boolean) - Static method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
buildUri(String, long, int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Deprecated.
Constructs a Uri from the template, substituting in the provided arguments.
buildUtcTimingElement(String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Deprecated.
 
buildVideoRenderers(Context, @com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode int, MediaCodecSelector, boolean, Handler, VideoRendererEventListener, long, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Deprecated.
Builds video renderers for use by the player.
Bundleable - Interface in com.google.android.exoplayer2
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Bundleable.Creator<T extends Bundleable> - Interface in com.google.android.exoplayer2
Deprecated.
Interface for the static CREATOR field of Bundleable classes.
BundleableUtil - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BundledChunkExtractor - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BundledChunkExtractor(Extractor, @com.google.android.exoplayer2.C.TrackType int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
Deprecated.
Creates an instance.
BundledExtractorsAdapter - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BundledExtractorsAdapter(ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.source.BundledExtractorsAdapter
Deprecated.
Creates a holder that will select an extractor and initialize it using the specified output.
BundledHlsMediaChunkExtractor - Class in com.google.android.exoplayer2.source.hls
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BundledHlsMediaChunkExtractor(Extractor, Format, TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
Deprecated.
Creates a new instance.
BundleListRetriever - Class in com.google.android.exoplayer2
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BundleListRetriever(List<Bundle>) - Constructor for class com.google.android.exoplayer2.BundleListRetriever
Deprecated.
Creates a Binder to send a list of Bundles to another process.
bundleToStringHashMap(Bundle) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Deprecated.
 
bundleToStringImmutableMap(Bundle) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Deprecated.
 
BundleUtil - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
BY_START_THEN_END_THEN_DIVISOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
Deprecated.
 
byteAlign() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Deprecated.
Aligns the position to the next byte boundary.
ByteArrayDataSink - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ByteArrayDataSink() - Constructor for class com.google.android.exoplayer2.upstream.ByteArrayDataSink
Deprecated.
 
ByteArrayDataSource - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ByteArrayDataSource(byte[]) - Constructor for class com.google.android.exoplayer2.upstream.ByteArrayDataSource
Deprecated.
 
byteOffset - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
byteRangeLength - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
Deprecated.
The segment's byte range length, as defined by #EXT-X-BYTERANGE, #EXT-X-PART or #EXT-X-PRELOAD-HINT, or C.LENGTH_UNSET if no byte range is specified or the byte range is open-ended.
byteRangeOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
Deprecated.
The segment's byte range offset, as defined by #EXT-X-BYTERANGE, #EXT-X-PART or #EXT-X-PRELOAD-HINT.
BYTES_PER_FLOAT - Static variable in class com.google.android.exoplayer2.C
Deprecated.
The number of bytes per float.
bytesBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
Deprecated.
 
bytesDeviations - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
Deprecated.
 
bytesDownloaded - Variable in class com.google.android.exoplayer2.offline.DownloadProgress
Deprecated.
The number of bytes that have been downloaded.
bytesLeft() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Deprecated.
Returns the number of bytes yet to be read.
bytesLoaded - Variable in exception com.google.android.exoplayer2.drm.MediaDrmCallbackException
Deprecated.
The number of bytes obtained from the server.
bytesLoaded - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
Deprecated.
The number of bytes that were loaded up to the event time.
bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Deprecated.
Returns the number of bytes that have been loaded.
bytesLoaded() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Deprecated.
Returns the number of bytes loaded.
bytesPerFrame - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
Deprecated.
The number of bytes used to represent one audio frame.
bytesRead - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
bytesRead() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
Deprecated.
Returns the total number of bytes that have been read or skipped.
bytesTransferred(int) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Deprecated.
Notifies listeners that bytes were transferred.

C

C - Class in com.google.android.exoplayer2
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
C.AudioAllowedCapturePolicy - Annotation Type in com.google.android.exoplayer2
Deprecated.
Capture policies for audio attributes.
C.AudioContentType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Content types for audio attributes.
C.AudioFlags - Annotation Type in com.google.android.exoplayer2
Deprecated.
Flags for audio attributes.
C.AudioUsage - Annotation Type in com.google.android.exoplayer2
Deprecated.
Usage types for audio attributes.
C.BufferFlags - Annotation Type in com.google.android.exoplayer2
Deprecated.
Flags which can apply to a buffer containing a media sample.
C.ColorRange - Annotation Type in com.google.android.exoplayer2
Deprecated.
Video color range.
C.ColorSpace - Annotation Type in com.google.android.exoplayer2
Deprecated.
Video color spaces, also referred to as color standards.
C.ColorTransfer - Annotation Type in com.google.android.exoplayer2
Deprecated.
Video/image color transfer characteristics.
C.ContentType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents a streaming or other media type.
C.CryptoMode - Annotation Type in com.google.android.exoplayer2
Deprecated.
Crypto modes for a codec.
C.CryptoType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Types of crypto implementation.
C.DataType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents a type of data.
C.Encoding - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents an audio encoding, or an invalid or unset value.
C.FormatSupport - Annotation Type in com.google.android.exoplayer2
Deprecated.
Level of renderer support for a format.
C.NetworkType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Network connection type.
C.PcmEncoding - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents a PCM audio encoding, or an invalid or unset value.
C.Projection - Annotation Type in com.google.android.exoplayer2
Deprecated.
Video projection types.
C.RoleFlags - Annotation Type in com.google.android.exoplayer2
Deprecated.
Track role flags.
C.SelectionFlags - Annotation Type in com.google.android.exoplayer2
Deprecated.
Track selection flags.
C.SelectionReason - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents a reason for selection.
C.SpatializationBehavior - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents the behavior affecting whether spatialization will be used.
C.StereoMode - Annotation Type in com.google.android.exoplayer2
Deprecated.
The stereo mode for 360/3D/VR videos.
C.StreamType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Stream types for an AudioTrack.
C.TrackType - Annotation Type in com.google.android.exoplayer2
Deprecated.
Represents a type of media track.
C.VideoChangeFrameRateStrategy - Annotation Type in com.google.android.exoplayer2
Deprecated.
C.VideoOutputMode - Annotation Type in com.google.android.exoplayer2
Deprecated.
Video decoder output modes.
C.VideoScalingMode - Annotation Type in com.google.android.exoplayer2
Deprecated.
Video scaling modes for MediaCodec-based renderers.
C.VolumeFlags - Annotation Type in com.google.android.exoplayer2
Deprecated.
Volume flags to be used when setting or adjusting device volume.
C.WakeMode - Annotation Type in com.google.android.exoplayer2
Deprecated.
Mode specifying whether the player should hold a WakeLock and a WifiLock.
cache() - Method in class com.google.android.exoplayer2.upstream.cache.CacheWriter
Deprecated.
Caches the requested data, skipping any that's already cached.
Cache - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CACHE_IGNORED_REASON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
Cache ignored due to a cache related error.
CACHE_IGNORED_REASON_UNSET_LENGTH - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
Cache ignored due to a request with an unset length.
Cache.CacheException - Exception in com.google.android.exoplayer2.upstream.cache
Deprecated.
Thrown when an error is encountered when writing data.
Cache.Listener - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
Listener of Cache events.
CacheAsserts - Class in com.google.android.exoplayer2.testutil
Assertion methods for Cache.
CacheAsserts.RequestSet - Class in com.google.android.exoplayer2.testutil
Defines a set of data requests.
CACHED_TO_END - Static variable in class com.google.android.exoplayer2.upstream.CachedRegionTracker
Deprecated.
 
CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Deprecated.
Constructs an instance using CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Deprecated.
 
CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
Deprecated.
Thrown when an IOException is encountered when writing data to the sink.
CacheDataSink.Factory - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
Deprecated.
 
CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, @com.google.android.exoplayer2.upstream.cache.CacheDataSource.Flags int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, @com.google.android.exoplayer2.upstream.cache.CacheDataSource.Flags int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, @com.google.android.exoplayer2.upstream.cache.CacheDataSource.Flags int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource.CacheIgnoredReason - Annotation Type in com.google.android.exoplayer2.upstream.cache
Deprecated.
Reasons the cache may be ignored.
CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
Listener of CacheDataSource events.
CacheDataSource.Factory - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
CacheDataSource.Flags - Annotation Type in com.google.android.exoplayer2.upstream.cache
Deprecated.
Flags controlling the CacheDataSource's behavior.
CachedRegionTracker - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CachedRegionTracker(Cache, String, ChunkIndex) - Constructor for class com.google.android.exoplayer2.upstream.CachedRegionTracker
Deprecated.
 
CacheEvictor - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CacheException(String) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
Deprecated.
 
CacheException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
Deprecated.
 
CacheException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
Deprecated.
 
CacheKeyFactory - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CacheSpan - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CacheSpan(String, long, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
Deprecated.
Creates a hole CacheSpan which isn't cached, has no last touch timestamp and no file associated.
CacheSpan(String, long, long, long, File) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
Deprecated.
Creates a CacheSpan.
CacheWriter - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CacheWriter(CacheDataSource, DataSpec, byte[], CacheWriter.ProgressListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheWriter
Deprecated.
 
CacheWriter.ProgressListener - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
Receives progress updates during cache operations.
calculate(byte[], byte[], int, int) - Static method in class com.google.android.exoplayer2.transformer.MssimCalculator
Deprecated.
Calculates the Mean Structural Similarity (MSSIM) between two images with window skipping.
calculate(byte[], byte[], int, int, boolean) - Static method in class com.google.android.exoplayer2.transformer.MssimCalculator
Deprecated.
Calculates the Mean Structural Similarity (MSSIM) between two images.
calculateNextSearchBytePosition(long, long, long, long, long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
Deprecated.
Returns the next position in the stream to search for target frame, given [floorBytePosition, ceilingBytePosition), with corresponding [floorTimePosition, ceilingTimePosition).
calculateTargetBufferBytes(Renderer[], ExoTrackSelection[]) - Method in class com.google.android.exoplayer2.DefaultLoadControl
Deprecated.
Calculate target buffer size in bytes based on the selected tracks.
CameraMotionListener - Interface in com.google.android.exoplayer2.video.spherical
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CameraMotionRenderer - Class in com.google.android.exoplayer2.video.spherical
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CameraMotionRenderer() - Constructor for class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
Deprecated.
 
canAdvertiseSession() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
Returns whether the player can be used to advertise a media session.
canAdvertiseSession() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.canAdvertiseSession() on the delegate and returns the result.
canAdvertiseSession() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Returns whether the player can be used to advertise a media session.
canBlockReload - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Deprecated.
Whether the server supports blocking playlist reload.
cancel() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
Deprecated.
 
cancel() - Method in interface com.google.android.exoplayer2.offline.Downloader
Deprecated.
Permanently cancels the downloading by this downloader.
cancel() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
Deprecated.
 
cancel() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Deprecated.
 
cancel() - Method in class com.google.android.exoplayer2.PlayerMessage
Deprecated.
Cancels the message delivery.
cancel() - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
Deprecated.
 
cancel() - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Deprecated.
Cancels anything that was previously scheduled, or else does nothing.
cancel() - Method in class com.google.android.exoplayer2.transformer.Transformer
Deprecated.
Cancels the export that is currently in progress, if any.
cancel() - Method in class com.google.android.exoplayer2.upstream.cache.CacheWriter
Deprecated.
Cancels this writer's caching operation.
cancel(boolean) - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Deprecated.
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
Deprecated.
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Deprecated.
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
Deprecated.
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
Deprecated.
 
cancelLoad() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
 
cancelLoad() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
Deprecated.
Cancels the load.
cancelLoad() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Deprecated.
 
cancelLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
Deprecated.
Cancels the current load.
cancelWork() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Deprecated.
Cancels any work being done by RunnableFutureTask.doWork().
canReadBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Deprecated.
Returns whether it's possible to read n bits starting from the current offset.
canReadExpGolombCodedNum() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Deprecated.
Returns whether it is possible to read an Exp-Golomb-coded integer starting from the current offset.
canReplace(DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Deprecated.
Returns whether this DrmInitData.SchemeData can be used to replace other.
canReuseCodec(Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Deprecated.
Evaluates whether it's possible to reuse an instance of this decoder that's currently decoding oldFormat to decode newFormat instead.
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Deprecated.
 
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Deprecated.
Evaluates whether the existing MediaCodec can be kept for a new Format, and if it can whether it requires reconfiguration.
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Deprecated.
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Deprecated.
Evaluates whether the existing decoder can be reused for a new Format.
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
Deprecated.
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
Deprecated.
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Deprecated.
Evaluates whether the existing decoder can be reused for a new Format.
canSelectFormat(Format, int, long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Deprecated.
Called when updating the selected track to determine whether a candidate track can be selected.
canSkipDateRanges - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Deprecated.
Whether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.
capabilities - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Deprecated.
The capabilities of the decoder, like the profiles/levels it supports, or null if not known.
capacity - Variable in class com.google.android.exoplayer2.effect.FrameCache
Deprecated.
The capacity of the frame cache.
capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Deprecated.
Returns the capacity of the array, which may be larger than the limit.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
Deprecated.
The CLOSED-CAPTIONS value as defined in the EXT-X-STREAM-INF tag, or null if the CLOSED-CAPTIONS attribute is not present.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant
Deprecated.
The caption rendition group referenced by this variant, or null.
CaptionStyleCompat - Class in com.google.android.exoplayer2.ui
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CaptionStyleCompat(int, int, int, @com.google.android.exoplayer2.ui.CaptionStyleCompat.EdgeType int, int, Typeface) - Constructor for class com.google.android.exoplayer2.ui.CaptionStyleCompat
Deprecated.
 
CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.ui
Deprecated.
The type of edge, which may be none.
captureFrameRate - Variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
Deprecated.
The capture frame rate, in fps, or C.RATE_UNSET if it is unknown.
CapturingAudioSink - Class in com.google.android.exoplayer2.testutil
A ForwardingAudioSink that captures configuration, discontinuity and buffer events.
CapturingAudioSink(AudioSink) - Constructor for class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
CapturingRenderersFactory - Class in com.google.android.exoplayer2.testutil
A RenderersFactory that captures interactions with the audio and video MediaCodecAdapter instances.
CapturingRenderersFactory(Context) - Constructor for class com.google.android.exoplayer2.testutil.CapturingRenderersFactory
 
castNonNull(T) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Casts a nullable variable to a non-null variable without runtime null check.
castNonNullTypeArray(T[]) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Casts a nullable type array to a non-null type array without runtime null check.
CastPlayer - Class in com.google.android.exoplayer2.ext.cast
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CastPlayer(CastContext) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
Creates a new cast player.
CastPlayer(CastContext, MediaItemConverter) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
Creates a new cast player.
CastPlayer(CastContext, MediaItemConverter, long, long) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
Creates a new cast player.
Cea608Decoder - Class in com.google.android.exoplayer2.text.cea
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Cea608Decoder(String, int, long) - Constructor for class com.google.android.exoplayer2.text.cea.Cea608Decoder
Deprecated.
Constructs an instance.
Cea708Decoder - Class in com.google.android.exoplayer2.text.cea
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Cea708Decoder(int, List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.cea.Cea708Decoder
Deprecated.
 
CeaUtil - Class in com.google.android.exoplayer2.extractor
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ceilDivide(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Divides a numerator by a denominator, returning the ceiled result.
ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Divides a numerator by a denominator, returning the ceiled result.
CENC_TYPE_cbc1 - Static variable in class com.google.android.exoplayer2.C
Deprecated.
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cbcs - Static variable in class com.google.android.exoplayer2.C
Deprecated.
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cenc - Static variable in class com.google.android.exoplayer2.C
Deprecated.
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cens - Static variable in class com.google.android.exoplayer2.C
Deprecated.
"cens" scheme type name as defined in ISO/IEC 23001-7:2016.
channelCount - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
Deprecated.
The number of channels.
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Deprecated.
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
Deprecated.
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
Deprecated.
The number of interleaved channels.
channelCount - Variable in class com.google.android.exoplayer2.ext.opus.OpusDecoder
Deprecated.
 
channelCount - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
channelCount - Variable in class com.google.android.exoplayer2.Format
Deprecated.
The number of audio channels, or Format.NO_VALUE if unknown or not applicable.
channelCount - Variable in class com.google.android.exoplayer2.transformer.ExportResult
Deprecated.
The channel count of the audio, or C.LENGTH_UNSET if unset or unknown.
channelCount - Variable in class com.google.android.exoplayer2.transformer.TransformationResult
Deprecated.
The channel count of the audio, or C.LENGTH_UNSET if unset or unknown.
channelDescriptionResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
 
channelId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
 
channelImportance - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
 
ChannelMixingAudioProcessor - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChannelMixingAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.ChannelMixingAudioProcessor
Deprecated.
Creates a new audio processor for mixing and scaling audio channels.
ChannelMixingMatrix - Class in com.google.android.exoplayer2.audio
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChannelMixingMatrix(int, int, float[]) - Constructor for class com.google.android.exoplayer2.audio.ChannelMixingMatrix
Deprecated.
Creates a matrix with the given coefficients in row-major order.
channelNameResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
 
channels - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Deprecated.
Number of audio channels in the frame.
channels - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Deprecated.
Number of audio channels.
channels - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
Deprecated.
The audio_channels field.
ChapterFrame - Class in com.google.android.exoplayer2.metadata.id3
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChapterFrame(String, int, int, long, long, Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterFrame
Deprecated.
 
chapterId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
Deprecated.
 
ChapterTocFrame - Class in com.google.android.exoplayer2.metadata.id3
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChapterTocFrame(String, boolean, boolean, String[], Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
Deprecated.
 
checkAndPeekStreamMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Deprecated.
Peeks the FLAC stream marker.
checkAndReadFrameHeader(ParsableByteArray, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Deprecated.
Checks whether the given FLAC frame header is valid and, if so, reads it and writes the frame first sample number in sampleNumberHolder.
checkArgument(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalArgumentException if expression evaluates to false.
checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalArgumentException if expression evaluates to false.
checkCleartextTrafficPermitted(MediaItem...) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Returns whether it may be possible to load the URIs of the given media items based on the network security policy's cleartext traffic permissions.
checkContainerInput(boolean, String) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
Deprecated.
If expression is false, throws a container malformed ParserException with the given message.
checkFrameHeaderFromPeek(ExtractorInput, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Deprecated.
Checks whether the given FLAC frame header is valid and, if so, writes the frame first sample number in sampleNumberHolder.
checkGlError() - Static method in class com.google.android.exoplayer2.util.GlUtil
Deprecated.
Collects all OpenGL errors that occurred since this method was last called and throws a GlUtil.GlException with the combined error message.
checkGlException(boolean, String) - Static method in class com.google.android.exoplayer2.util.GlUtil
Deprecated.
Throws a GlUtil.GlException with the given message if expression evaluates to false.
checkInBounds() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Deprecated.
Verifies that the iterator points to a valid element.
checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IndexOutOfBoundsException if index falls outside the specified bounds.
checkInitialization() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
Checks whether the cache was initialized successfully.
checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalStateException if the calling thread is not the application's main thread.
checkNotEmpty(String) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalArgumentException if string is null or zero length.
checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalArgumentException if string is null or zero length.
checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws NullPointerException if reference is null.
checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws NullPointerException if reference is null.
checkRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Deprecated.
Returns whether the requirements are met.
checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalStateException if expression evaluates to false.
checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalStateException if expression evaluates to false.
checkStateNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalStateException if reference is null.
checkStateNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Deprecated.
Throws IllegalStateException if reference is null.
children - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
Deprecated.
 
chromaFormatIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Deprecated.
The chunk.
Chunk - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Chunk(DataSource, DataSpec, @com.google.android.exoplayer2.C.DataType int, Format, @com.google.android.exoplayer2.C.SelectionReason int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
Deprecated.
 
chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Deprecated.
 
ChunkExtractor - Interface in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChunkExtractor.Factory - Interface in com.google.android.exoplayer2.source.chunk
Deprecated.
Creates ChunkExtractor instances.
ChunkExtractor.TrackOutputProvider - Interface in com.google.android.exoplayer2.source.chunk
Deprecated.
Provides TrackOutput instances to be written to during extraction.
ChunkHolder - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChunkHolder() - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkHolder
Deprecated.
 
chunkIndex - Variable in class com.google.android.exoplayer2.source.chunk.MediaChunk
Deprecated.
The chunk index, or C.INDEX_UNSET if it is not known.
ChunkIndex - Class in com.google.android.exoplayer2.extractor
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChunkIndex(int[], long[], long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.ChunkIndex
Deprecated.
 
ChunkSampleStream<T extends ChunkSource> - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ChunkSampleStream(@com.google.android.exoplayer2.C.TrackType int, int[], Format[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, DrmSessionManager, DrmSessionEventListener.EventDispatcher, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Deprecated.
Constructs an instance.
ChunkSampleStream.EmbeddedSampleStream - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
ChunkSampleStream.ReleaseCallback<T extends ChunkSource> - Interface in com.google.android.exoplayer2.source.chunk
Deprecated.
A callback to be notified when a sample stream has finished being released.
ChunkSource - Interface in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
clear() - Method in class com.google.android.exoplayer2.decoder.Buffer
Deprecated.
Clears the buffer.
clear() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Deprecated.
 
clear() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
Deprecated.
 
clear() - Method in class com.google.android.exoplayer2.FormatHolder
Deprecated.
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Deprecated.
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Clears the playlist.
clear() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
clear() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
Deprecated.
 
clear() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Deprecated.
Clears all request properties.
clear() - Method in class com.google.android.exoplayer2.util.ListenerSet
Deprecated.
Removes all listeners from the set.
clear() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Deprecated.
Removes all of the values.
clear(Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
Clears the playlist and executes a custom action on completion.
clearAllKeyRequestProperties() - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Deprecated.
Clears all headers for key requests made by the callback.
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Deprecated.
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
 
clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Deprecated.
Clears all request headers that were set by HttpDataSource.setRequestProperty(String, String).
clearAndSet(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Deprecated.
Removes all properties previously existing and sets the keys and values of the map.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Detaches any previously attached auxiliary audio effect from the underlying audio track.
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
Deprecated.
 
clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
Deprecated.
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
clearCachedEncoders() - Static method in class com.google.android.exoplayer2.transformer.EncoderUtil
Deprecated.
Clears the cached list of encoders.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Clears the listener which receives camera motion events if it matches the one passed.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearDecoderInfoCache() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Deprecated.
 
clearDownloadManagerHelpers() - Static method in class com.google.android.exoplayer2.offline.DownloadService
Deprecated.
Clear all download manager helpers before restarting the service.
clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
Deprecated.
Clears any stored fatal error.
clearFlag(@com.google.android.exoplayer2.C.BufferFlags int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Deprecated.
Removes the flag from this buffer's flags, if it is set.
CLEARKEY_UUID - Static variable in class com.google.android.exoplayer2.C
Deprecated.
UUID for the ClearKey DRM scheme.
clearKeyRequestProperty(String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Deprecated.
Clears a header for key requests made by the callback.
clearListener() - Method in class com.google.android.exoplayer2.BaseRenderer
Deprecated.
 
clearListener() - Method in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
clearLocalAdInsertionComponents() - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Deprecated.
clearMediaItems() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
 
clearMediaItems() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.clearMediaItems() on the delegate.
clearMediaItems() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Clears the playlist.
clearMediaItems() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a clear media items action to be created.
ClearMediaItems(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearMediaItems
 
clearOutputFrame() - Static method in class com.google.android.exoplayer2.util.GlUtil
Deprecated.
Fills the pixels in the current output render target with (r=0, g=0, b=0, a=0).
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
 
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Removes the override for the provided media TrackGroup, if there is one.
clearOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
 
clearOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearOverrides() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Removes all overrides.
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
 
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
Removes all overrides of the provided track type.
clearPositionDiscontinuity() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
Deprecated.
Clears a previously set position discontinuity signal.
clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Deprecated.
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Deprecated.
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
 
clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Deprecated.
Clears the value of a request header.
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
CleartextNotPermittedException(IOException, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.CleartextNotPermittedException
Deprecated.
 
clearTrackOutputs() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
clearTrackSelections(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
Clears the selection of tracks for a period.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Clears the listener which receives video frame metadata events if it matches the one passed.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
clearVideoSurface() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
clearVideoSurface() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
This method is not supported and does nothing.
clearVideoSurface() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.clearVideoSurface() on the delegate.
clearVideoSurface() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Clears any Surface, SurfaceHolder, SurfaceView or TextureView currently set on the player.
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a clear video surface action.
clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
This method is not supported and does nothing.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
Calls Player.clearVideoSurface(Surface) on the delegate.
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Clears the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
ClearVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
This method is not supported and does nothing.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Clears the SurfaceHolder that holds the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
This method is not supported and does nothing.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Clears the SurfaceView onto which video is being rendered if it matches the one passed.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
This method is not supported and does nothing.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Clears the TextureView onto which video is being rendered if it matches the one passed.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
Deprecated.
 
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
Deprecated.
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Deprecated.
clearWindowColor() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Deprecated.
Sets Cue.windowColorSet to false.
clippedEndTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Deprecated.
The time from which output will end, or C.TIME_UNSET if output will end at the end of the chunk.
clippedStartTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Deprecated.
The time from which output will begin, or C.TIME_UNSET if output will begin from the start of the chunk.
clippingConfiguration - Variable in class com.google.android.exoplayer2.MediaItem
Deprecated.
The clipping properties.
ClippingMediaPeriod - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ClippingMediaPeriod(MediaPeriod, boolean, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaPeriod
Deprecated.
Creates a new clipping media period that provides a clipped view of the specified MediaPeriod's sample streams.
ClippingMediaSource - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ClippingMediaSource(MediaSource, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Deprecated.
Creates a new clipping source that wraps the specified source and provides samples from the default position for the specified duration.
ClippingMediaSource(MediaSource, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Deprecated.
Creates a new clipping source that wraps the specified source and provides samples between the specified start and end position.
ClippingMediaSource(MediaSource, long, long, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Deprecated.
Creates a new clipping source that wraps the specified source.
ClippingMediaSource.IllegalClippingException - Exception in com.google.android.exoplayer2.source
Deprecated.
Thrown when a ClippingMediaSource cannot clip its wrapped source.
ClippingMediaSource.IllegalClippingException.Reason - Annotation Type in com.google.android.exoplayer2.source
Deprecated.
The reason clipping failed.
clippingProperties - Variable in class com.google.android.exoplayer2.MediaItem
Deprecated.
Clock - Interface in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
clockRate - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
Deprecated.
The clock rate in Hertz, associated with the format.
cloneAndClear() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Deprecated.
Returns a copy of the shuffle order with all elements removed.
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Deprecated.
 
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
Deprecated.
 
cloneAndClear() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
cloneAndInsert(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Deprecated.
Returns a copy of the shuffle order with newly inserted elements.
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Deprecated.
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
Deprecated.
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
cloneAndRemove(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Deprecated.
Returns a copy of the shuffle order with a range of elements removed.
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Deprecated.
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
Deprecated.
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
close() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.muxer.Mp4Muxer
Deprecated.
Closes the MP4 file.
close() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink
 
close() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
Deprecated.
 
close() - Method in interface com.google.android.exoplayer2.upstream.DataSink
Deprecated.
Closes the sink.
close() - Method in interface com.google.android.exoplayer2.upstream.DataSource
Deprecated.
Closes the source.
close() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
Deprecated.
 
close() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.PlaceholderDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
Deprecated.
 
close() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Deprecated.
Closes the condition.
closedCaptions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist
Deprecated.
The closed caption renditions declared by the playlist.
closeQuietly(DataSource) - Static method in class com.google.android.exoplayer2.upstream.DataSourceUtil
Deprecated.
Closes a DataSource, suppressing any IOException that may occur.
closeQuietly(Closeable) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Closes a Closeable, suppressing any IOException that may occur.
closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
Deprecated.
 
closeSession(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Deprecated.
Closes a DRM session.
closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Deprecated.
 
closeSession(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
CLOSEST_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Deprecated.
Parameters for seeking to the closest sync point.
CmcdConfiguration - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CmcdConfiguration(String, String, CmcdConfiguration.RequestConfig) - Constructor for class com.google.android.exoplayer2.upstream.CmcdConfiguration
Deprecated.
Creates an instance.
CmcdConfiguration.CmcdKey - Annotation Type in com.google.android.exoplayer2.upstream
Deprecated.
Indicates that the annotated element represents a CMCD key.
CmcdConfiguration.Factory - Interface in com.google.android.exoplayer2.upstream
Deprecated.
Factory for CmcdConfiguration instances.
CmcdConfiguration.HeaderKey - Annotation Type in com.google.android.exoplayer2.upstream
Deprecated.
Header keys SHOULD be allocated to one of the four defined header names based upon their expected level of variability: CMCD-Object: keys whose values vary with the object being requested.
CmcdConfiguration.RequestConfig - Interface in com.google.android.exoplayer2.upstream
Deprecated.
Represents configuration which can vary on each request.
CmcdHeadersFactory - Class in com.google.android.exoplayer2.upstream
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CmcdHeadersFactory(CmcdConfiguration, ExoTrackSelection, long, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.CmcdHeadersFactory
Deprecated.
Creates an instance.
CmcdHeadersFactory.ObjectType - Annotation Type in com.google.android.exoplayer2.upstream
Deprecated.
Indicates the media type of current object being requested.
CmcdHeadersFactory.StreamingFormat - Annotation Type in com.google.android.exoplayer2.upstream
Deprecated.
Indicates the streaming format used for media content.
CmcdHeadersFactory.StreamType - Annotation Type in com.google.android.exoplayer2.upstream
Deprecated.
Indicates the type of streaming for media content.
Codec - Interface in com.google.android.exoplayer2.transformer
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CODEC_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
A non-standard codec string for E-AC3-JOC.
CODEC_OPERATING_RATE_UNSET - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Deprecated.
Indicates no codec operating rate should be set.
Codec.DecoderFactory - Interface in com.google.android.exoplayer2.transformer
Deprecated.
A factory for decoder instances.
Codec.EncoderFactory - Interface in com.google.android.exoplayer2.transformer
Deprecated.
A factory for encoder instances.
codecDelayNs - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
codecId - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
codecInfo - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Deprecated.
Information about the MediaCodec being configured.
codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
Deprecated.
The MediaCodecInfo of the decoder that failed.
codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
Deprecated.
The MediaCodecInfo of the decoder that failed to initialize.
CodecMaxValues(int, int, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
Deprecated.
 
codecMimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Deprecated.
The MIME type that the codec uses for media of type MediaCodecInfo.mimeType.
codecNeedsSetOutputSurfaceWorkaround(String) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Deprecated.
Returns whether the codec is known to implement MediaCodec.setOutputSurface(Surface) incorrectly.
codecPrivate - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
codecs - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
Deprecated.
The RFC 6381 codecs string.
codecs - Variable in class com.google.android.exoplayer2.Format
Deprecated.
Codecs of the format as described in RFC 6381, or null if unknown or not applicable.
codecs - Variable in class com.google.android.exoplayer2.video.AvcConfig
Deprecated.
An RFC 6381 codecs string representing the video format, or null if not known.
codecs - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
Deprecated.
The RFC 6381 codecs string.
codecs - Variable in class com.google.android.exoplayer2.video.HevcConfig
Deprecated.
An RFC 6381 codecs string representing the video format, or null if not known.
CodecSpecificDataUtil - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
COLOR_RANGE_FULL - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_RANGE_LIMITED - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_SPACE_BT2020 - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_SPACE_BT601 - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_SPACE_BT709 - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_TRANSFER_GAMMA_2_2 - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_TRANSFER_HLG - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_TRANSFER_LINEAR - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_TRANSFER_SDR - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_TRANSFER_SRGB - Static variable in class com.google.android.exoplayer2.C
Deprecated.
COLOR_TRANSFER_ST2084 - Static variable in class com.google.android.exoplayer2.C
Deprecated.
colorInfo - Variable in class com.google.android.exoplayer2.Format
Deprecated.
The color metadata associated with the video, or null if not applicable.
colorInfo - Variable in class com.google.android.exoplayer2.transformer.ExportResult
Deprecated.
The ColorInfo of the video, or null if unset or unknown.
colorInfo - Variable in class com.google.android.exoplayer2.transformer.TransformationResult
Deprecated.
The ColorInfo of the video, or null if unset or unknown.
ColorInfo - Class in com.google.android.exoplayer2.video
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ColorInfo(@com.google.android.exoplayer2.C.ColorSpace int, @com.google.android.exoplayer2.C.ColorRange int, @com.google.android.exoplayer2.C.ColorTransfer int, byte[]) - Constructor for class com.google.android.exoplayer2.video.ColorInfo
Deprecated.
ColorInfo.Builder - Class in com.google.android.exoplayer2.video
Deprecated.
Builds ColorInfo instances.
ColorLut - Interface in com.google.android.exoplayer2.effect
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ColorParser - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
colorRange - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
colorRange - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
colorRange - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
Deprecated.
 
colorRange - Variable in class com.google.android.exoplayer2.video.AvcConfig
Deprecated.
The C.ColorRange of the video, or Format.NO_VALUE if unknown or not applicable.
colorRange - Variable in class com.google.android.exoplayer2.video.ColorInfo
Deprecated.
colorRange - Variable in class com.google.android.exoplayer2.video.HevcConfig
Deprecated.
The C.ColorRange of the video or Format.NO_VALUE if unknown or not applicable.
colors - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
Deprecated.
For indexed-color pictures (e.g.
colorspace - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Deprecated.
 
colorSpace - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
colorSpace - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
colorSpace - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
Deprecated.
 
colorSpace - Variable in class com.google.android.exoplayer2.video.AvcConfig
Deprecated.
The C.ColorSpace of the video, or Format.NO_VALUE if unknown or not applicable.
colorSpace - Variable in class com.google.android.exoplayer2.video.ColorInfo
Deprecated.
colorSpace - Variable in class com.google.android.exoplayer2.video.HevcConfig
Deprecated.
The C.ColorSpace of the video or Format.NO_VALUE if unknown or not applicable.
COLORSPACE_BT2020 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Deprecated.
 
COLORSPACE_BT601 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Deprecated.
 
COLORSPACE_BT709 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Deprecated.
 
COLORSPACE_UNKNOWN - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Deprecated.
 
colorTransfer - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
Deprecated.
 
colorTransfer - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
colorTransfer - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
Deprecated.
 
colorTransfer - Variable in class com.google.android.exoplayer2.video.AvcConfig
Deprecated.
The C.ColorTransfer of the video, or Format.NO_VALUE if unknown or not applicable.
colorTransfer - Variable in class com.google.android.exoplayer2.video.ColorInfo
Deprecated.
colorTransfer - Variable in class com.google.android.exoplayer2.video.HevcConfig
Deprecated.
The C.ColorTransfer of the video or Format.NO_VALUE if unknown or not applicable.
com.google.android.exoplayer2 - package com.google.android.exoplayer2
 
com.google.android.exoplayer2.analytics - package com.google.android.exoplayer2.analytics
 
com.google.android.exoplayer2.audio - package com.google.android.exoplayer2.audio
 
com.google.android.exoplayer2.container - package com.google.android.exoplayer2.container
 
com.google.android.exoplayer2.database - package com.google.android.exoplayer2.database
 
com.google.android.exoplayer2.decoder - package com.google.android.exoplayer2.decoder
 
com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
 
com.google.android.exoplayer2.effect - package com.google.android.exoplayer2.effect
 
com.google.android.exoplayer2.ext.av1 - package com.google.android.exoplayer2.ext.av1
 
com.google.android.exoplayer2.ext.cast - package com.google.android.exoplayer2.ext.cast
 
com.google.android.exoplayer2.ext.cronet - package com.google.android.exoplayer2.ext.cronet
 
com.google.android.exoplayer2.ext.ffmpeg - package com.google.android.exoplayer2.ext.ffmpeg
 
com.google.android.exoplayer2.ext.flac - package com.google.android.exoplayer2.ext.flac
 
com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
 
com.google.android.exoplayer2.ext.leanback - package com.google.android.exoplayer2.ext.leanback
 
com.google.android.exoplayer2.ext.media2 - package com.google.android.exoplayer2.ext.media2
 
com.google.android.exoplayer2.ext.mediasession - package com.google.android.exoplayer2.ext.mediasession
 
com.google.android.exoplayer2.ext.okhttp - package com.google.android.exoplayer2.ext.okhttp
 
com.google.android.exoplayer2.ext.opus - package com.google.android.exoplayer2.ext.opus
 
com.google.android.exoplayer2.ext.rtmp - package com.google.android.exoplayer2.ext.rtmp
 
com.google.android.exoplayer2.ext.vp9 - package com.google.android.exoplayer2.ext.vp9
 
com.google.android.exoplayer2.ext.workmanager - package com.google.android.exoplayer2.ext.workmanager
 
com.google.android.exoplayer2.extractor - package com.google.android.exoplayer2.extractor
 
com.google.android.exoplayer2.extractor.amr - package com.google.android.exoplayer2.extractor.amr
 
com.google.android.exoplayer2.extractor.avi - package com.google.android.exoplayer2.extractor.avi
 
com.google.android.exoplayer2.extractor.flac - package com.google.android.exoplayer2.extractor.flac
 
com.google.android.exoplayer2.extractor.flv - package com.google.android.exoplayer2.extractor.flv
 
com.google.android.exoplayer2.extractor.jpeg - package com.google.android.exoplayer2.extractor.jpeg
 
com.google.android.exoplayer2.extractor.mkv - package com.google.android.exoplayer2.extractor.mkv
 
com.google.android.exoplayer2.extractor.mp3 - package com.google.android.exoplayer2.extractor.mp3
 
com.google.android.exoplayer2.extractor.mp4 - package com.google.android.exoplayer2.extractor.mp4
 
com.google.android.exoplayer2.extractor.ogg - package com.google.android.exoplayer2.extractor.ogg
 
com.google.android.exoplayer2.extractor.ts - package com.google.android.exoplayer2.extractor.ts
 
com.google.android.exoplayer2.extractor.wav - package com.google.android.exoplayer2.extractor.wav
 
com.google.android.exoplayer2.mediacodec - package com.google.android.exoplayer2.mediacodec
 
com.google.android.exoplayer2.metadata - package com.google.android.exoplayer2.metadata
 
com.google.android.exoplayer2.metadata.dvbsi - package com.google.android.exoplayer2.metadata.dvbsi
 
com.google.android.exoplayer2.metadata.emsg - package com.google.android.exoplayer2.metadata.emsg
 
com.google.android.exoplayer2.metadata.flac - package com.google.android.exoplayer2.metadata.flac
 
com.google.android.exoplayer2.metadata.icy - package com.google.android.exoplayer2.metadata.icy
 
com.google.android.exoplayer2.metadata.id3 - package com.google.android.exoplayer2.metadata.id3
 
com.google.android.exoplayer2.metadata.mp4 - package com.google.android.exoplayer2.metadata.mp4
 
com.google.android.exoplayer2.metadata.scte35 - package com.google.android.exoplayer2.metadata.scte35
 
com.google.android.exoplayer2.metadata.vorbis - package com.google.android.exoplayer2.metadata.vorbis
 
com.google.android.exoplayer2.muxer - package com.google.android.exoplayer2.muxer
 
com.google.android.exoplayer2.offline - package com.google.android.exoplayer2.offline
 
com.google.android.exoplayer2.robolectric - package com.google.android.exoplayer2.robolectric
 
com.google.android.exoplayer2.scheduler - package com.google.android.exoplayer2.scheduler
 
com.google.android.exoplayer2.source - package com.google.android.exoplayer2.source
 
com.google.android.exoplayer2.source.ads - package com.google.android.exoplayer2.source.ads
 
com.google.android.exoplayer2.source.chunk - package com.google.android.exoplayer2.source.chunk
 
com.google.android.exoplayer2.source.dash - package com.google.android.exoplayer2.source.dash
 
com.google.android.exoplayer2.source.dash.manifest - package com.google.android.exoplayer2.source.dash.manifest
 
com.google.android.exoplayer2.source.dash.offline - package com.google.android.exoplayer2.source.dash.offline
 
com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
 
com.google.android.exoplayer2.source.hls.offline - package com.google.android.exoplayer2.source.hls.offline
 
com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
 
com.google.android.exoplayer2.source.mediaparser - package com.google.android.exoplayer2.source.mediaparser
 
com.google.android.exoplayer2.source.rtsp - package com.google.android.exoplayer2.source.rtsp
 
com.google.android.exoplayer2.source.rtsp.reader - package com.google.android.exoplayer2.source.rtsp.reader
 
com.google.android.exoplayer2.source.smoothstreaming - package com.google.android.exoplayer2.source.smoothstreaming
 
com.google.android.exoplayer2.source.smoothstreaming.manifest - package com.google.android.exoplayer2.source.smoothstreaming.manifest
 
com.google.android.exoplayer2.source.smoothstreaming.offline - package com.google.android.exoplayer2.source.smoothstreaming.offline
 
com.google.android.exoplayer2.testutil - package com.google.android.exoplayer2.testutil
 
com.google.android.exoplayer2.testutil.truth - package com.google.android.exoplayer2.testutil.truth
 
com.google.android.exoplayer2.text - package com.google.android.exoplayer2.text
 
com.google.android.exoplayer2.text.cea - package com.google.android.exoplayer2.text.cea
 
com.google.android.exoplayer2.text.dvb - package com.google.android.exoplayer2.text.dvb
 
com.google.android.exoplayer2.text.pgs - package com.google.android.exoplayer2.text.pgs
 
com.google.android.exoplayer2.text.span - package com.google.android.exoplayer2.text.span
 
com.google.android.exoplayer2.text.ssa - package com.google.android.exoplayer2.text.ssa
 
com.google.android.exoplayer2.text.subrip - package com.google.android.exoplayer2.text.subrip
 
com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
 
com.google.android.exoplayer2.text.tx3g - package com.google.android.exoplayer2.text.tx3g
 
com.google.android.exoplayer2.text.webvtt - package com.google.android.exoplayer2.text.webvtt
 
com.google.android.exoplayer2.trackselection - package com.google.android.exoplayer2.trackselection
 
com.google.android.exoplayer2.transformer - package com.google.android.exoplayer2.transformer
 
com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
 
com.google.android.exoplayer2.upstream - package com.google.android.exoplayer2.upstream
 
com.google.android.exoplayer2.upstream.cache - package com.google.android.exoplayer2.upstream.cache
 
com.google.android.exoplayer2.upstream.crypto - package com.google.android.exoplayer2.upstream.crypto
 
com.google.android.exoplayer2.upstream.experimental - package com.google.android.exoplayer2.upstream.experimental
 
com.google.android.exoplayer2.util - package com.google.android.exoplayer2.util
 
com.google.android.exoplayer2.video - package com.google.android.exoplayer2.video
 
com.google.android.exoplayer2.video.spherical - package com.google.android.exoplayer2.video.spherical
 
CombinedParallelSampleBandwidthEstimator - Class in com.google.android.exoplayer2.upstream.experimental
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CombinedParallelSampleBandwidthEstimator.Builder - Class in com.google.android.exoplayer2.upstream.experimental
Deprecated.
A builder to create CombinedParallelSampleBandwidthEstimator instances.
COMMAND_ADJUST_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGS - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to increase and decrease the device volume and mute it with volume flags.
COMMAND_CHANGE_MEDIA_ITEMS - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to change the media items in the playlist.
COMMAND_GET_AUDIO_ATTRIBUTES - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get the player current AudioAttributes.
COMMAND_GET_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get information about the currently playing MediaItem.
COMMAND_GET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get the device volume and whether it is muted.
COMMAND_GET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_GET_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get metadata related to the playlist and current MediaItem.
COMMAND_GET_TEXT - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get the text that should currently be displayed by the player.
COMMAND_GET_TIMELINE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get the information about the current timeline.
COMMAND_GET_TRACKS - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get details of the current track selection.
COMMAND_GET_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to get the player volume.
COMMAND_INVALID - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Represents an invalid Player.Command.
COMMAND_MOVE_QUEUE_ITEM - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
Deprecated.
 
COMMAND_PLAY_PAUSE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to start, pause or resume playback.
COMMAND_PREPARE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to prepare the player.
COMMAND_RELEASE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to release the player.
COMMAND_SEEK_BACK - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to seek back by a fixed increment inside the current MediaItem.
COMMAND_SEEK_FORWARD - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
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
Deprecated.
Command to seek anywhere inside the current MediaItem.
COMMAND_SEEK_IN_CURRENT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SEEK_TO_DEFAULT_POSITION - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to seek to the default position of the current MediaItem.
COMMAND_SEEK_TO_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to seek anywhere in any MediaItem.
COMMAND_SEEK_TO_NEXT - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
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
Deprecated.
Command to seek to the default position of the next MediaItem.
COMMAND_SEEK_TO_NEXT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SEEK_TO_PREVIOUS - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
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
Deprecated.
Command to seek to the default position of the previous MediaItem.
COMMAND_SEEK_TO_PREVIOUS_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SEEK_TO_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set the device volume with volume flags.
COMMAND_SET_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set a MediaItem.
COMMAND_SET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SET_PLAYLIST_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set the playlist metadata.
COMMAND_SET_REPEAT_MODE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set the repeat mode.
COMMAND_SET_SHUFFLE_MODE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to enable shuffling.
COMMAND_SET_SPEED_AND_PITCH - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set the playback speed and pitch.
COMMAND_SET_TRACK_SELECTION_PARAMETERS - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set the player's track selection parameters.
COMMAND_SET_VIDEO_SURFACE - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set and clear the surface on which to render the video.
COMMAND_SET_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to set the player volume.
COMMAND_STOP - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
Command to stop playback.
commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
Deprecated.
The private bytes as defined in SCTE35, Section 9.3.6.
CommentFrame - Class in com.google.android.exoplayer2.metadata.id3
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CommentFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.CommentFrame
Deprecated.
 
CommentHeader(String, String[], int) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
Deprecated.
 
comments - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
Deprecated.
 
commitFile(File, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Deprecated.
Commits a file into the cache.
commitFile(File, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
 
COMMON_PSSH_UUID - Static variable in class com.google.android.exoplayer2.C
Deprecated.
UUID for the W3C Common PSSH box.
compare(DrmInitData.SchemeData, DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Deprecated.
 
compareLong(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Compares two long values and returns the same value as Long.compare(long, long).
compareTo(SegmentDownloader.Segment) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
Deprecated.
 
compareTo(StreamKey) - Method in class com.google.android.exoplayer2.offline.StreamKey
Deprecated.
 
compareTo(FakeClock.HandlerMessage) - Method in class com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
 
compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Deprecated.
 
compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
Deprecated.
 
compilation - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional compilation.
compile(String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Deprecated.
Compile an instance from the provided template string.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Deprecated.
If SpliceInsertCommand.programSpliceFlag is false, a non-empty list containing the SpliceInsertCommand.ComponentSplices.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Deprecated.
componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
Deprecated.
 
componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
Deprecated.
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
Deprecated.
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
Deprecated.
 
composer - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional composer.
CompositeMediaSource<T> - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CompositeMediaSource() - Constructor for class com.google.android.exoplayer2.source.CompositeMediaSource
Deprecated.
Creates composite media source without child sources.
CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
Deprecated.
 
CompositeSequenceableLoaderFactory - Interface in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Composition - Class in com.google.android.exoplayer2.transformer
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Composition.Builder - Class in com.google.android.exoplayer2.transformer
Deprecated.
A builder for Composition instances.
ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ConcatenatingMediaSource(boolean, boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
 
ConcatenatingMediaSource(boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
 
ConcatenatingMediaSource(boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
 
ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Deprecated.
 
ConcatenatingMediaSource2 - Class in com.google.android.exoplayer2.source
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ConcatenatingMediaSource2.Builder - Class in com.google.android.exoplayer2.source
Deprecated.
A builder for ConcatenatingMediaSource2 instances.
ConditionVariable - Class in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ConditionVariable() - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
Deprecated.
Creates a closed instance using Clock.DEFAULT.
ConditionVariable(Clock) - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
Deprecated.
Creates an instance, which starts closed.
conductor - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
Optional conductor.
configs() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Returns a list of arrays containing ExtractorAsserts.SimulationConfig objects to exercise different extractor paths.
configsNoSniffing() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Returns a list of arrays containing ExtractorAsserts.SimulationConfig objects to exercise different extractor paths in which the input is not sniffed.
ConfigurationException(String, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Deprecated.
Creates a new configuration exception with the specified message and no cause.
ConfigurationException(Throwable, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Deprecated.
Creates a new configuration exception with the specified cause and no message.
configure(int, int) - Method in class com.google.android.exoplayer2.effect.BaseGlShaderProgram
Deprecated.
Configures the instance based on the input dimensions.
configure(int, int) - Method in class com.google.android.exoplayer2.effect.Crop
Deprecated.
 
configure(int, int) - Method in interface com.google.android.exoplayer2.effect.GlMatrixTransformation
Deprecated.
Configures the input and output dimensions.
configure(int, int) - Method in class com.google.android.exoplayer2.effect.Presentation
Deprecated.
 
configure(int, int) - Method in class com.google.android.exoplayer2.effect.ScaleAndRotateTransformation
Deprecated.
 
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.AudioProcessingPipeline
Deprecated.
Configures the pipeline to process input audio with the specified format.
configure(AudioProcessor.AudioFormat) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Deprecated.
Configures the processor to process input audio with the specified format.
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Deprecated.
 
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Deprecated.
 
configure(AudioProcessor.AudioFormat, int, long) - Method in interface com.google.android.exoplayer2.transformer.AudioMixer
Deprecated.
Configures the mixer.
configure(Format, int, int[]) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Deprecated.
Configures (or reconfigures) the sink.
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
Deprecated.
 
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
Deprecated.
 
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
configure(Size) - Method in class com.google.android.exoplayer2.effect.TextureOverlay
Deprecated.
Set up resources for the overlay given the input video’s dimensions.
ConstantBitrateSeekMap - Class in com.google.android.exoplayer2.extractor
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ConstantBitrateSeekMap(long, long, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Deprecated.
Creates an instance with allowSeeksIfLengthUnknown set to false.
ConstantBitrateSeekMap(long, long, int, int, boolean) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Deprecated.
Creates an instance.
constrainAudioChannelCountToDeviceCapabilities - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
Whether to constrain audio track selection so that the selected track's channel count does not exceed the device's output capabilities.
constraintBytes - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
Deprecated.
 
constraintsFlagsAndReservedZero2Bits - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
Deprecated.
 
constrainValue(float, float, float) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Constrains a value to the specified bounds.
constrainValue(int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Constrains a value to the specified bounds.
constrainValue(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Constrains a value to the specified bounds.
consume(byte[], int) - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Deprecated.
Called by DataChunk.load().
consume(long, ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
Deprecated.
 
consume(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.extractor.CeaUtil
Deprecated.
Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608/708 messages as samples to all of the provided outputs.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
Deprecated.
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Deprecated.
Consumes (possibly partial) data from the current packet.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
Deprecated.
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.PassthroughSectionPayloadReader
Deprecated.
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
Deprecated.
Called by a SectionReader when a full section is received.
consume(ParsableByteArray, @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
Deprecated.
 
consume(ParsableByteArray, @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
Deprecated.
 
consume(ParsableByteArray, @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Deprecated.
Consumes the payload of a TS packet.
consume(ParsableByteArray, long, int, boolean) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
Deprecated.
 
consume(ParsableByteArray, long, int, boolean) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
Deprecated.
Consumes the payload from the an RTP packet.
consume(ParsableByteArray, long, int, boolean) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpPcmReader
Deprecated.
 
consumeCcData(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.extractor.CeaUtil
Deprecated.
Consumes caption data (cc_data), writing the content as samples to all of the provided outputs.
Consumer<T> - Interface in com.google.android.exoplayer2.util
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ContainerMediaChunk - Class in com.google.android.exoplayer2.source.chunk
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ContainerMediaChunk(DataSource, DataSpec, Format, @com.google.android.exoplayer2.C.SelectionReason int, Object, long, long, long, long, long, int, long, ChunkExtractor) - Constructor for class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
Deprecated.
 
containerMimeType - Variable in class com.google.android.exoplayer2.Format
Deprecated.
The MIME type of the container, or null if unknown or not applicable.
contains(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Deprecated.
Returns whether the given event occurred.
contains(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.Player.Commands
Deprecated.
Returns whether the set of commands contains the specified Player.Command.
contains(@com.google.android.exoplayer2.Player.Event int) - Method in class com.google.android.exoplayer2.Player.Events
Deprecated.
Returns whether the given Player.Event occurred.
contains(int) - Method in class com.google.android.exoplayer2.util.FlagSet
Deprecated.
Returns whether the set contains the given flag.
contains(Object[], Object) - Static method in class com.google.android.exoplayer2.util.Util
Deprecated.
Tests whether an items array contains an object equal to item, according to Object.equals(Object).
contains(String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Deprecated.
Returns whether the metadata is available.
contains(String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Deprecated.
 
containsAny(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int...) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Deprecated.
Returns whether any of the given events occurred.
containsAny(@com.google.android.exoplayer2.Player.Command int...) - Method in class com.google.android.exoplayer2.Player.Commands
Deprecated.
Returns whether the set of commands contains at least one of the given commands.
containsAny(@com.google.android.exoplayer2.Player.Event int...) - Method in class com.google.android.exoplayer2.Player.Events
Deprecated.
Returns whether any of the given events occurred.
containsAny(int...) - Method in class com.google.android.exoplayer2.util.FlagSet
Deprecated.
Returns whether the set contains at least one of the given flags.
containsCodecsCorrespondingToMimeType(String, String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Deprecated.
Returns whether the given codecs string contains a codec which corresponds to the given mimeType.
containsTrack(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Deprecated.
Returns whether this override contains the specified track index.
containsType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.Tracks
Deprecated.
Returns true if there are tracks of type trackType, and false otherwise.
CONTENT_TYPE_DASH - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Value representing a DASH manifest.
CONTENT_TYPE_HLS - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Value representing an HLS manifest.
CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
CONTENT_TYPE_RTSP - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Value representing an RTSP stream.
CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_SS - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Value representing a Smooth Streaming manifest.
CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Deprecated.
contentBufferedPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
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
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ContentDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
Deprecated.
 
ContentDataSource.ContentDataSourceException - Exception in com.google.android.exoplayer2.upstream
Deprecated.
Thrown when an IOException is encountered reading from a content URI.
ContentDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
ContentDataSourceException(IOException, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
Deprecated.
Creates a new instance.
contentDurationUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Deprecated.
The duration of the content period in microseconds, if known.
contentId - Variable in class com.google.android.exoplayer2.upstream.CmcdConfiguration
Deprecated.
A GUID identifying the current content, or null if unset.
contentIsMalformed - Variable in exception com.google.android.exoplayer2.ParserException
Deprecated.
Whether the parsing error was caused by a bitstream not following the expected format.
contentLength - Variable in class com.google.android.exoplayer2.offline.Download
Deprecated.
The total size of the content in bytes, or C.LENGTH_UNSET if unknown.
contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
Deprecated.
The content length, or C.LENGTH_UNSET if unknown.
ContentMetadata - Interface in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ContentMetadataMutations - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
ContentMetadataMutations() - Constructor for class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Deprecated.
Constructs a DefaultMetadataMutations.
contentPositionMs - Variable in class com.google.android.exoplayer2.Player.PositionInfo
Deprecated.
The content position, in milliseconds.
contentPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
Deprecated.
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
Deprecated.
The offset in microseconds which should be added to the content stream when resuming playback after the ad group.
contentType - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
Deprecated.
contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
Deprecated.
 
context - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Deprecated.
 
context - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
Deprecated.
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Deprecated.
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
Deprecated.
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
Deprecated.
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
Deprecated.
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Deprecated.
 
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Deprecated.
Attempts to continue loading.
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Deprecated.
Attempts to continue loading.
continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
Contrast - Class in com.google.android.exoplayer2.effect
Deprecated.
com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Contrast(float) - Constructor for class com.google.android.exoplayer2.effect.