Skip navigation links
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 

A

AAC_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
absoluteStreamPosition - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The absolute position of the data in the full stream.
AC3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
Ac3Extractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from (E-)AC-3 bitstreams.
Ac3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
Ac3Extractor(long) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
Ac3Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous (E-)AC-3 byte stream and extracts individual samples.
Ac3Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Reader
Constructs a new reader for (E-)AC-3 elementary streams.
Ac3Reader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Reader
Constructs a new reader for (E-)AC-3 elementary streams.
Ac3Util - Class in com.google.android.exoplayer2.audio
Utility methods for parsing Dolby TrueHD and (E-)AC-3 syncframes.
Ac3Util.SyncFrameInfo - Class in com.google.android.exoplayer2.audio
Holds sample format information as presented by a syncframe header.
Ac3Util.SyncFrameInfo.StreamType - Annotation Type in com.google.android.exoplayer2.audio
AC3 stream types.
AC40_SYNCWORD - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
 
AC41_SYNCWORD - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
 
AC4_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
Ac4Extractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from AC-4 bitstreams.
Ac4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
Creates a new extractor for AC-4 bitstreams.
Ac4Extractor(long) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
Creates a new extractor for AC-4 bitstreams, using the specified first sample timestamp.
Ac4Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous AC-4 byte stream and extracts individual samples.
Ac4Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Reader
Constructs a new reader for AC-4 elementary streams.
Ac4Reader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Reader
Constructs a new reader for AC-4 elementary streams.
Ac4Util - Class in com.google.android.exoplayer2.audio
Utility methods for parsing AC-4 frames, which are access units in AC-4 bitstreams.
Ac4Util.SyncFrameInfo - Class in com.google.android.exoplayer2.audio
Holds sample format information as presented by a syncframe header.
accessibilityChannel - Variable in class com.google.android.exoplayer2.Format
The Accessibility channel, or Format.NO_VALUE if not known or applicable.
accessibilityDescriptors - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Accessibility descriptors in the adaptation set.
acquireReference() - Method in class com.google.android.exoplayer2.drm.DecryptionResource
Increases by one the reference count for this resource.
acquireSession(Looper, DrmInitData) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
acquireSession(Looper, DrmInitData) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Acquires a DrmSession for the specified DrmInitData.
ACTION_ADD_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Adds a new download.
ACTION_FAST_FORWARD - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which fast forwards.
ACTION_INIT - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Starts a download service to resume any ongoing downloads.
ACTION_NEXT - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which skips to the next window.
ACTION_PAUSE - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which pauses playback.
ACTION_PAUSE_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Pauses all downloads.
ACTION_PLAY - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which starts playback.
ACTION_PREVIOUS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which skips to the previous window.
ACTION_REMOVE_ALL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Removes all downloads.
ACTION_REMOVE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Removes a download.
ACTION_RESUME_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Resumes all downloads except those that have a non-zero Download.stopReason.
ACTION_REWIND - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which rewinds.
ACTION_SET_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
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
Sets the stop reason for one or all downloads.
ACTION_STOP - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which stops playback.
ActionFileUpgradeUtil - Class in com.google.android.exoplayer2.offline
Utility class for upgrading legacy action files into DefaultDownloadIndex.
ActionFileUpgradeUtil.DownloadIdProvider - Interface in com.google.android.exoplayer2.offline
Provides download IDs during action file upgrade.
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
 
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
 
AD_STATE_AVAILABLE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
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
State for an ad that could not be loaded.
AD_STATE_PLAYED - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
State for an ad that was played in full.
AD_STATE_SKIPPED - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
State for an ad that was skipped.
AD_STATE_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
State for an ad that does not yet have a URL.
AdaptationSet - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a set of interchangeable encoded versions of a media content component.
AdaptationSet(int, int, List<Representation>, List<Descriptor>, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
 
adaptationSets - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The adaptation sets belonging to the period.
adaptive - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports seamless resolution switches.
ADAPTIVE_NOT_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
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
The Renderer does not support adaptation between formats.
ADAPTIVE_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer can seamlessly adapt between formats.
ADAPTIVE_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
AdaptiveMediaSourceEventListener - Interface in com.google.android.exoplayer2.source
Deprecated.
AdaptiveTrackSelection - Class in com.google.android.exoplayer2.trackselection
A bandwidth based adaptive TrackSelection, whose selected track is updated to be the one of highest quality given the current network conditions and the state of the buffer.
AdaptiveTrackSelection(TrackGroup, int[], BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
AdaptiveTrackSelection(TrackGroup, int[], BandwidthMeter, long, long, long, float, float, long, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
AdaptiveTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
Factory for AdaptiveTrackSelection instances.
add(MediaItem...) - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemQueue
Appends the given sequence of items to the queue.
add(int, MediaItem...) - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemQueue
Adds the given sequence of items to the queue at the given position, so that the first of items is placed at the given index.
add(int, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
Adds a MediaDescriptionCompat at the given position.
add(long) - Method in class com.google.android.exoplayer2.util.LongArray
Appends a value.
add(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Register a new task.
add(long, V) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Associates the specified value with the specified timestamp.
addAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Adds an AnalyticsListener to receive analytics events.
addAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
Use SimpleExoPlayer.addAnalyticsListener(AnalyticsListener) to get more detailed debug information.
addAudioLanguagesToSelection(String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Convenience method to add selections of tracks for all specified audio languages.
addAudioListener(AudioListener) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Adds a listener to receive audio events.
addAudioListener(AudioListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
addCallback(VideoAdPlayer.VideoAdPlayerCallback) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
addDownload(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Adds a download defined by the given request.
addDownload(DownloadRequest, int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Adds a download defined by the given request and with the specified stop reason.
addEventListener(Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
addEventListener(Handler, MediaSourceEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
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
Adds a listener to the event dispatcher.
addEventListener(Handler, BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
addFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Adds the flag to this buffer's flags.
addItems(MediaQueueItem...) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Appends a sequence of items to the media queue.
addItems(int, MediaQueueItem...) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Inserts a sequence of items into the media queue.
addListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Adds a listener for analytics events.
addListener(Handler, DefaultDrmSessionEventListener) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Adds a DefaultDrmSessionEventListener to listen to drm session events.
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
addListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
addListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
Register a listener to receive events from the player.
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Registers a listener to receive events from the playlist tracker.
addListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
addListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Adds a listener for scrubbing events.
addListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Registers a listener to listen for changes to a given key.
addListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
addListener(Handler, T) - Method in class com.google.android.exoplayer2.util.EventDispatcher
Adds a listener to the event dispatcher.
addMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Appends a MediaSource to the playlist.
addMediaSource(MediaSource, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Appends a MediaSource to the playlist and executes a custom action on completion.
addMediaSource(int, MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Adds a MediaSource to the playlist.
addMediaSource(int, MediaSource, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Adds a MediaSource to the playlist and executes a custom action on completion.
addMediaSources(Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Appends multiple MediaSources to the playlist.
addMediaSources(Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Appends multiple MediaSources to the playlist and executes a custom action on completion.
addMediaSources(int, Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Adds multiple MediaSources to the playlist.
addMediaSources(int, Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Adds multiple MediaSources to the playlist and executes a custom action on completion.
addMetadataOutput(MetadataOutput) - Method in interface com.google.android.exoplayer2.Player.MetadataComponent
Adds a MetadataOutput to receive metadata.
addMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
addSample(int, float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
Adds a new weighted value.
addTextLanguagesToSelection(boolean, String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Convenience method to add selections of tracks for all specified text languages.
addTextOutput(TextOutput) - Method in interface com.google.android.exoplayer2.Player.TextComponent
Registers an output to receive text events.
addTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
addTrackSelection(int, DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
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
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
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
addTransferListener(TransferListener) - Method in interface com.google.android.exoplayer2.upstream.DataSource
Adds a TransferListener to listen to data transfers.
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
addVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
Use SimpleExoPlayer.addAnalyticsListener(AnalyticsListener) to get more detailed debug information.
addVideoListener(VideoListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Adds a listener to receive video events.
addVideoListener(VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
addWithOverflowDefault(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the sum of two arguments, or a third argument if the result overflows.
AdGroup() - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Creates a new ad group with an unspecified number of ads.
adGroupCount - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The number of ad groups.
adGroupIndex - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
If the media period is in an ad group, the index of the ad group in the period.
adGroups - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The ad groups.
adGroupTimesUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The times of ad groups, in microseconds.
adIndexInAdGroup - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
If the media period is in an ad group, the index of the ad in its ad group in the period.
adjustReleaseTime(long, long) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
Adjusts a frame release timestamp.
adjustSampleTimestamp(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Offsets a timestamp in microseconds.
adjustTsTimestamp(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Scales and offsets an MPEG-2 TS presentation timestamp considering wraparound.
AdPlaybackState - Class in com.google.android.exoplayer2.source.ads
Represents ad group times relative to the start of the media and information on the state and URIs of ads within each ad group.
AdPlaybackState(long...) - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState
Creates a new ad playback state with the specified ad group times.
AdPlaybackState.AdGroup - Class in com.google.android.exoplayer2.source.ads
Represents a group of ads, with information about their states.
AdPlaybackState.AdState - Annotation Type in com.google.android.exoplayer2.source.ads
Represents the state of an ad in an ad group.
adResumePositionUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The position offset in the first unplayed ad at which to begin playback, in microseconds.
AdsLoader - Interface in com.google.android.exoplayer2.source.ads
Interface for loaders of ads, which can be used with AdsMediaSource.
AdsLoader.AdViewProvider - Interface in com.google.android.exoplayer2.source.ads
Provides views for the ad UI.
AdsLoader.EventListener - Interface in com.google.android.exoplayer2.source.ads
Listener for ads loader events.
AdsMediaSource - Class in com.google.android.exoplayer2.source.ads
A MediaSource that inserts ads linearly with a provided content media source.
AdsMediaSource(MediaSource, DataSource.Factory, AdsLoader, AdsLoader.AdViewProvider) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
AdsMediaSource(MediaSource, AdsMediaSource.MediaSourceFactory, AdsLoader, AdsLoader.AdViewProvider) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
AdsMediaSource.AdLoadException - Exception in com.google.android.exoplayer2.source.ads
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
Types of ad load exceptions.
AdsMediaSource.MediaSourceFactory - Interface in com.google.android.exoplayer2.source.ads
Factory for creating MediaSources to play ad media.
AdtsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from AAC bit streams with ADTS framing.
AdtsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
AdtsExtractor(long) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
AdtsExtractor(long, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
AdtsExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
Flags controlling the behavior of the extractor.
AdtsReader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous ADTS byte stream and extracts individual frames.
AdtsReader(boolean) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
AdtsReader(boolean, String) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
ADVANCE_FAILED - Static variable in class com.google.android.exoplayer2.source.SampleQueue
 
advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
advancePeekPosition(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
advancePeekPosition(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Advances the peek position by length bytes.
advancePeekPosition(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Advances the peek position by length bytes.
advanceTo(long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Attempts to advance the read position to the sample before or at the specified time.
advanceToEnd() - Method in class com.google.android.exoplayer2.source.SampleQueue
Advances the read position to the end of the queue.
AesCipherDataSink - Class in com.google.android.exoplayer2.upstream.crypto
A wrapping DataSink that encrypts the data being consumed.
AesCipherDataSink(byte[], DataSink) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
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
Create an instance whose write methods are free of side effects.
AesCipherDataSource - Class in com.google.android.exoplayer2.upstream.crypto
A DataSource that decrypts the data read from an upstream source.
AesCipherDataSource(byte[], DataSource) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
AesFlushingCipher - Class in com.google.android.exoplayer2.upstream.crypto
A flushing variant of a AES/CTR/NoPadding Cipher.
AesFlushingCipher(int, byte[], long, long) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
 
alignVideoSizeV21(int, int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
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
 
allocate() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Obtain an Allocation.
allocate() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
Allocation - Class in com.google.android.exoplayer2.upstream
An allocation within a byte array.
Allocation(byte[], int) - Constructor for class com.google.android.exoplayer2.upstream.Allocation
 
Allocator - Interface in com.google.android.exoplayer2.upstream
A source of allocations.
allowAudioMixedChannelCountAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive audio selections containing mixed channel counts.
allowAudioMixedMimeTypeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive audio selections containing mixed MIME types.
allowAudioMixedSampleRateAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive audio selections containing mixed sample rates.
allowMixedMimeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
allowNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
allowPassthrough(int, String) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns whether encoded audio passthrough should be used for playing back the input format.
allowVideoMixedMimeTypeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive video selections containing mixed MIME types.
allowVideoNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive video selections where adaptation may not be completely seamless.
AmrExtractor - Class in com.google.android.exoplayer2.extractor.amr
Extracts data from the AMR containers format (either AMR or AMR-WB).
AmrExtractor() - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
AmrExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
AmrExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.amr
Flags controlling the behavior of the extractor.
AnalyticsCollector - Class in com.google.android.exoplayer2.analytics
Data collector which is able to forward analytics events to AnalyticsListeners by listening to all available ExoPlayer listeners.
AnalyticsCollector(Player, Clock) - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsCollector
Creates an analytics collector for the specified player.
AnalyticsCollector.Factory - Class in com.google.android.exoplayer2.analytics
Factory for an analytics collector.
AnalyticsListener - Interface in com.google.android.exoplayer2.analytics
A listener for analytics events.
AnalyticsListener.EventTime - Class in com.google.android.exoplayer2.analytics
Time information of an event.
ANCHOR_TYPE_END - Static variable in class com.google.android.exoplayer2.text.Cue
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
Anchors the middle of the cue box.
ANCHOR_TYPE_START - Static variable in class com.google.android.exoplayer2.text.Cue
Anchors the left (for horizontal positions) or top (for vertical positions) edge of the cue box.
ApicFrame - Class in com.google.android.exoplayer2.metadata.id3
APIC (Attached Picture) ID3 frame.
ApicFrame(String, String, int, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
APPLICATION_CAMERA_MOTION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_CEA708 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_DVBSUBS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_EMSG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_EXIF - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_ICY - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_ID3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_M3U8 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_MP4CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_MP4VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_MPD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_PGS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_RAWCC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_SCTE35 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_SS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_SUBRIP - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_TTML - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_TX3G - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_VOBSUB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
APPLICATION_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
applyContentMetadataMutations(String, ContentMetadataMutations) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Applies mutations to the ContentMetadata for the given key.
applyContentMetadataMutations(String, ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
applyPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Configures audio processors to apply the specified playback parameters immediately, returning the new parameters, which may differ from those passed in.
applyPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
areEqual(Object, Object) - Static method in class com.google.android.exoplayer2.util.Util
Tests two objects for Object.equals(Object) equality, handling the case where one or both may be null.
ASCII_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the ASCII charset.
ASPECT_RATIO_IDC_VALUES - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Aspect ratios indexed by aspect_ratio_idc, in H.264 and H.265 SPSs.
AspectRatioFrameLayout - Class in com.google.android.exoplayer2.ui
A FrameLayout that resizes itself to match a specified aspect ratio.
AspectRatioFrameLayout(Context) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
AspectRatioFrameLayout(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
AspectRatioFrameLayout.AspectRatioListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified about changes of the aspect ratios of this view.
AspectRatioFrameLayout.ResizeMode - Annotation Type in com.google.android.exoplayer2.ui
Resize modes for AspectRatioFrameLayout.
Assertions - Class in com.google.android.exoplayer2.util
Provides methods for asserting the truth of expressions and properties.
ASSERTIONS_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Whether the library was compiled with Assertions checks enabled.
AssetDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a local asset.
AssetDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
 
AssetDataSource(Context, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
AssetDataSource.AssetDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an IOException is encountered reading a local asset.
AssetDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException
 
AtomicFile - Class in com.google.android.exoplayer2.util
A helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed.
AtomicFile(File) - Constructor for class com.google.android.exoplayer2.util.AtomicFile
Create a new AtomicFile for a file located at the given File path.
attachment - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
An optional opaque object to attach to the media item.
attemptMerge(RangedUri, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
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
 
AUDIO_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_AC4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_ALAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_ALAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_AMR_NB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_AMR_WB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_DTS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_DTS_EXPRESS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_DTS_HD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_E_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_FLAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_MLAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_MPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_MPEG_L1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_MPEG_L2 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_MSGSM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_OPUS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_RAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_SESSION_ID_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset AudioTrack session identifier.
AUDIO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
AUDIO_STREAM_MASK - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
AUDIO_TRUEHD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_UNKNOWN - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_VORBIS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AudioAttributes - Class in com.google.android.exoplayer2.audio
Attributes for audio playback, which configure the underlying platform AudioTrack.
AudioAttributes.Builder - Class in com.google.android.exoplayer2.audio
Builder for AudioAttributes.
AudioCapabilities - Class in com.google.android.exoplayer2.audio
Represents the set of audio formats that a device is capable of playing.
AudioCapabilities(int[], int) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilities
Constructs new audio capabilities based on a set of supported encodings and a maximum channel count.
AudioCapabilitiesReceiver - Class in com.google.android.exoplayer2.audio
Receives broadcast events indicating changes to the device's audio capabilities, notifying a AudioCapabilitiesReceiver.Listener when audio capability changes occur.
AudioCapabilitiesReceiver(Context, AudioCapabilitiesReceiver.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
 
AudioCapabilitiesReceiver.Listener - Interface in com.google.android.exoplayer2.audio
Listener notified when audio capabilities change.
AudioDecoderException - Exception in com.google.android.exoplayer2.audio
Thrown when an audio decoder error occurs.
AudioDecoderException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
 
AudioDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
 
AUDIOFOCUS_GAIN - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_GAIN_TRANSIENT - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_NONE - Static variable in class com.google.android.exoplayer2.C
 
AudioFocusManager - Class in com.google.android.exoplayer2.audio
Manages requesting and responding to changes in audio focus.
AudioFocusManager(Context, AudioFocusManager.PlayerControl) - Constructor for class com.google.android.exoplayer2.audio.AudioFocusManager
Constructs an AudioFocusManager to automatically handle audio focus for a player.
AudioFocusManager.PlayerCommand - Annotation Type in com.google.android.exoplayer2.audio
Player commands.
AudioFocusManager.PlayerControl - Interface in com.google.android.exoplayer2.audio
Interface to allow AudioFocusManager to give commands to a player.
audioGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
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.HlsMasterPlaylist.Variant
The audio rendition group referenced by this variant, or null.
AudioListener - Interface in com.google.android.exoplayer2.audio
A listener for changes in audio configuration.
AudioProcessor - Interface in com.google.android.exoplayer2.audio
Interface for audio processors, which take audio data as input and transform it, potentially modifying its channel count, encoding and/or sample rate.
AudioProcessor.UnhandledFormatException - Exception in com.google.android.exoplayer2.audio
Exception thrown when a processor can't be configured for a given input audio format.
AudioRendererEventListener - Interface in com.google.android.exoplayer2.audio
Listener of audio Renderer events.
AudioRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.audio
Dispatches events to a AudioRendererEventListener.
audios - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The audio renditions declared by the playlist.
audioSessionId(int) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
AudioSink - Interface in com.google.android.exoplayer2.audio
A sink that consumes audio data.
AudioSink.ConfigurationException - Exception in com.google.android.exoplayer2.audio
Thrown when a failure occurs configuring the sink.
AudioSink.InitializationException - Exception in com.google.android.exoplayer2.audio
Thrown when a failure occurs initializing the sink.
AudioSink.Listener - Interface in com.google.android.exoplayer2.audio
Listener for audio sink events.
AudioSink.WriteException - Exception in com.google.android.exoplayer2.audio
Thrown when a failure occurs writing to the sink.
AudioTrackScore(Format, DefaultTrackSelector.Parameters, int) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
 
audioTrackState - Variable in exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
The underlying AudioTrack's state, if applicable.
audioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
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
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
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an underlying AudioTrack.
AuxEffectInfo(int, float) - Constructor for class com.google.android.exoplayer2.audio.AuxEffectInfo
Creates an instance with the given effect identifier and send level.
availabilityStartTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
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
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
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
Holds the value of avails_expected as defined in SCTE35, Section 9.3.2.
AvcConfig - Class in com.google.android.exoplayer2.video
AVC configuration data.

B

backgroundColor - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
The preferred background color.
BandwidthMeter - Interface in com.google.android.exoplayer2.upstream
Provides estimates of the currently available bandwidth.
BandwidthMeter.EventListener - Interface in com.google.android.exoplayer2.upstream
A listener of BandwidthMeter events.
BASE_TYPE_APPLICATION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
BASE_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
BASE_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
BASE_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
BaseAudioProcessor - Class in com.google.android.exoplayer2.audio
Base class for audio processors that keep an output buffer and an internal buffer that is reused whenever input is queued.
BaseAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
BaseDataSource - Class in com.google.android.exoplayer2.upstream
Base DataSource implementation to keep a list of TransferListeners.
BaseDataSource(boolean) - Constructor for class com.google.android.exoplayer2.upstream.BaseDataSource
Creates base data source.
BaseFactory() - Constructor for class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
BaseMediaChunk - Class in com.google.android.exoplayer2.source.chunk
A base implementation of MediaChunk that outputs to a BaseMediaChunkOutput.
BaseMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
 
BaseMediaChunkIterator - Class in com.google.android.exoplayer2.source.chunk
Base class for MediaChunkIterators.
BaseMediaChunkIterator(long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Creates base iterator.
BaseMediaChunkOutput - Class in com.google.android.exoplayer2.source.chunk
An output for BaseMediaChunks.
BaseMediaChunkOutput(int[], SampleQueue[]) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
 
BaseMediaSource - Class in com.google.android.exoplayer2.source
Base MediaSource implementation to handle parallel reuse and to keep a list of MediaSourceEventListeners.
BaseMediaSource() - Constructor for class com.google.android.exoplayer2.source.BaseMediaSource
 
BasePlayer - Class in com.google.android.exoplayer2
Abstract base Player which implements common implementation independent methods.
BasePlayer() - Constructor for class com.google.android.exoplayer2.BasePlayer
 
BasePlayer.ListenerHolder - Class in com.google.android.exoplayer2
Holds a listener reference.
BasePlayer.ListenerInvocation - Interface in com.google.android.exoplayer2
Parameterized invocation of a Player.EventListener method.
BaseRenderer - Class in com.google.android.exoplayer2
An abstract base class suitable for most Renderer implementations.
BaseRenderer(int) - Constructor for class com.google.android.exoplayer2.BaseRenderer
 
BaseTrackSelection - Class in com.google.android.exoplayer2.trackselection
An abstract base class suitable for most TrackSelection implementations.
BaseTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
baseUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
The base uri.
baseUrl - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
baseUrl - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The base URL of the representation.
beginSection(String) - Static method in class com.google.android.exoplayer2.util.TraceUtil
Writes a trace message to indicate that a given section of code has begun.
BehindLiveWindowException - Exception in com.google.android.exoplayer2.source
Thrown when a live playback falls behind the available media window.
BehindLiveWindowException() - Constructor for exception com.google.android.exoplayer2.source.BehindLiveWindowException
 
binaryElement(int, int, ExtractorInput) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when a binary element is encountered.
binaryElement(int, int, ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when a binary element is encountered.
BinaryFrame - Class in com.google.android.exoplayer2.metadata.id3
Binary ID3 frame.
BinaryFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
binarySearchCeil(int[], int, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
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
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
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
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
Returns the index of the largest element in array 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
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
A seeker that supports seeking within a stream by searching for the target frame using binary search.
BinarySearchSeeker(BinarySearchSeeker.SeekTimestampConverter, BinarySearchSeeker.TimestampSeeker, long, long, long, long, long, long, int) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Constructs an instance.
BinarySearchSeeker.BinarySearchSeekMap - Class in com.google.android.exoplayer2.extractor
BinarySearchSeeker.DefaultSeekTimestampConverter - Class in com.google.android.exoplayer2.extractor
A BinarySearchSeeker.SeekTimestampConverter implementation that returns the seek time itself as the timestamp for a seek time position.
BinarySearchSeeker.OutputFrameHolder - Class in com.google.android.exoplayer2.extractor
Holds a frame extracted from a stream, together with the time stamp of the frame in microseconds.
BinarySearchSeeker.SeekOperationParams - Class in com.google.android.exoplayer2.extractor
Contains parameters for a pending seek operation by BinarySearchSeeker.
BinarySearchSeeker.SeekTimestampConverter - Interface in com.google.android.exoplayer2.extractor
A converter that converts seek time in stream time into target timestamp for the BinarySearchSeeker.
BinarySearchSeeker.TimestampSearchResult - Class in com.google.android.exoplayer2.extractor
Represents possible search results for TimestampSeeker#searchForTimestamp(ExtractorInput, long, OutputFrameHolder).
BinarySearchSeeker.TimestampSeeker - Interface in com.google.android.exoplayer2.extractor
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
Constructs a new instance of this seek map.
bitmap - Variable in class com.google.android.exoplayer2.text.Cue
The cue image, or null if this is a text cue.
bitmapHeight - Variable in class com.google.android.exoplayer2.text.Cue
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.
bitrate - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Bitrate of the frame in bit/s.
bitrate - Variable in class com.google.android.exoplayer2.Format
The average bandwidth in bits per second, or Format.NO_VALUE if unknown or not applicable.
bitrate - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
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.source.hls.HlsTrackMetadataEntry.VariantInfo
The bitrate as declared by the EXT-X-STREAM-INF tag.
bitRate() - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
Returns the bit-rate of the FLAC stream.
BITS_PER_BYTE - Static variable in class com.google.android.exoplayer2.C
The number of bits per byte.
bitsLeft() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Returns the number of bits yet to be read.
bitsPerSample - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
 
bitstreamVersion - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
The bitstream version.
blacklist(int, long) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
blacklist(int, long) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Attempts to blacklist the track at the specified index in the selection, making it ineligible for selection by calls to TrackSelection.updateSelectedTrack(long, long, long, List, MediaChunkIterator[]) for the specified period of time.
block() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Blocks until the condition is opened.
block(long) - Method in class com.google.android.exoplayer2.util.ConditionVariable
Blocks until the condition is opened or until timeout milliseconds have passed.
blockingSendMessages(ExoPlayer.ExoPlayerMessage...) - Method in interface com.google.android.exoplayer2.ExoPlayer
blockingSendMessages(ExoPlayer.ExoPlayerMessage...) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
blockUntilDelivered() - Method in class com.google.android.exoplayer2.PlayerMessage
Blocks until after the message has been delivered or the player is no longer able to deliver the message.
bottomFieldPicOrderInFramePresentFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
breakDurationUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
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
The duration of the splice in microseconds, or C.TIME_UNSET if no duration is present.
Buffer - Class in com.google.android.exoplayer2.decoder
Base class for buffers with flags.
Buffer() - Constructor for class com.google.android.exoplayer2.decoder.Buffer
 
BUFFER_FLAG_DECODE_ONLY - Static variable in class com.google.android.exoplayer2.C
Indicates that a buffer should be decoded but not rendered.
BUFFER_FLAG_ENCRYPTED - Static variable in class com.google.android.exoplayer2.C
Indicates that a buffer is (at least partially) encrypted.
BUFFER_FLAG_END_OF_STREAM - Static variable in class com.google.android.exoplayer2.C
Flag for empty buffers that signal that the end of the stream was reached.
BUFFER_FLAG_KEY_FRAME - Static variable in class com.google.android.exoplayer2.C
Indicates that a buffer holds a synchronization sample.
BUFFER_FLAG_LAST_SAMPLE - Static variable in class com.google.android.exoplayer2.C
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
Allows buffer replacement using ByteBuffer.allocateDirect(int).
BUFFER_REPLACEMENT_MODE_DISABLED - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Disallows buffer replacement.
BUFFER_REPLACEMENT_MODE_NORMAL - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Allows buffer replacement using ByteBuffer.allocate(int).
BufferSizeAdaptationBuilder - Class in com.google.android.exoplayer2.trackselection
Builder for a TrackSelection.Factory and LoadControl that implement buffer size based track adaptation.
BufferSizeAdaptationBuilder() - Constructor for class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
Creates builder with default values.
BufferSizeAdaptationBuilder.DynamicFormatFilter - Interface in com.google.android.exoplayer2.trackselection
Dynamic filter for formats, which is applied when selecting a new track.
build() - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
Creates an AudioAttributes instance from this builder.
build() - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
Returns a new MediaItem instance with the current builder values.
build() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
build() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Builds a DefaultTrackSelector.Parameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Builds a TrackSelectionParameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Builds the dialog.
build() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Builds the bandwidth meter.
buildAacAudioSpecificConfig(int, int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Builds a simple AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
buildAacLcAudioSpecificConfig(int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Builds a simple HE-AAC LC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
buildAdaptationSet(int, int, List<Representation>, List<Descriptor>, List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildAddDownloadIntent(Context, Class<? extends DownloadService>, DownloadRequest, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
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
Builds an Intent for adding a new download.
buildAndClear() - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
Equivalent to MediaItem.Builder.build(), except it also calls MediaItem.Builder.clear() after creating the MediaItem.
buildAudioProcessors() - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds an array of AudioProcessors that will process PCM audio before output.
buildAudioRenderers(Context, int, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, boolean, AudioProcessor[], Handler, AudioRendererEventListener, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds audio renderers for use by the player.
buildAvcCodecString(int, int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Builds an RFC 6381 AVC codec string using the provided parameters.
buildCacheKey(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheKeyFactory
Returns a cache key for the given DataSpec.
buildCameraMotionRenderers(Context, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds camera motion renderers for use by the player.
buildData(boolean) - Static method in class com.google.android.exoplayer2.text.cea.Cea708InitializationData
Builds binary CEA-708 initialization data.
buildDownloadCompletedNotification(int, PendingIntent, String) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
Returns a notification for a completed download.
buildDownloadCompletedNotification(Context, int, String, PendingIntent, String) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
Deprecated.
Returns a notification for a completed download.
buildDownloadFailedNotification(int, PendingIntent, String) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
Returns a notification for a failed download.
buildDownloadFailedNotification(Context, int, String, PendingIntent, String) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
Deprecated.
Returns a notification for a failed download.
Builder() - Constructor for class com.google.android.exoplayer2.audio.AudioAttributes.Builder
Creates a new builder for AudioAttributes.
Builder() - Constructor for class com.google.android.exoplayer2.DefaultLoadControl.Builder
Constructs a new instance.
Builder() - Constructor for class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
Creates an builder with default field values.
Builder(Context) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Creates a new builder for ImaAdsLoader.
Builder() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Creates a builder with default initial values.
Builder(Context) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Creates a builder with default parameters and without listener.
buildEvent(String, String, long, long, byte[]) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildEventStream(String, String, long, long[], EventMessage[]) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildForAdsResponse(String) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Returns a new ImaAdsLoader with the specified sideloaded ads response.
buildForAdTag(Uri) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Returns a new ImaAdsLoader for the specified ad tag.
buildFormat(String, String, int, int, float, int, int, int, String, List<Descriptor>, List<Descriptor>, String, List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildMediaPresentationDescription(long, long, long, boolean, long, long, long, long, ProgramInformation, UtcTimingElement, Uri, List<Period>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildMetadataRenderers(Context, MetadataOutput, Looper, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds metadata renderers for use by the player.
buildMiscellaneousRenderers(Context, Handler, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds any miscellaneous renderers used by the player.
buildNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
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
Builds an Intent to pause all downloads.
buildPeriod(String, long, List<AdaptationSet>, List<EventStream>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildPlayerComponents() - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
Builds player components for buffer size based track adaptation.
buildProgressNotification(int, PendingIntent, String, List<Download>) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
Returns a progress notification for the given downloads.
buildProgressNotification(Context, int, String, PendingIntent, String, List<Download>) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
Deprecated.
Returns a progress notification for the given downloads.
buildPsshAtom(UUID, byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
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
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
 
buildRawResourceUri(int) - Static method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
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
Builds an Intent for removing all downloads.
buildRemoveDownloadIntent(Context, Class<? extends DownloadService>, String, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
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
 
buildRequestUri(int, int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
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
Builds an Intent for resuming all downloads.
buildSegmentList(RangedUri, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, List<RangedUri>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildSegmentTemplate(RangedUri, long, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, UrlTemplate, UrlTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildSegmentTimelineElement(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildSetRequirementsIntent(Context, Class<? extends DownloadService>, Requirements, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
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
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
 
buildTextRenderers(Context, TextOutput, Looper, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds text renderers for use by the player.
buildUpon() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Creates a new DefaultTrackSelector.ParametersBuilder, copying the initial values from this instance.
buildUpon() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Creates a new TrackSelectionParameters.Builder, copying the initial values from this instance.
buildUponParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Returns a new DefaultTrackSelector.ParametersBuilder initialized with the current selection parameters.
buildUri(String, long, int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
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
 
buildVideoRenderers(Context, int, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, boolean, Handler, VideoRendererEventListener, long, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds video renderers for use by the player.
byteAlign() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Aligns the position to the next byte boundary.
ByteArrayDataSink - Class in com.google.android.exoplayer2.upstream
A DataSink for writing to a byte array.
ByteArrayDataSink() - Constructor for class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
ByteArrayDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a byte array.
ByteArrayDataSource(byte[]) - Constructor for class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
byteBuffer - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.OutputFrameHolder
 
byterangeLength - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The segment's byte range length, as defined by #EXT-X-BYTERANGE, or C.LENGTH_UNSET if no byte range is specified.
byterangeOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The segment's byte range offset, as defined by #EXT-X-BYTERANGE.
BYTES_PER_FLOAT - Static variable in class com.google.android.exoplayer2.C
The number of bytes per float.
bytesBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
bytesDeviations - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
bytesDownloaded - Variable in class com.google.android.exoplayer2.offline.DownloadProgress
The number of bytes that have been downloaded.
bytesLeft() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the number of bytes yet to be read.
bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the number of bytes that have been loaded.
bytesLoaded - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
The number of bytes that were loaded up to the event time.
bytesLoaded() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the number of bytes loaded.
bytesRead() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Returns the number of bytes that have been read since the most recent call to OkHttpDataSource.open(DataSpec).
bytesRead() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
Returns the total number of bytes that have been read or skipped.
bytesRead() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the number of bytes that have been read since the most recent call to DefaultHttpDataSource.open(DataSpec).
bytesRemaining() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Returns the number of bytes that are still to be read for the current DataSpec.
bytesRemaining() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the number of bytes that are still to be read for the current DataSpec.
bytesSkipped() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Returns the number of bytes that have been skipped since the most recent call to OkHttpDataSource.open(DataSpec).
bytesSkipped() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the number of bytes that have been skipped since the most recent call to DefaultHttpDataSource.open(DataSpec).
bytesTransferred(int) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that bytes were transferred.

C

C - Class in com.google.android.exoplayer2
Defines constants used by the library.
C.AudioContentType - Annotation Type in com.google.android.exoplayer2
Content types for AudioAttributes.
C.AudioFlags - Annotation Type in com.google.android.exoplayer2
Flags for AudioAttributes.
C.AudioFocusGain - Annotation Type in com.google.android.exoplayer2
Audio focus types.
C.AudioUsage - Annotation Type in com.google.android.exoplayer2
Usage types for AudioAttributes.
C.BufferFlags - Annotation Type in com.google.android.exoplayer2
Flags which can apply to a buffer containing a media sample.
C.ColorRange - Annotation Type in com.google.android.exoplayer2
Video color range.
C.ColorSpace - Annotation Type in com.google.android.exoplayer2
Video colorspaces.
C.ColorTransfer - Annotation Type in com.google.android.exoplayer2
Video color transfer characteristics.
C.ContentType - Annotation Type in com.google.android.exoplayer2
Represents a streaming or other media type.
C.CryptoMode - Annotation Type in com.google.android.exoplayer2
Crypto modes for a codec.
C.Encoding - Annotation Type in com.google.android.exoplayer2
Represents an audio encoding, or an invalid or unset value.
C.NetworkType - Annotation Type in com.google.android.exoplayer2
Network connection type.
C.PcmEncoding - Annotation Type in com.google.android.exoplayer2
Represents a PCM audio encoding, or an invalid or unset value.
C.Projection - Annotation Type in com.google.android.exoplayer2
Video projection types.
C.RoleFlags - Annotation Type in com.google.android.exoplayer2
Track role flags.
C.SelectionFlags - Annotation Type in com.google.android.exoplayer2
Track selection flags.
C.StereoMode - Annotation Type in com.google.android.exoplayer2
The stereo mode for 360/3D/VR videos.
C.StreamType - Annotation Type in com.google.android.exoplayer2
Stream types for an AudioTrack.
C.VideoScalingMode - Annotation Type in com.google.android.exoplayer2
Video scaling modes for MediaCodec-based Renderers.
Cache - Interface in com.google.android.exoplayer2.upstream.cache
An interface for cache.
cache(DataSpec, Cache, CacheKeyFactory, DataSource, CacheUtil.ProgressListener, AtomicBoolean) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Caches the data defined by dataSpec, skipping already cached data.
cache(DataSpec, Cache, CacheKeyFactory, CacheDataSource, byte[], PriorityTaskManager, int, CacheUtil.ProgressListener, AtomicBoolean, boolean) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Caches the data defined by dataSpec while skipping already cached data.
Cache.CacheException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when an error is encountered when writing data.
Cache.Listener - Interface in com.google.android.exoplayer2.upstream.cache
Listener of Cache events.
CACHE_IGNORED_REASON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Cache ignored due to a cache related error.
CACHE_IGNORED_REASON_UNSET_LENGTH - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Cache ignored due to a request with an unset length.
CACHED_TO_END - Static variable in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
Writes data into a cache.
CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Constructs an instance using CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when IOException is encountered when writing data into sink.
CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
 
CacheDataSinkFactory - Class in com.google.android.exoplayer2.upstream.cache
A DataSink.Factory that produces CacheDataSink.
CacheDataSinkFactory(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
 
CacheDataSinkFactory(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
 
CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
A DataSource that reads and writes a Cache.
CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
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
Reasons the cache may be ignored.
CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
Listener of CacheDataSource events.
CacheDataSource.Flags - Annotation Type in com.google.android.exoplayer2.upstream.cache
Flags controlling the CacheDataSource's behavior.
CacheDataSourceFactory - Class in com.google.android.exoplayer2.upstream.cache
A DataSource.Factory that produces CacheDataSource.
CacheDataSourceFactory(Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
Constructs a factory which creates CacheDataSource instances with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSourceFactory(Cache, DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
 
CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
 
CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
 
CachedRegionTracker - Class in com.google.android.exoplayer2.upstream.cache
Utility class for efficiently tracking regions of data that are stored in a Cache for a given cache key.
CachedRegionTracker(Cache, String, ChunkIndex) - Constructor for class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
CacheEvictor - Interface in com.google.android.exoplayer2.upstream.cache
Evicts data from a Cache.
CacheException(String) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheKeyFactory - Interface in com.google.android.exoplayer2.upstream.cache
Factory for cache keys.
CacheSpan - Class in com.google.android.exoplayer2.upstream.cache
Defines a span of data that may or may not be cached (as indicated by CacheSpan.isCached).
CacheSpan(String, long, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
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
Creates a CacheSpan.
CacheUtil - Class in com.google.android.exoplayer2.upstream.cache
Caching related utility methods.
CacheUtil.ProgressListener - Interface in com.google.android.exoplayer2.upstream.cache
Receives progress updates during cache operations.
calculateNextSearchBytePosition(long, long, long, long, long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
Returns the next position in the stream to search for target frame, given [floorBytePosition, ceilingBytePosition), with corresponding [floorTimePosition, ceilingTimePosition).
calculateTargetBufferSize(Renderer[], TrackSelectionArray) - Method in class com.google.android.exoplayer2.DefaultLoadControl
Calculate target buffer size in bytes based on the selected tracks.
CameraMotionListener - Interface in com.google.android.exoplayer2.video.spherical
Listens camera motion.
CameraMotionRenderer - Class in com.google.android.exoplayer2.video.spherical
A Renderer that parses the camera motion track.
CameraMotionRenderer() - Constructor for class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
canAcquireSession(DrmInitData) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
canAcquireSession(DrmInitData) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Returns whether the manager is capable of acquiring a session for the given DrmInitData.
cancel() - Method in class com.google.android.exoplayer2.ext.jobdispatcher.JobDispatcherScheduler
Deprecated.
 
cancel() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
 
cancel() - Method in interface com.google.android.exoplayer2.offline.Downloader
Cancels the download operation and prevents future download operations from running.
cancel() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
cancel() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
cancel() - Method in class com.google.android.exoplayer2.PlayerMessage
Cancels the message delivery.
cancel() - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
cancel() - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Cancels anything that was previously scheduled, or else does nothing.
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
cancelLoad() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
Cancels the load.
cancelLoad() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
 
cancelLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
Cancels the current load.
canKeepCodec(MediaCodec, MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
canKeepCodec(MediaCodec, MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Determines whether the existing MediaCodec can be kept for a new format, and if it can whether it requires reconfiguration.
canKeepCodec(MediaCodec, MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
canKeepCodecWithFlush(Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns whether the codec can be flushed and reused when switching to a new format.
canReadBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Returns whether it's possible to read n bits starting from the current offset.
canReadExpGolombCodedNum() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
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
Returns whether this DrmInitData.SchemeData can be used to replace other.
canSelectFormat(Format, int, float, long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Called when updating the selected track to determine whether a candidate track can be selected.
CanvasRenderer - Class in com.google.android.exoplayer2.ui.spherical
Renders a canvas on a quad.
CanvasRenderer() - Constructor for class com.google.android.exoplayer2.ui.spherical.CanvasRenderer
 
capabilities - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The capabilities of the decoder, like the profiles/levels it supports, or null if not known.
capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
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
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.HlsMasterPlaylist.Variant
The caption rendition group referenced by this variant, or null.
CaptionStyleCompat - Class in com.google.android.exoplayer2.text
A compatibility wrapper for CaptioningManager.CaptionStyle.
CaptionStyleCompat(int, int, int, int, int, Typeface) - Constructor for class com.google.android.exoplayer2.text.CaptionStyleCompat
 
CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.text
The type of edge, which may be none.
cascadeFrom(WebvttCssStyle) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
castNonNull(T) - Static method in class com.google.android.exoplayer2.util.Util
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
Casts a nullable type array to a non-null type array without runtime null check.
CastPlayer - Class in com.google.android.exoplayer2.ext.cast
Player implementation that communicates with a Cast receiver app.
CastPlayer(CastContext) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
 
Cea608Decoder - Class in com.google.android.exoplayer2.text.cea
A SubtitleDecoder for CEA-608 (also known as "line 21 captions" and "EIA-608").
Cea608Decoder(String, int) - Constructor for class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
Cea708Decoder - Class in com.google.android.exoplayer2.text.cea
A SubtitleDecoder for CEA-708 (also known as "EIA-708").
Cea708Decoder(int, List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
Cea708InitializationData - Class in com.google.android.exoplayer2.text.cea
Initialization data for CEA-708 decoders.
CeaUtil - Class in com.google.android.exoplayer2.text.cea
Utility methods for handling CEA-608/708 messages.
ceilDivide(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Divides a numerator by a denominator, returning the ceiled result.
ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Divides a numerator by a denominator, returning the ceiled result.
CENC_TYPE_cbc1 - Static variable in class com.google.android.exoplayer2.C
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cbcs - Static variable in class com.google.android.exoplayer2.C
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cenc - Static variable in class com.google.android.exoplayer2.C
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cens - Static variable in class com.google.android.exoplayer2.C
"cens" scheme type name as defined in ISO/IEC 23001-7:2016.
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.BaseAudioProcessor
The configured input channel count, or Format.NO_VALUE if not configured.
channelCount - Variable in class com.google.android.exoplayer2.Format
The number of audio channels, or Format.NO_VALUE if unknown or not applicable.
channels - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Number of audio channels in the frame.
channels - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
 
ChapterFrame - Class in com.google.android.exoplayer2.metadata.id3
Chapter information ID3 frame.
ChapterFrame(String, int, int, long, long, Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
chapterId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
ChapterTocFrame - Class in com.google.android.exoplayer2.metadata.id3
Chapter table of contents ID3 frame.
ChapterTocFrame(String, boolean, boolean, String[], Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
checkArgument(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if expression evaluates to false.
checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if expression evaluates to false.
checkCleartextTrafficPermitted(Uri...) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether it may be possible to load the given URIs based on the network security policy's cleartext traffic permissions.
checkGlError() - Static method in class com.google.android.exoplayer2.util.GlUtil
If there is an OpenGl error, logs the error and if ExoPlayerLibraryInfo.GL_ASSERTIONS_ENABLED is true throws a RuntimeException.
checkInBounds() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Verifies that the iterator points to a valid element.
checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IndexOutOfBoundsException if index falls outside the specified bounds.
checkInitialization() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Checks whether the cache was initialized successfully.
checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
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
Throws IllegalArgumentException if string is null or zero length.
checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the requirements are met.
checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
children - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
Chunk - Class in com.google.android.exoplayer2.source.chunk
An abstract base class for Loader.Loadable implementations that load chunks of data required for the playback of streams.
Chunk(DataSource, DataSpec, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
 
chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
The chunk.
chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
ChunkExtractorWrapper - Class in com.google.android.exoplayer2.source.chunk
An Extractor wrapper for loading chunks that contain a single primary track, and possibly additional embedded tracks.
ChunkExtractorWrapper(Extractor, int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
 
ChunkExtractorWrapper.TrackOutputProvider - Interface in com.google.android.exoplayer2.source.chunk
Provides TrackOutput instances to be written to by the wrapper.
ChunkHolder - Class in com.google.android.exoplayer2.source.chunk
Holds a chunk or an indication that the end of the stream has been reached.
ChunkHolder() - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkHolder
 
ChunkIndex - Class in com.google.android.exoplayer2.extractor
Defines chunks of samples within a media stream.
ChunkIndex(int[], long[], long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.ChunkIndex
 
chunkIndex - Variable in class com.google.android.exoplayer2.source.chunk.MediaChunk
The chunk index, or C.INDEX_UNSET if it is not known.
ChunkSampleStream<T extends ChunkSource> - Class in com.google.android.exoplayer2.source.chunk
A SampleStream that loads media in Chunks, obtained from a ChunkSource.
ChunkSampleStream(int, int[], Format[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, int, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Deprecated.
Use #ChunkSampleStream(int, int[], Format[], ChunkSource, Callback, Allocator, long, LoadErrorHandlingPolicy, EventDispatcher) instead.
ChunkSampleStream(int, int[], Format[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Constructs an instance.
ChunkSampleStream.EmbeddedSampleStream - Class in com.google.android.exoplayer2.source.chunk
ChunkSampleStream.ReleaseCallback<T extends ChunkSource> - Interface in com.google.android.exoplayer2.source.chunk
A callback to be notified when a sample stream has finished being released.
ChunkSource - Interface in com.google.android.exoplayer2.source.chunk
A provider of Chunks for a ChunkSampleStream to load.
clear() - Method in class com.google.android.exoplayer2.decoder.Buffer
Clears the buffer.
clear() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
 
clear() - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
Returns the builder to default values.
clear() - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemQueue
Removes all items in the queue.
clear() - Method in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist.
clear(Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist and executes a custom action on completion.
clear() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Clears all request properties.
clear() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Removes all of the values.
clearAllDefaultRequestProperties() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
Deprecated.
clearAllDefaultRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
clearAllKeyRequestProperties() - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears all headers for key requests made by the callback.
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
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
Removes all properties previously existing and sets the keys and values of the map.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Detaches any previously attached auxiliary audio effect from the underlying audio track.
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Clears the listener which receives camera motion events if it matches the one passed.
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearDefaultRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
Deprecated.
clearDefaultRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
Clears any stored fatal error.
clearFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Removes the flag from this buffer's flags, if it is set.
CLEARKEY_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the ClearKey DRM scheme.
clearKeyRequestProperty(String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears a header for key requests made by the callback.
clearMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears the value of a request header.
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Clears a track selection override for the specified renderer and TrackGroupArray.
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Clears all track selection overrides for the specified renderer.
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Clears all track selection overrides for all renderers.
clearTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
clearTrackSelections(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Clears the selection of tracks for a period.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Clears the listener which receives video frame metadata events if it matches the one passed.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearVideoSurface() - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Clears any Surface, SurfaceHolder, SurfaceView or TextureView currently set on the player.
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Clears the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
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.SimpleExoPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Clears the SurfaceView onto which video is being rendered if it matches the one passed.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Clears the TextureView onto which video is being rendered if it matches the one passed.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clippedEndTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
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
The time from which output will begin, or C.TIME_UNSET if output will begin from the start of the chunk.
ClippingMediaPeriod - Class in com.google.android.exoplayer2.source
Wraps a MediaPeriod and clips its SampleStreams to provide a subsequence of their samples.
ClippingMediaPeriod(MediaPeriod, boolean, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaPeriod
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
MediaSource that wraps a source and clips its timeline based on specified start/end positions.
ClippingMediaSource(MediaSource, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source and provides samples between the specified start and end position.
ClippingMediaSource(MediaSource, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
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, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source.
ClippingMediaSource.IllegalClippingException - Exception in com.google.android.exoplayer2.source
Thrown when a ClippingMediaSource cannot clip its wrapped source.
ClippingMediaSource.IllegalClippingException.Reason - Annotation Type in com.google.android.exoplayer2.source
The reason clipping failed.
Clock - Interface in com.google.android.exoplayer2.util
An interface through which system clocks can be read and HandlerWrappers created.
cloneAndClear() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with all elements removed.
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndInsert(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with newly inserted elements.
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndRemove(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
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
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
close() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
close() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
 
close() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
close() - Method in interface com.google.android.exoplayer2.upstream.DataSink
Closes the sink.
close() - Method in interface com.google.android.exoplayer2.upstream.DataSource
Closes the source.
close() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
close() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
close() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Closes the condition.
close() - Method in class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
 
closedCaptions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The closed caption renditions declared by the playlist.
closeQuietly(DataSource) - Static method in class com.google.android.exoplayer2.util.Util
Closes a DataSource, suppressing any IOException that may occur.
closeQuietly(Closeable) - Static method in class com.google.android.exoplayer2.util.Util
Closes a Closeable, suppressing any IOException that may occur.
closeSession(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
CLOSEST_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the closest sync point.
CMF_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
CODEC_OPERATING_RATE_UNSET - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Indicates no codec operating rate should be set.
CodecMaxValues(int, int, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
codecMimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The MIME type that the codec uses for media of type MediaCodecInfo.mimeType, or null if this is a passthrough codec.
codecNeedsSetOutputSurfaceWorkaround(String) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether the codec is known to implement MediaCodec.setOutputSurface(Surface) incorrectly.
codecs - Variable in class com.google.android.exoplayer2.Format
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.DolbyVisionConfig
The RFC 6381 codecs string.
CodecSpecificDataUtil - Class in com.google.android.exoplayer2.util
Provides static utility methods for manipulating various types of codec specific data.
COLOR_RANGE_FULL - Static variable in class com.google.android.exoplayer2.C
 
COLOR_RANGE_LIMITED - Static variable in class com.google.android.exoplayer2.C
 
COLOR_SPACE_BT2020 - Static variable in class com.google.android.exoplayer2.C
 
COLOR_SPACE_BT601 - Static variable in class com.google.android.exoplayer2.C
 
COLOR_SPACE_BT709 - Static variable in class com.google.android.exoplayer2.C
 
COLOR_TRANSFER_HLG - Static variable in class com.google.android.exoplayer2.C
 
COLOR_TRANSFER_SDR - Static variable in class com.google.android.exoplayer2.C
 
COLOR_TRANSFER_ST2084 - Static variable in class com.google.android.exoplayer2.C
 
colorInfo - Variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
 
colorInfo - Variable in class com.google.android.exoplayer2.Format
The color metadata associated with the video, helps with accurate color reproduction.
ColorInfo - Class in com.google.android.exoplayer2.video
Stores color info.
ColorInfo(int, int, int, byte[]) - Constructor for class com.google.android.exoplayer2.video.ColorInfo
Constructs the ColorInfo.
ColorParser - Class in com.google.android.exoplayer2.util
Parser for color expressions found in styling formats, e.g.
colorRange - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color range of the video.
colors - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
For indexed-color pictures (e.g.
colorspace - Variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
 
colorSpace - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color space of the video.
COLORSPACE_BT2020 - Static variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
 
COLORSPACE_BT601 - Static variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
 
COLORSPACE_BT709 - Static variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
 
COLORSPACE_UNKNOWN - Static variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
 
colorTransfer - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color transfer characteristicks of the video.
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.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.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.gvr - package com.google.android.exoplayer2.ext.gvr
 
com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
 
com.google.android.exoplayer2.ext.jobdispatcher - package com.google.android.exoplayer2.ext.jobdispatcher
 
com.google.android.exoplayer2.ext.leanback - package com.google.android.exoplayer2.ext.leanback
 
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.flv - package com.google.android.exoplayer2.extractor.flv
 
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.rawcc - package com.google.android.exoplayer2.extractor.rawcc
 
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.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.scte35 - package com.google.android.exoplayer2.metadata.scte35
 
com.google.android.exoplayer2.offline - package com.google.android.exoplayer2.offline
 
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.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.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.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.ui - package com.google.android.exoplayer2.ui
 
com.google.android.exoplayer2.ui.spherical - package com.google.android.exoplayer2.ui.spherical
 
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.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
 
COMMAND_MOVE_QUEUE_ITEM - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The private bytes as defined in SCTE35, Section 9.3.6.
CommentFrame - Class in com.google.android.exoplayer2.metadata.id3
Comment ID3 frame.
CommentFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
commitFile(File, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Commits a file into the cache.
commitFile(File, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
COMMON_PSSH_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the W3C Common PSSH box.
compare(DrmInitData.SchemeData, DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
compare(CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
compareLong(long, long) - Static method in class com.google.android.exoplayer2.util.Util
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
 
compareTo(StreamKey) - Method in class com.google.android.exoplayer2.offline.StreamKey
 
compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
compareTo(DefaultTrackSelector.AudioTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
Compares this score with another.
compareTo(DefaultTrackSelector.TextTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
Compares this score with another.
compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
 
compile(String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Compile an instance from the provided template string.
compileProgram(String[], String[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Builds a GL shader program from vertex and fragment shader code.
compileProgram(String, String) - Static method in class com.google.android.exoplayer2.util.GlUtil
Builds a GL shader program from vertex and fragment shader code.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
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
componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
CompositeMediaSource<T> - Class in com.google.android.exoplayer2.source
Composite MediaSource consisting of multiple child sources.
CompositeMediaSource() - Constructor for class com.google.android.exoplayer2.source.CompositeMediaSource
Create composite media source without child sources.
CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
A SequenceableLoader that encapsulates multiple other SequenceableLoaders.
CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
CompositeSequenceableLoaderFactory - Interface in com.google.android.exoplayer2.source
A factory to create composite SequenceableLoaders.
computeRecenterMatrix(float[], float[]) - Static method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
Computes a recentering matrix from the given angle-axis rotation only accounting for yaw.
ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
Concatenates multiple MediaSources.
ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConditionVariable - Class in com.google.android.exoplayer2.util
An interruptible condition variable whose ConditionVariable.open() and ConditionVariable.close() methods return whether they resulted in a change of state.
ConditionVariable() - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
 
ConfigurationException(Throwable) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Creates a new configuration exception with the specified cause and no message.
ConfigurationException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Creates a new configuration exception with the specified message and no cause.
configure(int, int, int) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Configures the processor to process input audio with the specified format.
configure(int, int, int, int, int[], int, int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Configures (or reconfigures) the sink.
configure(int, int, int, int, int[], int, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
configure(int, int, int) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
configure(int, int, int) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
configure(int, int, int) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
configure(int, int, int) - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Configures a newly created MediaCodec.
configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
ConstantBitrateSeekMap - Class in com.google.android.exoplayer2.extractor
A SeekMap implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size.
ConstantBitrateSeekMap(long, long, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Constructs a new instance from a stream.
constraintsFlagsAndReservedZero2Bits - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
constrainValue(int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
constrainValue(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
constrainValue(float, float, float) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Consumes (possibly partial) data from the current packet.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
Called by a SectionReader when a full section is received.
consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
 
consume(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Consumes the payload of a TS packet.
consume(byte[], int) - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Called by DataChunk.load().
consume(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.text.cea.CeaUtil
Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608 messages as samples to all of the provided outputs.
consumeCcData(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.text.cea.CeaUtil
Consumes caption data (cc_data), writing the content as samples to all of the provided outputs.
ContainerMediaChunk - Class in com.google.android.exoplayer2.source.chunk
A BaseMediaChunk that uses an Extractor to decode sample data.
ContainerMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, long, long, int, long, ChunkExtractorWrapper) - Constructor for class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
containerMimeType - Variable in class com.google.android.exoplayer2.Format
The mime type of the container, or null if unknown or not applicable.
contains(String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns whether the metadata is available.
contains(String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
contains(Object[], Object) - Static method in class com.google.android.exoplayer2.util.Util
Tests whether an items array contains an object equal to item, according to Object.equals(Object).
containsTrack(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Returns whether this override contains the specified track index.
CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
 
ContentDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a content URI.
ContentDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
 
ContentDataSource(Context, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
ContentDataSource.ContentDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an IOException is encountered reading from a content URI.
ContentDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
 
contentDurationUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The content duration in microseconds, if known.
contentLength - Variable in class com.google.android.exoplayer2.offline.Download
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
The content length, or C.LENGTH_UNSET if unknown.
ContentMetadata - Interface in com.google.android.exoplayer2.upstream.cache
Interface for an immutable snapshot of keyed metadata.
ContentMetadataMutations - Class in com.google.android.exoplayer2.upstream.cache
Defines multiple mutations on metadata value which are applied atomically.
ContentMetadataMutations() - Constructor for class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Constructs a DefaultMetadataMutations.
contentType - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to continue loading.
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Attempts to continue loading.
ControlDispatcher - Interface in com.google.android.exoplayer2
Dispatches operations to the Player.
copy(List<StreamKey>) - Method in interface com.google.android.exoplayer2.offline.FilterableManifest
Returns a copy of the manifest including only the streams specified by the given keys.
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
copy(Format[]) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Creates a copy of this stream element with the formats replaced with those specified.
copyright - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
A copyright statement for the media presentation.
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except for the start time, the discontinuity sequence and hasDiscontinuitySequence values.
copyWithAppendedEntries(Metadata.Entry...) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the specified entries appended.
copyWithAppendedEntriesFrom(Metadata) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the entries of the specified metadata appended.
copyWithBitrate(int) - Method in class com.google.android.exoplayer2.Format
 
copyWithContainerInfo(String, String, String, String, Metadata, int, int, int, int, int, String) - Method in class com.google.android.exoplayer2.Format
 
copyWithData(byte[]) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns a copy of this instance with the specified data.
copyWithDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format
 
copyWithEndTag() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except that an end tag is added.
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
 
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
Returns a copy of this instance with the given Format.
copyWithFrameRate(float) - Method in class com.google.android.exoplayer2.Format
 
copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
 
copyWithId(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a copy with the specified ID.
copyWithLabel(String) - Method in class com.google.android.exoplayer2.Format
 
copyWithManifestFormatInfo(Format) - Method in class com.google.android.exoplayer2.Format
 
copyWithMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format
 
copyWithMergedRequest(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns the result of merging newRequest into this request.
copyWithMetadata(Metadata) - Method in class com.google.android.exoplayer2.Format
 
copyWithMutationsApplied(ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Returns a copy DefaultContentMetadata with mutations applied.
copyWithPeriodUid(Object) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Returns a copy of this period identifier but with newPeriodUid as its period uid.
copyWithRotationDegrees(int) - Method in class com.google.android.exoplayer2.Format
 
copyWithSchemeType(String) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Returns a copy with the specified protection scheme type.
copyWithSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format
 
count - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The number of ads in the ad group, or C.LENGTH_UNSET if unknown.
crc(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the result of updating a CRC with the specified bytes in a "most significant bit first" order.
createAdaptiveTrackSelection(TrackGroup, BandwidthMeter, int[]) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates a single adaptive selection for the given group, bandwidth meter and tracks.
createAdaptiveTrackSelection(TrackSelection.Definition) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelectionUtil.AdaptiveTrackSelectionFactory
Creates an adaptive track selection for the provided track selection definition.
createAnalyticsCollector(Player, Clock) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector.Factory
Creates an analytics collector for the specified player.
createAudioContainerFormat(String, String, String, String, int, int, int, List<byte[]>, int, String) - Static method in class com.google.android.exoplayer2.Format
createAudioContainerFormat(String, String, String, String, String, Metadata, int, int, int, List<byte[]>, int, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createAudioSampleFormat(String, String, String, int, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createAudioSampleFormat(String, String, String, int, int, int, int, int, int, int, List<byte[]>, DrmInitData, int, String, Metadata) - Static method in class com.google.android.exoplayer2.Format
 
createBuffer(float[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a FloatBuffer with the given data.
createBuffer(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a FloatBuffer.
createCacheDataSource() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
Returns a new CacheDataSource instance.
createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TransferListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
 
createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TransferListener) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource.Factory
Creates a new SsChunkSource.
createCompositeSequenceableLoader(SequenceableLoader...) - Method in interface com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory
Creates a composite SequenceableLoader.
createCompositeSequenceableLoader(SequenceableLoader...) - Method in class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
 
createContainerFormat(String, String, String, String, int, int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createContainerFormat(String, String, String, String, String, int, int, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createCurrentContentIntent(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Creates a content intent for the current media item.
createCustomActions(Context, int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Gets the actions handled by this receiver.
createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
 
createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
 
createDataSink() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
 
createDataSink() - Method in interface com.google.android.exoplayer2.upstream.DataSink.Factory
Creates a DataSink instance.
createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
 
createDataSource(int) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
createDataSource(int) - Method in interface com.google.android.exoplayer2.source.hls.HlsDataSourceFactory
Creates a DataSource for the given data type.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
Creates a DataSource instance.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource.Factory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
createDecoder(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
Creates a MetadataDecoder for the given Format.
createDecoder(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Creates a SubtitleDecoder for the given Format.
createDefaultLoadControl() - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
createDownloader(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
 
createDownloader(DownloadRequest) - Method in interface com.google.android.exoplayer2.offline.DownloaderFactory
Creates a Downloader to perform the given DownloadRequest.
createEquirectangular(int) - Static method in class com.google.android.exoplayer2.video.spherical.Projection
Generates a complete sphere equirectangular projection.
createEquirectangular(float, int, int, float, float, int) - Static method in class com.google.android.exoplayer2.video.spherical.Projection
Generates an equirectangular projection.
createEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified media period id.
createEventDispatcher(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified media period id and time offset.
createEventDispatcher(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified window index, media period id and time offset.
createExternalTexture() - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates a GL_TEXTURE_EXTERNAL_OES with default configuration of GL_LINEAR filtering and GL_CLAMP_TO_EDGE wrapping.
createExtractor(Extractor, Uri, Format, List<Format>, DrmInitData, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
createExtractor(Extractor, Uri, Format, List<Format>, DrmInitData, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
Creates an Extractor for extracting HLS media chunks.
createExtractors() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
createExtractors() - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Returns an array of new Extractor instances.
createForAd(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_AD.
createForAdGroup(Exception, int) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_AD_GROUP.
createForAllAds(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_ALL_ADS.
createForOutOfMemoryError(OutOfMemoryError) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_OUT_OF_MEMORY.
createForRemote(String) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_REMOTE.
createForRenderer(Exception, int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_RENDERER.
createForSource(IOException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_SOURCE.
createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_UNEXPECTED.
createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_UNEXPECTED.
createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.text.CaptionStyleCompat
Creates a CaptionStyleCompat equivalent to a provided CaptioningManager.CaptionStyle.
createFromParcel(Parcel) - Static method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
createHandler(Looper, Handler.Callback) - Method in interface com.google.android.exoplayer2.util.Clock
Creates a HandlerWrapper using a specified looper and a specified callback for handling messages.
createHandler(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the current Looper thread.
createHandler(Looper, Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the specified Looper thread.
createImageSampleFormat(String, String, String, int, int, List<byte[]>, String, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createInitialPayloadReaders() - Method in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
createInitialPayloadReaders() - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Factory
Returns the initial mapping from PIDs to payload readers.
createInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates a new input buffer.
createInputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createMediaCrypto(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
createMediaCrypto(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
createMediaPlaylistVariantUrl(Uri) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
Creates a variant for a given media playlist url.
createMediaSource(MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaSourceFactory
Creates a MediaSource for the given MediaDescriptionCompat.
createMediaSource(DownloadRequest, DataSource.Factory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Utility method to create a MediaSource which only contains the tracks defined in downloadRequest.
createMediaSource(Uri) - Method in interface com.google.android.exoplayer2.source.ads.AdsMediaSource.MediaSourceFactory
Creates a new MediaSource for loading the ad media with the specified uri.
createMediaSource(DashManifest) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(DashManifest, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters.
createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Deprecated.
Returns a new ExtractorMediaSource using the current parameters.
createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Returns a new HlsMediaSource using the current parameters.
createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Returns a new ProgressiveMediaSource using the current parameters.
createMediaSource(Uri, Format, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Returns a new SingleSampleMediaSource using the current parameters.
createMediaSource(Uri, Format, long, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
createMediaSource(SsManifest) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(SsManifest, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters.
createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
createMessage(PlayerMessage.Target) - Method in interface com.google.android.exoplayer2.ExoPlayer
Creates a message that can be sent to a PlayerMessage.Target.
createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
createNotification(Player, NotificationCompat.Builder, boolean, Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates the notification given the current player state.
createNotificationChannel(Context, String, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
createNotificationChannel(Context, String, int, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
Creates a notification channel that notifications can be posted to.
createOfflineCacheDataSource() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
Returns a new CacheDataSource instance which accesses cache read-only and throws an exception on cache miss.
createOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates a new output buffer.
createOutputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createPayloadReader(int, TsPayloadReader.EsInfo) - Method in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
createPayloadReader(int, TsPayloadReader.EsInfo) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Factory
Returns a TsPayloadReader for a given stream type and elementary stream information.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
Calls MediaSource.createPeriod(MediaPeriodId, Allocator, long) on the wrapped source then prepares it if MediaPeriod.prepare(Callback, long) has been called.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
Deprecated.
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns a new MediaPeriod identified by periodId.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a stand-alone playlist parser.
createPlaylistParser(HlsMasterPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a playlist parser for playlists that were referenced by the given HlsMasterPlaylist.
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput, DrmSessionManager<FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
 
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput, DrmSessionManager<FrameworkMediaCrypto>) - Method in interface com.google.android.exoplayer2.RenderersFactory
Builds the Renderer instances for a SimpleExoPlayer.
createRetryAction(boolean, long) - Static method in class com.google.android.exoplayer2.upstream.Loader
Creates a Loader.LoadErrorAction for retrying with the given parameters.
createSampleFormat(String, String, long) - Static method in class com.google.android.exoplayer2.Format
 
createSampleFormat(String, String, String, int, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createSeekParamsForTargetTimeUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
createSessionCreationData(DrmInitData, DrmInitData) - Static method in class com.google.android.exoplayer2.drm.DrmInitData
Merges DrmInitData obtained from a media manifest and a media stream.
createSingleVariantMasterPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Creates a playlist with a single variant.
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
createTempDirectory(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates an empty directory in the directory returned by Context.getCacheDir().
createTempFile(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates a new empty file in the directory returned by Context.getCacheDir().
createTextContainerFormat(String, String, String, String, String, int, int, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createTextContainerFormat(String, String, String, String, String, int, int, int, String, int) - Static method in class com.google.android.exoplayer2.Format
 
createTextSampleFormat(String, String, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createTextSampleFormat(String, String, int, String, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createTextSampleFormat(String, String, String, int, int, String, int, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createTextSampleFormat(String, String, String, int, int, String, DrmInitData, long) - Static method in class com.google.android.exoplayer2.Format
 
createTextSampleFormat(String, String, String, int, int, String, int, DrmInitData, long, List<byte[]>) - Static method in class com.google.android.exoplayer2.Format
 
createTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.Factory
Creates a new tracker instance.
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Initializes the reader by providing outputs and ids for the tracks.
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
createTrackSelection(TrackGroup, BandwidthMeter, int...) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection.Factory
Deprecated.
Implement #createTrackSelections(Definition[], BandwidthMeter) instead. Calling TrackSelectionUtil#createTrackSelectionsForDefinitions(Definition[], AdaptiveTrackSelectionFactory) helps to create a single adaptive track selection in the same way as using this deprecated method.
createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
Deprecated.
 
createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection.Factory
Creates a new selection for each TrackSelection.Definition.
createTrackSelectionsForDefinitions(TrackSelection.Definition[], TrackSelectionUtil.AdaptiveTrackSelectionFactory) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Creates track selections for an array of track selection definitions, with at most one multi-track adaptive selection.
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates an exception to propagate for an unexpected decode error.
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createVideoContainerFormat(String, String, String, String, int, int, int, float, List<byte[]>, int) - Static method in class com.google.android.exoplayer2.Format
createVideoContainerFormat(String, String, String, String, String, Metadata, int, int, int, float, List<byte[]>, int, int) - Static method in class com.google.android.exoplayer2.Format
 
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, byte[], int, ColorInfo, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
 
createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
createWithNotificationChannel(Context, String, int, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates a notification manager and a low-priority notification channel with the specified channelId and channelName.
createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
createWithNotificationChannel(Context, String, int, int, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates a notification manager and a low-priority notification channel with the specified channelId and channelName.
CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData
 
CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
CREATOR - Static variable in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.Format
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.Metadata
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
 
CREATOR - Static variable in class com.google.android.exoplayer2.offline.StreamKey
 
CREATOR - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroup
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
 
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
CREATOR - Static variable in class com.google.android.exoplayer2.video.ColorInfo
 
cronetConnectionStatus - Variable in exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
Returns the status of the connection establishment at the moment when the error occurred, as defined by UrlRequest.Status.
CronetDataSource - Class in com.google.android.exoplayer2.ext.cronet
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
CronetDataSource(CronetEngine, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
CronetDataSource(CronetEngine, Executor, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
CronetDataSource.InterruptedIOException - Exception in com.google.android.exoplayer2.ext.cronet
Thrown on catching an InterruptedException.
CronetDataSource.OpenException - Exception in com.google.android.exoplayer2.ext.cronet
Thrown when an error is encountered when trying to open a CronetDataSource.
CronetDataSourceFactory - Class in com.google.android.exoplayer2.ext.cronet
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, TransferListener, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, TransferListener, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, TransferListener, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetDataSourceFactory(CronetEngineWrapper, Executor, Predicate<String>, TransferListener, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Constructs a CronetDataSourceFactory.
CronetEngineWrapper - Class in com.google.android.exoplayer2.ext.cronet
A wrapper class for a CronetEngine.
CronetEngineWrapper(Context) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Creates a wrapper for a CronetEngine which automatically selects the most suitable CronetProvider.
CronetEngineWrapper(Context, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Creates a wrapper for a CronetEngine which automatically selects the most suitable CronetProvider based on user preference.
CronetEngineWrapper(CronetEngine) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Creates a wrapper for an existing CronetEngine.
CronetEngineWrapper.CronetEngineSource - Annotation Type in com.google.android.exoplayer2.ext.cronet
Source of CronetEngine.
CRYPTO_MODE_AES_CBC - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_MODE_AES_CTR - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_MODE_UNENCRYPTED - Static variable in class com.google.android.exoplayer2.C
 
cryptoData - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
A TrackOutput.CryptoData instance containing the encryption information from this TrackEncryptionBox.
CryptoData(int, byte[], int, int) - Constructor for class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
CryptoInfo - Class in com.google.android.exoplayer2.decoder
Compatibility wrapper for MediaCodec.CryptoInfo.
CryptoInfo() - Constructor for class com.google.android.exoplayer2.decoder.CryptoInfo
 
cryptoInfo - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
CryptoInfo for encrypted data.
cryptoMode - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The encryption mode used for the sample.
Cue - Class in com.google.android.exoplayer2.text
Contains information about a specific cue, including textual content and formatting data.
Cue(Bitmap, float, int, float, int, float, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Creates an image cue.
Cue(CharSequence) - Constructor for class com.google.android.exoplayer2.text.Cue
Creates a text cue whose Cue.textAlignment is null, whose type parameters are set to Cue.TYPE_UNSET and whose dimension parameters are set to Cue.DIMEN_UNSET.
Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Creates a text cue.
Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Creates a text cue.
Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, boolean, int) - Constructor for class com.google.android.exoplayer2.text.Cue
Creates a text cue.
Cue.AnchorType - Annotation Type in com.google.android.exoplayer2.text
The type of anchor, which may be unset.
Cue.LineType - Annotation Type in com.google.android.exoplayer2.text
The type of line, which may be unset.
Cue.TextSizeType - Annotation Type in com.google.android.exoplayer2.text
The type of default text size for this cue, which may be unset.
CUE_HEADER_PATTERN - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
 
CURRENT_POSITION_NOT_SET - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
Returned by AudioSink.getCurrentPositionUs(boolean) when the position is not set.
currentPlaybackPositionMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Position in the current timeline window (Player.getCurrentWindowIndex()) or the currently playing ad at the time of the event, in milliseconds.
customCacheKey - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
Custom key for cache indexing, or null.

D

d(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
d(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
DashChunkSource - Interface in com.google.android.exoplayer2.source.dash
An ChunkSource for DASH streams.
DashChunkSource.Factory - Interface in com.google.android.exoplayer2.source.dash
Factory for DashChunkSources.
DashDownloader - Class in com.google.android.exoplayer2.source.dash.offline
A downloader for DASH streams.
DashDownloader(Uri, List<StreamKey>, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
 
DashManifest - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
DashManifest(long, long, long, boolean, long, long, long, long, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
DashManifest(long, long, long, boolean, long, long, long, long, ProgramInformation, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
A parser of media presentation description files.
DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
DashManifestParser.RepresentationInfo - Class in com.google.android.exoplayer2.source.dash.manifest
A parsed Representation element.
DashManifestStaleException - Exception in com.google.android.exoplayer2.source.dash
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
DashManifestStaleException() - Constructor for exception com.google.android.exoplayer2.source.dash.DashManifestStaleException
 
DashMediaSource - Class in com.google.android.exoplayer2.source.dash
A DASH MediaSource.
DashMediaSource(DashManifest, DashChunkSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Deprecated.
DashMediaSource(DashManifest, DashChunkSource.Factory, int, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Deprecated.
DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Deprecated.
DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, int, long, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Deprecated.
DashMediaSource(Uri, DataSource.Factory, ParsingLoadable.Parser<? extends DashManifest>, DashChunkSource.Factory, int, long, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Deprecated.
DashMediaSource.Factory - Class in com.google.android.exoplayer2.source.dash
Factory for DashMediaSources.
DashSegmentIndex - Interface in com.google.android.exoplayer2.source.dash
Indexes the segments within a media stream.
DashUtil - Class in com.google.android.exoplayer2.source.dash
Utility methods for DASH streams.
DashWrappingSegmentIndex - Class in com.google.android.exoplayer2.source.dash
An implementation of DashSegmentIndex that wraps a ChunkIndex parsed from a media stream.
DashWrappingSegmentIndex(ChunkIndex, long) - Constructor for class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
data - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The buffer's data, or null if no data has been set.
data - Variable in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
 
data - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The initialization data.
data - Variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
RGB buffer for RGB mode.
data - Variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
data - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
data - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
Application defined data associated with the download.
data - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
data - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
data - Variable in class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
Optional data associated with this selection of tracks.
data - Variable in class com.google.android.exoplayer2.upstream.Allocation
The array containing the allocated space.
data - Variable in class com.google.android.exoplayer2.util.ParsableBitArray
 
data - Variable in class com.google.android.exoplayer2.util.ParsableByteArray
 
DATA_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "data".
DATA_TYPE_AD - Static variable in class com.google.android.exoplayer2.C
A data type constant for ads loader data.
DATA_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom DATA_TYPE_* constants greater than or equal to this value.
DATA_TYPE_DRM - Static variable in class com.google.android.exoplayer2.C
A data type constant for drm or encryption data.
DATA_TYPE_MANIFEST - Static variable in class com.google.android.exoplayer2.C
A data type constant for a manifest file.
DATA_TYPE_MEDIA - Static variable in class com.google.android.exoplayer2.C
A data type constant for media, typically containing media samples.
DATA_TYPE_MEDIA_INITIALIZATION - Static variable in class com.google.android.exoplayer2.C
A data type constant for media, typically containing only initialization data.
DATA_TYPE_MEDIA_PROGRESSIVE_LIVE - Static variable in class com.google.android.exoplayer2.C
A data type constant for live progressive media streams, typically containing media samples.
DATA_TYPE_TIME_SYNCHRONIZATION - Static variable in class com.google.android.exoplayer2.C
A data type constant for time synchronization data.
DATA_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
A data type constant for data of unknown or unspecified type.
DATABASE_NAME - Static variable in class com.google.android.exoplayer2.database.ExoDatabaseProvider
The file name used for the standalone ExoPlayer database.
DatabaseIOException - Exception in com.google.android.exoplayer2.database
An IOException whose cause is an SQLException.
DatabaseIOException(SQLException) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
 
DatabaseIOException(SQLException, String) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
 
DatabaseProvider - Interface in com.google.android.exoplayer2.database
Provides SQLiteDatabase instances to ExoPlayer components, which may read and write tables prefixed with DatabaseProvider.TABLE_PREFIX.
DataChunk - Class in com.google.android.exoplayer2.source.chunk
A base class for Chunk implementations where the data should be loaded into a byte[] before being consumed.
DataChunk(DataSource, DataSpec, int, Format, int, Object, byte[]) - Constructor for class com.google.android.exoplayer2.source.chunk.DataChunk
 
DataSchemeDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading data URLs, as defined by RFC 2397.
DataSchemeDataSource() - Constructor for class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
DataSink - Interface in com.google.android.exoplayer2.upstream
A component to which streams of data can be written.
DataSink.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for DataSink instances.
dataSource - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
 
DataSource - Interface in com.google.android.exoplayer2.upstream
A component from which streams of data can be read.
DataSource.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for DataSource instances.
DataSourceException - Exception in com.google.android.exoplayer2.upstream
Used to specify reason of a DataSource error.
DataSourceException(int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceInputStream - Class in com.google.android.exoplayer2.upstream
Allows data corresponding to a given DataSpec to be read from a DataSource and consumed through an InputStream.
DataSourceInputStream(DataSource, DataSpec) - Constructor for class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
dataSpec - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
The DataSpec of the segment.
dataSpec - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The DataSpec that defines the data to be loaded.
dataSpec - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
Defines the requested data.
DataSpec - Class in com.google.android.exoplayer2.upstream
Defines a region of data.
DataSpec(Uri) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec for the given uri and with DataSpec.key set to null.
DataSpec(Uri, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec for the given uri and with DataSpec.key set to null.
DataSpec(Uri, long, long, String) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec where DataSpec.position equals DataSpec.absoluteStreamPosition.
DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec where DataSpec.position equals DataSpec.absoluteStreamPosition.
DataSpec(Uri, long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec where DataSpec.position may differ from DataSpec.absoluteStreamPosition.
DataSpec(Uri, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec by inferring the DataSpec.httpMethod based on the postBody parameter.
DataSpec(Uri, int, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a data spec where DataSpec.position may differ from DataSpec.absoluteStreamPosition.
dataSpec - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
The DataSpec associated with the current connection.
dataSpec - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
The DataSpec that defines the data to be loaded.
DataSpec.Flags - Annotation Type in com.google.android.exoplayer2.upstream
The flags that apply to any request for data.
DataSpec.HttpMethod - Annotation Type in com.google.android.exoplayer2.upstream
The set of HTTP methods that are supported by ExoPlayer HttpDataSources.
dataType - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
One of the C DATA_TYPE_* constants defining the type of data.
DebugTextViewHelper - Class in com.google.android.exoplayer2.ui
A helper class for periodically updating a TextView with debug information obtained from a SimpleExoPlayer.
DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
decode(I, O, boolean) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Decodes the inputBuffer and stores any decoded output in outputBuffer.
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
decode(ParsableByteArray) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.icy.IcyDecoder
 
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
decode(byte[], int) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
Decodes ID3 tags.
decode(MetadataInputBuffer) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoder
Decodes a Metadata element from the provided input buffer.
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
 
decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.dvb.DvbDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.pgs.PgsDecoder
 
decode(SubtitleInputBuffer, SubtitleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
Decodes data into a Subtitle.
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ssa.SsaDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.subrip.SubripDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ttml.TtmlDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
 
decode(byte[], int) - Static method in class com.google.android.exoplayer2.video.spherical.ProjectionDecoder
 
Decoder<I,O,E extends Exception> - Interface in com.google.android.exoplayer2.decoder
A media decoder.
DecoderCounters - Class in com.google.android.exoplayer2.decoder
Maintains decoder event counts, for debugging purposes only.
DecoderCounters() - Constructor for class com.google.android.exoplayer2.decoder.DecoderCounters
 
decoderCounters - Variable in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
decoderCounters - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
decoderInitCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of times a decoder has been initialized.
DecoderInitializationException(Format, Throwable, boolean, int) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
 
DecoderInitializationException(Format, Throwable, boolean, String) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
 
decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
DecoderInputBuffer - Class in com.google.android.exoplayer2.decoder
Holds input for a decoder.
DecoderInputBuffer(int) - Constructor for class com.google.android.exoplayer2.decoder.DecoderInputBuffer
 
DecoderInputBuffer.BufferReplacementMode - Annotation Type in com.google.android.exoplayer2.decoder
The buffer replacement mode, which may disable replacement.
decoderName - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
The name of the decoder that failed to initialize.
decoderPrivate - Variable in class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer
Decoder private data.
decoderReleaseCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of times a decoder has been released.
DecryptionException - Exception in com.google.android.exoplayer2.drm
Thrown when a non-platform component fails to decrypt data.
DecryptionException(int, String) - Constructor for exception com.google.android.exoplayer2.drm.DecryptionException
 
DecryptionResource<T extends DecryptionResource<T>> - Class in com.google.android.exoplayer2.drm
A reference-counted resource used in the decryption of media samples.
DecryptionResource(DecryptionResource.Owner<T>) - Constructor for class com.google.android.exoplayer2.drm.DecryptionResource
Creates a new instance with reference count zero.
decryptionResource - Variable in class com.google.android.exoplayer2.FormatHolder
An accompanying context for decrypting samples in the format.
DecryptionResource.Owner<T extends DecryptionResource<T>> - Interface in com.google.android.exoplayer2.drm
Implemented by the class in charge of managing a resource's lifecycle.
decryptionResourceIsProvided - Variable in class com.google.android.exoplayer2.FormatHolder
Whether the object expected to populate FormatHolder.format is also expected to populate FormatHolder.decryptionResource.
DEFAULT - Static variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
DEFAULT - Static variable in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
Default implementation of MediaCodecSelector, which returns the preferred decoder for the given format.
DEFAULT - Static variable in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
Default MetadataDecoder implementation.
DEFAULT - Static variable in class com.google.android.exoplayer2.PlaybackParameters
The default playback parameters: real-time playback with no pitch modification or silence skipping.
DEFAULT - Static variable in class com.google.android.exoplayer2.RendererConfiguration
The default configuration.
DEFAULT - Static variable in class com.google.android.exoplayer2.SeekParameters
Default parameters.
DEFAULT - Static variable in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
 
DEFAULT - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Default caption style.
DEFAULT - Static variable in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Default SubtitleDecoderFactory implementation.
DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
An instance with default values.
DEFAULT - Static variable in interface com.google.android.exoplayer2.trackselection.TrackBitrateEstimator
A TrackBitrateEstimator that returns the bitrate values defined in the track formats.
DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
An instance with default values.
DEFAULT - Static variable in interface com.google.android.exoplayer2.util.Clock
Default Clock to use for all non-test cases.
DEFAULT_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for ad markers.
DEFAULT_AD_MARKER_WIDTH_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default width for ad markers, in dp.
DEFAULT_ALLOWED_VIDEO_JOINING_TIME_MS - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
The default maximum duration for which a video renderer can attempt to seamlessly join an ongoing playback.
DEFAULT_AUDIO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for an audio buffer.
DEFAULT_AUDIO_CAPABILITIES - Static variable in class com.google.android.exoplayer2.audio.AudioCapabilities
The minimum audio capabilities supported by all devices.
DEFAULT_BACK_BUFFER_DURATION_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default back buffer duration in milliseconds.
DEFAULT_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_BAR_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default height for the time bar, in dp.
DEFAULT_BOTTOM_PADDING_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
The default bottom padding to apply when Cue.line is Cue.DIMEN_UNSET, as a fraction of the viewport height.
DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default duration of media that must be buffered for playback to resume after a rebuffer, in milliseconds.
DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
The default duration of media that must be buffered for playback to resume after a rebuffer, in milliseconds.
DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default duration of media that must be buffered for playback to start or resume following a user action such as a seek, in milliseconds.
DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
The default duration of media that must be buffered for playback to start or resume following a user action such as a seek, in milliseconds.
DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.google.android.exoplayer2.C
A default size in bytes for an individual allocation that forms part of a larger buffer.
DEFAULT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Default buffer size in bytes.
DEFAULT_BUFFER_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Default buffer size to be used while caching.
DEFAULT_BUFFERED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for the buffered portion of the time bar.
DEFAULT_BUFFERED_FRACTION_TO_LIVE_EDGE_FOR_QUALITY_INCREASE - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_CACHE_KEY_FACTORY - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil
DEFAULT_CAMERA_MOTION_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for a camera motion buffer.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
The default connection timeout, in milliseconds.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
The default connection timeout, in milliseconds.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
The default connection timeout, in milliseconds.
DEFAULT_CONTROL_DISPATCHER - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Deprecated.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
The default fast forward increment, in milliseconds.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default fast forward increment, in milliseconds.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The default fast forward increment, in milliseconds.
DEFAULT_FOREGROUND_NOTIFICATION_UPDATE_INTERVAL - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Default foreground notification update interval in milliseconds.
DEFAULT_FRAGMENT_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Default fragmentSize recommended for caching use cases.
DEFAULT_HYSTERESIS_BUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
The default offset the current duration of buffered media must deviate from the ideal duration of buffered media for the currently selected format, before the selected format is changed.
DEFAULT_INITIAL_BITRATE_COUNTRY_GROUPS - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Country groups used to determine the default initial bitrate estimate.
DEFAULT_INITIAL_BITRATE_ESTIMATE - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default initial bitrate estimate used when the device is offline or the network type cannot be determined, in bits per second.
DEFAULT_INITIAL_BITRATE_ESTIMATES_2G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default initial 2G bitrate estimates in bits per second.
DEFAULT_INITIAL_BITRATE_ESTIMATES_3G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default initial 3G bitrate estimates in bits per second.
DEFAULT_INITIAL_BITRATE_ESTIMATES_4G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default initial 4G bitrate estimates in bits per second.
DEFAULT_INITIAL_BITRATE_ESTIMATES_WIFI - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default initial Wifi bitrate estimate in bits per second.
DEFAULT_LIVE_PRESENTATION_DELAY_FIXED_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
The default presentation delay for live streams.
DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
The default presentation delay for live streams.
DEFAULT_LIVE_PRESENTATION_DELAY_PREFER_MANIFEST_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
Deprecated.
Use of this parameter is no longer necessary.
DEFAULT_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
Deprecated.
DEFAULT_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ProgressiveMediaSource
The default number of bytes that should be loaded between each each invocation of SequenceableLoader.Callback.onContinueLoadingRequested(SequenceableLoader).
DEFAULT_MAX_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default maximum duration of media that the player will attempt to buffer, in milliseconds.
DEFAULT_MAX_BUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
The default maximum duration of media that the player will attempt to buffer, in milliseconds.
DEFAULT_MAX_DURATION_FOR_QUALITY_DECREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_MAX_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
The default maximum datagram packet size, in bytes.
DEFAULT_MAX_PARALLEL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
The default maximum number of parallel downloads.
DEFAULT_MAX_QUEUE_SIZE - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
DEFAULT_METADATA_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for a metadata buffer.
DEFAULT_MIN_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default minimum duration of media that the player will attempt to ensure is buffered at all times, in milliseconds.
DEFAULT_MIN_BUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
The default minimum duration of media that the player will attempt to ensure is buffered at all times, in milliseconds.
DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_MIN_DURATION_TO_RETAIN_AFTER_DISCARD_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
The default minimum number of times to retry loading data prior to propagating the error.
DEFAULT_MIN_LOADABLE_RETRY_COUNT_PROGRESSIVE_LIVE - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
The default minimum number of times to retry loading prior to failing for progressive live streams.
DEFAULT_MIN_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
The default minimum number of times a download must be retried before failing.
DEFAULT_MIN_TIME_BETWEEN_BUFFER_REEVALUTATION_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_MUXED_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for a muxed buffer (e.g.
DEFAULT_PLAYBACK_ACTIONS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
The default playback actions.
DEFAULT_PLAYED_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for played ad markers.
DEFAULT_PLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for the played portion of the time bar.
DEFAULT_PLAYLIST_STUCK_TARGET_DURATION_COEFFICIENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Default coefficient applied on the target duration of a playlist to determine the amount of time after which an unchanging playlist is considered stuck.
DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default prioritization of buffer time constraints over size constraints.
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
The default read timeout, in milliseconds.
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
The default read timeout, in milliseconds.
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
The default read timeout, in milliseconds.
DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
The default repeat toggle modes.
DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default repeat toggle modes.
DEFAULT_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
The default requirement is that the device has network connectivity.
DEFAULT_RETAIN_BACK_BUFFER_FROM_KEYFRAME - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default for whether the back buffer is retained from the previous keyframe.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
The default rewind increment, in milliseconds.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default rewind increment, in milliseconds.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The default rewind increment, in milliseconds.
DEFAULT_SCRUBBER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for the scrubber handle.
DEFAULT_SCRUBBER_DISABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default diameter for the scrubber when disabled, in dp.
DEFAULT_SCRUBBER_DRAGGED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default diameter for the scrubber when dragged, in dp.
DEFAULT_SCRUBBER_ENABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default diameter for the scrubber when enabled, in dp.
DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default show timeout, in milliseconds.
DEFAULT_SLIDING_WINDOW_MAX_WEIGHT - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default maximum weight for the sliding window.
DEFAULT_SOCKET_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
The default socket timeout, in milliseconds.
DEFAULT_START_UP_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
During start-up phase, the default fraction of the available bandwidth that the selection should consider available for use.
DEFAULT_START_UP_MIN_BUFFER_FOR_QUALITY_INCREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
During start-up phase, the default minimum duration of buffered media required for the selected track to switch to one of higher quality based on measured bandwidth.
DEFAULT_TARGET_BUFFER_BYTES - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default target buffer size in bytes.
DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for a text buffer.
DEFAULT_TEXT_SIZE_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
The default fractional text size.
DEFAULT_TIME_BAR_MIN_UPDATE_INTERVAL_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The default minimum interval between time bar position updates.
DEFAULT_TOUCH_TARGET_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default height for the touch target, in dp.
DEFAULT_TRACK_BLACKLIST_MS - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
The default duration for which a track is blacklisted in milliseconds.
DEFAULT_TRACK_SELECTOR_PARAMETERS - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
The default parameters used for track selection for downloading.
DEFAULT_UNPLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for the played portion of the time bar.
DEFAULT_VIDEO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for a video buffer.
DefaultAllocator - Class in com.google.android.exoplayer2.upstream
Default implementation of Allocator.
DefaultAllocator(boolean, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
Constructs an instance without creating any Allocations up front.
DefaultAllocator(boolean, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
Constructs an instance with some Allocations created up front.
DefaultAnalyticsListener - Class in com.google.android.exoplayer2.analytics
Deprecated.
Use AnalyticsListener directly for selective overrides as all methods are implemented as no-op default methods.
DefaultAnalyticsListener() - Constructor for class com.google.android.exoplayer2.analytics.DefaultAnalyticsListener
Deprecated.
 
DefaultAudioProcessorChain(AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and playback parameters.
DefaultAudioSink - Class in com.google.android.exoplayer2.audio
Plays audio data.
DefaultAudioSink(AudioCapabilities, AudioProcessor[]) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
Creates a new default audio sink.
DefaultAudioSink(AudioCapabilities, AudioProcessor[], boolean) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
Creates a new default audio sink, optionally using float output for high resolution PCM.
DefaultAudioSink(AudioCapabilities, DefaultAudioSink.AudioProcessorChain, boolean) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
Creates a new default audio sink, optionally using float output for high resolution PCM and with the specified audioProcessorChain.
DefaultAudioSink.AudioProcessorChain - Interface in com.google.android.exoplayer2.audio
Provides a chain of audio processors, which are used for any user-defined processing and applying playback parameters (if supported).
DefaultAudioSink.DefaultAudioProcessorChain - Class in com.google.android.exoplayer2.audio
The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
DefaultAudioSink.InvalidAudioTrackTimestampException - Exception in com.google.android.exoplayer2.audio
Thrown when the audio track has provided a spurious timestamp, if DefaultAudioSink.failOnSpuriousAudioTimestamp is set.
DefaultBandwidthMeter - Class in com.google.android.exoplayer2.upstream
Estimates bandwidth by listening to data transfers.
DefaultBandwidthMeter() - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Deprecated.
DefaultBandwidthMeter.Builder - Class in com.google.android.exoplayer2.upstream
Builder for a bandwidth meter.
DefaultCastOptionsProvider - Class in com.google.android.exoplayer2.ext.cast
A convenience OptionsProvider to target the default cast receiver app.
DefaultCastOptionsProvider() - Constructor for class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
 
DefaultCompositeSequenceableLoaderFactory - Class in com.google.android.exoplayer2.source
Default implementation of CompositeSequenceableLoaderFactory.
DefaultCompositeSequenceableLoaderFactory() - Constructor for class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
 
DefaultContentMetadata - Class in com.google.android.exoplayer2.upstream.cache
Default implementation of ContentMetadata.
DefaultContentMetadata() - Constructor for class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
DefaultContentMetadata(Map<String, byte[]>) - Constructor for class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
DefaultControlDispatcher - Class in com.google.android.exoplayer2
Default ControlDispatcher that dispatches all operations to the player without modification.
DefaultControlDispatcher() - Constructor for class com.google.android.exoplayer2.DefaultControlDispatcher
 
DefaultDashChunkSource - Class in com.google.android.exoplayer2.source.dash
A default DashChunkSource implementation.
DefaultDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, DataSource, long, int, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
DefaultDashChunkSource.Factory - Class in com.google.android.exoplayer2.source.dash
 
DefaultDashChunkSource.RepresentationHolder - Class in com.google.android.exoplayer2.source.dash
Holds information about a snapshot of a single Representation.
DefaultDashChunkSource.RepresentationSegmentIterator - Class in com.google.android.exoplayer2.source.dash
DefaultDatabaseProvider - Class in com.google.android.exoplayer2.database
A DatabaseProvider that provides instances obtained from a SQLiteOpenHelper.
DefaultDatabaseProvider(SQLiteOpenHelper) - Constructor for class com.google.android.exoplayer2.database.DefaultDatabaseProvider
 
DefaultDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource that supports multiple URI schemes.
DefaultDataSource(Context, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance, optionally configured to follow cross-protocol redirects.
DefaultDataSource(Context, String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance, optionally configured to follow cross-protocol redirects.
DefaultDataSource(Context, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance that delegates to a provided DataSource for URI schemes other than file, asset and content.
DefaultDataSource(Context, TransferListener, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
DefaultDataSource(Context, TransferListener, String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
DefaultDataSource(Context, TransferListener, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
DefaultDataSourceFactory - Class in com.google.android.exoplayer2.upstream
A DataSource.Factory that produces DefaultDataSource instances that delegate to DefaultHttpDataSources for non-file/asset/content URIs.
DefaultDataSourceFactory(Context, String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
DefaultDataSourceFactory(Context, String, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
DefaultDataSourceFactory(Context, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
DefaultDataSourceFactory(Context, TransferListener, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
DefaultDownloaderFactory - Class in com.google.android.exoplayer2.offline
Default DownloaderFactory, supporting creation of progressive, DASH, HLS and SmoothStreaming downloaders.
DefaultDownloaderFactory(DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
 
DefaultDownloadIndex - Class in com.google.android.exoplayer2.offline
A DownloadIndex that uses SQLite to persist Downloads.
DefaultDownloadIndex(DatabaseProvider) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloadIndex
Creates an instance that stores the Downloads in an SQLite database provided by a DatabaseProvider.
DefaultDownloadIndex(DatabaseProvider, String) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloadIndex
Creates an instance that stores the Downloads in an SQLite database provided by a DatabaseProvider.
DefaultDrmSessionEventListener - Interface in com.google.android.exoplayer2.drm
Listener of DefaultDrmSessionManager events.
DefaultDrmSessionManager<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
A DrmSessionManager that supports playbacks using ExoMediaDrm.
DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>, boolean) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>, boolean, int) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
DefaultDrmSessionManager.MissingSchemeDataException - Exception in com.google.android.exoplayer2.drm
Signals that the DrmInitData passed to DefaultDrmSessionManager.acquireSession(android.os.Looper, com.google.android.exoplayer2.drm.DrmInitData) does not contain does not contain scheme data for the required UUID.
DefaultDrmSessionManager.Mode - Annotation Type in com.google.android.exoplayer2.drm
Determines the action to be done after a session acquired.
DefaultEventListener() - Constructor for class com.google.android.exoplayer2.Player.DefaultEventListener
Deprecated.
 
DefaultExtractorInput - Class in com.google.android.exoplayer2.extractor
An ExtractorInput that wraps a DataSource.
DefaultExtractorInput(DataSource, long, long) - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
DefaultExtractorsFactory - Class in com.google.android.exoplayer2.extractor
An ExtractorsFactory that provides an array of extractors for the following formats: MP4, including M4A (Mp4Extractor) fMP4 (FragmentedMp4Extractor) Matroska and WebM (MatroskaExtractor) Ogg Vorbis/FLAC (OggExtractor MP3 (Mp3Extractor) AAC (AdtsExtractor) MPEG TS (TsExtractor) MPEG PS (PsExtractor) FLV (FlvExtractor) WAV (WavExtractor) AC3 (Ac3Extractor) AC4 (Ac4Extractor) AMR (AmrExtractor) FLAC (only available if the FLAC extension is built and included)
DefaultExtractorsFactory() - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
DefaultHlsDataSourceFactory - Class in com.google.android.exoplayer2.source.hls
Default implementation of HlsDataSourceFactory.
DefaultHlsDataSourceFactory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
DefaultHlsExtractorFactory - Class in com.google.android.exoplayer2.source.hls
Default HlsExtractorFactory implementation.
DefaultHlsExtractorFactory() - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
DefaultHlsExtractorFactory(int, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
Creates a factory for HLS segment extractors.
DefaultHlsPlaylistParserFactory - Class in com.google.android.exoplayer2.source.hls.playlist
Default implementation for HlsPlaylistParserFactory.
DefaultHlsPlaylistParserFactory() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
DefaultHlsPlaylistTracker - Class in com.google.android.exoplayer2.source.hls.playlist
Default implementation for HlsPlaylistTracker.
DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Creates an instance.
DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory, double) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Creates an instance.
DefaultHttpDataSource - Class in com.google.android.exoplayer2.upstream
An HttpDataSource that uses Android's HttpURLConnection.
DefaultHttpDataSource(String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
DefaultHttpDataSource(String, Predicate<String>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
DefaultHttpDataSource(String, Predicate<String>, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
DefaultHttpDataSource(String, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
DefaultHttpDataSource(String, Predicate<String>, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
DefaultHttpDataSource(String, Predicate<String>, TransferListener, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
DefaultHttpDataSource(String, Predicate<String>, TransferListener, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
Use #DefaultHttpDataSource(String, Predicate, int, int, boolean, RequestProperties) and BaseDataSource.addTransferListener(TransferListener).
DefaultHttpDataSourceFactory - Class in com.google.android.exoplayer2.upstream
DefaultHttpDataSourceFactory(String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
Constructs a DefaultHttpDataSourceFactory.
DefaultHttpDataSourceFactory(String, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
Constructs a DefaultHttpDataSourceFactory.
DefaultHttpDataSourceFactory(String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
 
DefaultHttpDataSourceFactory(String, TransferListener, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
 
defaultInitializationVector - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
If TrackEncryptionBox.perSampleIvSize is 0, holds the default initialization vector as defined in the track encryption box or sample group description box.
DefaultLoadControl - Class in com.google.android.exoplayer2
The default LoadControl implementation.
DefaultLoadControl() - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Constructs a new instance, using the DEFAULT_* constants defined in this class.
DefaultLoadControl(DefaultAllocator) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Deprecated.
DefaultLoadControl(DefaultAllocator, int, int, int, int, int, boolean) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Deprecated.
DefaultLoadControl(DefaultAllocator, int, int, int, int, int, int, boolean, int, boolean) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
 
DefaultLoadControl.Builder - Class in com.google.android.exoplayer2
Builder for DefaultLoadControl.
DefaultLoadErrorHandlingPolicy - Class in com.google.android.exoplayer2.upstream
Default implementation of LoadErrorHandlingPolicy.
DefaultLoadErrorHandlingPolicy() - Constructor for class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Creates an instance with default behavior.
DefaultLoadErrorHandlingPolicy(int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Creates an instance with the given value for DefaultLoadErrorHandlingPolicy.getMinimumLoadableRetryCount(int).
DefaultMediaMetadataProvider(MediaControllerCompat, String) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.DefaultMediaMetadataProvider
Creates a new instance.
DefaultMediaSourceEventListener - Class in com.google.android.exoplayer2.source
A MediaSourceEventListener allowing selective overrides.
DefaultMediaSourceEventListener() - Constructor for class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
defaultPositionUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The default position relative to the start of the window at which to begin playback, in microseconds.
DefaultRenderersFactory - Class in com.google.android.exoplayer2
Default RenderersFactory implementation.
DefaultRenderersFactory(Context) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
 
DefaultRenderersFactory(Context, DrmSessionManager<FrameworkMediaCrypto>) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory(Context, int) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory(Context, DrmSessionManager<FrameworkMediaCrypto>, int) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory(Context, int, long) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory(Context, DrmSessionManager<FrameworkMediaCrypto>, int, long) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory.ExtensionRendererMode - Annotation Type in com.google.android.exoplayer2
Modes for using extension renderers.
DefaultSeekTimestampConverter() - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter
 
DefaultShuffleOrder(int) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Creates an instance with a specified length.
DefaultShuffleOrder(int, long) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Creates an instance with a specified length and the specified random seed.
DefaultShuffleOrder(int[], long) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Creates an instance with a specified shuffle order and the specified random seed.
DefaultSsChunkSource - Class in com.google.android.exoplayer2.source.smoothstreaming
A default SsChunkSource implementation.
DefaultSsChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, DataSource) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
DefaultSsChunkSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
 
DefaultTimeBar - Class in com.google.android.exoplayer2.ui
A time bar that shows a current position, buffered position, duration and ad markers.
DefaultTimeBar(Context) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTrackNameProvider - Class in com.google.android.exoplayer2.ui
DefaultTrackNameProvider(Resources) - Constructor for class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
 
DefaultTrackSelector - Class in com.google.android.exoplayer2.trackselection
A default TrackSelector suitable for most use cases.
DefaultTrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
DefaultTrackSelector(BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Deprecated.
Use DefaultTrackSelector.DefaultTrackSelector() instead. Custom bandwidth meter should be directly passed to the player in ExoPlayerFactory.
DefaultTrackSelector(TrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
DefaultTrackSelector.AudioTrackScore - Class in com.google.android.exoplayer2.trackselection
Represents how well an audio track matches the selection DefaultTrackSelector.Parameters.
DefaultTrackSelector.Parameters - Class in com.google.android.exoplayer2.trackselection
Extends TrackSelectionParameters by adding fields that are specific to DefaultTrackSelector.
DefaultTrackSelector.ParametersBuilder - Class in com.google.android.exoplayer2.trackselection
DefaultTrackSelector.SelectionOverride - Class in com.google.android.exoplayer2.trackselection
A track selection override.
DefaultTrackSelector.TextTrackScore - Class in com.google.android.exoplayer2.trackselection
Represents how well a text track matches the selection DefaultTrackSelector.Parameters.
DefaultTsPayloadReaderFactory - Class in com.google.android.exoplayer2.extractor.ts
Default TsPayloadReader.Factory implementation.
DefaultTsPayloadReaderFactory() - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
DefaultTsPayloadReaderFactory(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
DefaultTsPayloadReaderFactory(int, List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
DefaultTsPayloadReaderFactory.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
Flags controlling elementary stream readers' behavior.
DeferredMediaPeriod - Class in com.google.android.exoplayer2.source
Media period that wraps a media source and defers calling its MediaSource.createPeriod(MediaPeriodId, Allocator, long) method until #createPeriod(MediaPeriodId) has been called.
DeferredMediaPeriod(MediaSource, MediaSource.MediaPeriodId, Allocator, long) - Constructor for class com.google.android.exoplayer2.source.DeferredMediaPeriod
Creates a new deferred media period.
DeferredMediaPeriod.PrepareErrorListener - Interface in com.google.android.exoplayer2.source
Listener for preparation errors.
Definition(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
 
Definition(TrackGroup, int[], int, Object) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
 
delete(File, DatabaseProvider) - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deletes all content belonging to a cache instance.
delete() - Method in class com.google.android.exoplayer2.util.AtomicFile
Delete the atomic file.
deltaPicOrderAlwaysZeroFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
depth - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The color depth of the picture in bits-per-pixel.
dequeueInputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Dequeues the next input buffer to be filled and queued to the decoder.
dequeueInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
dequeueOutputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Dequeues the next output buffer from the decoder.
dequeueOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
describeContents() - Method in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
 
describeContents() - Method in class com.google.android.exoplayer2.Format
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.Id3Frame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.Metadata
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
describeContents() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
describeContents() - Method in class com.google.android.exoplayer2.offline.StreamKey
 
describeContents() - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
describeContents() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
describeContents() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
describeContents() - Method in class com.google.android.exoplayer2.source.TrackGroup
 
describeContents() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
describeContents() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
describeContents() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
describeContents() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
describeContents() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
description - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
A description for the item.
description - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
A description of the picture.
description - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
Descriptor - Class in com.google.android.exoplayer2.source.dash.manifest
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
Descriptor(String, String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
descriptorBytes - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
DEVICE - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.DEVICE, but in a place where it can be conveniently overridden for local testing.
DEVICE_CHARGING - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device is charging.
DEVICE_DEBUG_INFO - Static variable in class com.google.android.exoplayer2.util.Util
A concise description of the device that it can be useful to log for debugging purposes.
DEVICE_IDLE - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device is idle.
diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
An optional developer-readable diagnostic information string.
DIMEN_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
An unset position or width.
disable() - Method in class com.google.android.exoplayer2.BaseRenderer
 
disable() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
disable() - Method in interface com.google.android.exoplayer2.Renderer
Disable the renderer, transitioning it to the Renderer.STATE_DISABLED state.
disable() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
disable() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Disables this track selection.
disable() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
Disables the helper.
disableCacheFolderLocking() - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
Don't create multiple SimpleCache instances for the same cache folder. If you need to create another instance, make sure you call SimpleCache.release() on the previous instance.
disableCacheInitializationExceptions() - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
Don't use this. Provided for problematic upgrade cases only.
disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
disabledTextTrackSelectionFlags - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Bitmask of selection flags that are disabled for text track selections.
disableSeeking() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Disables the extractor from being able to seek through the media.
disableTunneling() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Disables tunneling.
disableTunneling() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Discards buffered media up to the specified position.
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
discardBuffer(long, boolean) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Discards buffered media up to the specified position.
discardTo(long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards up to but not including the sample immediately before or at the specified time.
discardToEnd() - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards to the end of the queue.
discardToRead() - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards up to but not including the read position.
discardToSps(ByteBuffer) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Discards data from the buffer up to the first SPS, where data.position() is interpreted as the length of the buffer.
discardUpstreamSamples(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards samples from the write side of the queue.
DISCONTINUITY_REASON_AD_INSERTION - Static variable in interface com.google.android.exoplayer2.Player
Discontinuity to or from an ad within one period in the timeline.
DISCONTINUITY_REASON_INTERNAL - Static variable in interface com.google.android.exoplayer2.Player
Discontinuity introduced internally by the source.
DISCONTINUITY_REASON_PERIOD_TRANSITION - Static variable in interface com.google.android.exoplayer2.Player
Automatic playback transition from one period in the timeline to the next.
DISCONTINUITY_REASON_SEEK - Static variable in interface com.google.android.exoplayer2.Player
Seek within the current period or to another period.
DISCONTINUITY_REASON_SEEK_ADJUSTMENT - Static variable in interface com.google.android.exoplayer2.Player
Seek adjustment due to being unable to seek to the requested position or because the seek was permitted to be inexact.
discontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The discontinuity sequence number of the first media segment in the playlist, as defined by #EXT-X-DISCONTINUITY-SEQUENCE.
dispatch(EventDispatcher.Event<T>) - Method in class com.google.android.exoplayer2.util.EventDispatcher
Dispatches an event to all registered listeners.
dispatchDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.spherical.GlViewGroup
 
dispatchDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.SubtitleView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Called to process media key events.
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
Called to process media key events.
dispatchSeekTo(Player, int, long) - Method in interface com.google.android.exoplayer2.ControlDispatcher
Dispatches a Player.seekTo(int, long) operation.
dispatchSeekTo(Player, int, long) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
 
dispatchSetPlayWhenReady(Player, boolean) - Method in interface com.google.android.exoplayer2.ControlDispatcher
Dispatches a Player.setPlayWhenReady(boolean) operation.
dispatchSetPlayWhenReady(Player, boolean) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
 
dispatchSetRepeatMode(Player, int) - Method in interface com.google.android.exoplayer2.ControlDispatcher
Dispatches a Player.setRepeatMode(int) operation.
dispatchSetRepeatMode(Player, int) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
 
dispatchSetShuffleModeEnabled(Player, boolean) - Method in interface com.google.android.exoplayer2.ControlDispatcher
dispatchSetShuffleModeEnabled(Player, boolean) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
 
dispatchStop(Player, boolean) - Method in interface com.google.android.exoplayer2.ControlDispatcher
Dispatches a Player.stop() operation.
dispatchStop(Player, boolean) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
 
dispatchTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
displayHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
displayWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
DO_NOT_OFFSET - Static variable in class com.google.android.exoplayer2.util.TimestampAdjuster
A special firstSampleTimestampUs value indicating that presentation timestamps should not be offset.
DolbyVisionConfig - Class in com.google.android.exoplayer2.video
Dolby Vision configuration data.
domain - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
DONT_RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
Discards the failed loading task and ignores any errors that have occurred.
DONT_RETRY_FATAL - Static variable in class com.google.android.exoplayer2.upstream.Loader
Discards the failed load.
Download - Class in com.google.android.exoplayer2.offline
Represents state of a download.
Download(DownloadRequest, int, long, long, long, int, int) - Constructor for class com.google.android.exoplayer2.offline.Download
 
Download(DownloadRequest, int, long, long, long, int, int, DownloadProgress) - Constructor for class com.google.android.exoplayer2.offline.Download
 
download(Downloader.ProgressListener) - Method in interface com.google.android.exoplayer2.offline.Downloader
Downloads the content.
download(Downloader.ProgressListener) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
download(Downloader.ProgressListener) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Downloads the selected streams in the media.
Download.FailureReason - Annotation Type in com.google.android.exoplayer2.offline
Failure reasons.
Download.State - Annotation Type in com.google.android.exoplayer2.offline
Download states.
DownloadCursor - Interface in com.google.android.exoplayer2.offline
Provides random read-write access to the result set returned by a database query.
Downloader - Interface in com.google.android.exoplayer2.offline
Downloads and removes a piece of content.
Downloader.ProgressListener - Interface in com.google.android.exoplayer2.offline
Receives progress updates during download operations.
DownloaderConstructorHelper - Class in com.google.android.exoplayer2.offline
A helper class that holds necessary parameters for Downloader construction.
DownloaderConstructorHelper(Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
 
DownloaderConstructorHelper(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, PriorityTaskManager) - Constructor for class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
 
DownloaderConstructorHelper(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, PriorityTaskManager, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
 
DownloaderFactory - Interface in com.google.android.exoplayer2.offline
Creates Downloaders for given DownloadRequests.
DownloadException - Exception in com.google.android.exoplayer2.offline
Thrown on an error during downloading.
DownloadException(String) - Constructor for exception com.google.android.exoplayer2.offline.DownloadException
 
DownloadException(Throwable) - Constructor for exception com.google.android.exoplayer2.offline.DownloadException
 
DownloadHelper - Class in com.google.android.exoplayer2.offline
A helper for initializing and removing downloads.
DownloadHelper(String, Uri, String, MediaSource, DefaultTrackSelector.Parameters, RendererCapabilities[]) - Constructor for class com.google.android.exoplayer2.offline.DownloadHelper
Creates download helper.
DownloadHelper.Callback - Interface in com.google.android.exoplayer2.offline
A callback to be notified when the DownloadHelper is prepared.
DownloadIndex - Interface in com.google.android.exoplayer2.offline
An index of Downloads.
downloadLicense(DrmInitData) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Downloads an offline license.
DownloadManager - Class in com.google.android.exoplayer2.offline
Manages downloads.
DownloadManager(Context, DatabaseProvider, Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
Constructs a DownloadManager.
DownloadManager(Context, WritableDownloadIndex, DownloaderFactory) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
Constructs a DownloadManager.
DownloadManager.Listener - Interface in com.google.android.exoplayer2.offline
Listener for DownloadManager events.
DownloadNotificationHelper - Class in com.google.android.exoplayer2.ui
Helper for creating download notifications.
DownloadNotificationHelper(Context, String) - Constructor for class com.google.android.exoplayer2.ui.DownloadNotificationHelper
 
DownloadNotificationUtil - Class in com.google.android.exoplayer2.ui
Deprecated.
Using this class can cause notifications to flicker on devices with Util.SDK_INT < 21. Use DownloadNotificationHelper instead.
DownloadProgress - Class in com.google.android.exoplayer2.offline
Mutable Download progress.
DownloadProgress() - Constructor for class com.google.android.exoplayer2.offline.DownloadProgress
 
DownloadRequest - Class in com.google.android.exoplayer2.offline
Defines content to be downloaded.
DownloadRequest(String, String, Uri, List<StreamKey>, String, byte[]) - Constructor for class com.google.android.exoplayer2.offline.DownloadRequest
 
DownloadRequest.UnsupportedRequestException - Exception in com.google.android.exoplayer2.offline
Thrown when the encoded request data belongs to an unsupported request type.
DownloadService - Class in com.google.android.exoplayer2.offline
A Service for downloading media.
DownloadService(int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService.
DownloadService(int, long) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService.
DownloadService(int, long, String, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
DownloadService(int, long, String, int, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService.
downstreamFormatChanged(int, Format, int, Object, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onDownstreamFormatChanged(int, MediaPeriodId, MediaLoadData).
downstreamFormatChanged(MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onDownstreamFormatChanged(int, MediaPeriodId, MediaLoadData).
doWork() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler.SchedulerWorker
 
draw(float[]) - Method in class com.google.android.exoplayer2.ui.spherical.CanvasRenderer
Renders the quad.
draw(float[]) - Method in class com.google.android.exoplayer2.ui.spherical.PointerRenderer
Renders the pointer.
DRAW_MODE_TRIANGLES - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
Triangle draw mode.
DRAW_MODE_TRIANGLES_FAN - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
Triangle fan draw mode.
DRAW_MODE_TRIANGLES_STRIP - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
Triangle strip draw mode.
drawableStateChanged() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
drawFrame(float[], boolean) - Method in class com.google.android.exoplayer2.ui.spherical.SceneRenderer
Draws the scene with a given eye pose and type.
DrmInitData - Class in com.google.android.exoplayer2.drm
Initialization data for one or more DRM schemes.
DrmInitData(List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData(String, List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData(DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData(String, DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
drmInitData - Variable in class com.google.android.exoplayer2.Format
DRM initialization data if the stream is protected, or null otherwise.
drmInitData - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
DRM initialization data for sample decryption, or null if the segment does not use CDM-DRM protection.
DrmInitData.SchemeData - Class in com.google.android.exoplayer2.drm
Scheme initialization data.
DrmScheme(UUID, MediaItem.UriBundle) - Constructor for class com.google.android.exoplayer2.ext.cast.MediaItem.DrmScheme
Creates an instance.
drmSchemeDatas - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
drmSchemes - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
Immutable list of MediaItem.DrmScheme instances sorted in decreasing order of preference.
drmSchemeType - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
DrmSession<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
A DRM session.
DrmSession.DrmSessionException - Exception in com.google.android.exoplayer2.drm
Wraps the throwable which is the cause of the error state.
DrmSession.State - Annotation Type in com.google.android.exoplayer2.drm
The state of the DRM session.
DrmSessionException(Throwable) - Constructor for exception com.google.android.exoplayer2.drm.DrmSession.DrmSessionException
 
DrmSessionManager<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
Manages a DRM session.
dropOutputBuffer(VpxOutputBuffer) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
Drops the specified output buffer and releases it.
dropOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Drops the output buffer with the specified index.
droppedBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of dropped buffers.
droppedFrames(int, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
droppedToKeyframeCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of times all buffers to a keyframe were dropped.
DtsReader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous DTS byte stream and extracts individual samples.
DtsReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.DtsReader
Constructs a new reader for DTS elementary streams.
DtsUtil - Class in com.google.android.exoplayer2.audio
Utility methods for parsing DTS frames.
Dummy() - Constructor for class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
 
DummyDataSource - Class in com.google.android.exoplayer2.upstream
A dummy DataSource which provides no data.
DummyExtractorOutput - Class in com.google.android.exoplayer2.extractor
A dummy ExtractorOutput implementation.
DummyExtractorOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
DummySurface - Class in com.google.android.exoplayer2.video
A dummy Surface.
DummyTrackOutput - Class in com.google.android.exoplayer2.extractor
A dummy TrackOutput implementation.
DummyTrackOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
durationMs - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The duration of the event in milliseconds.
durationMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The duration of the presentation in milliseconds, or C.TIME_UNSET if not applicable.
durationsUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The chunk durations, in microseconds.
durationsUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The durations of each ad in the ad group, in microseconds.
durationUs - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The duration of the track in microseconds, or C.TIME_UNSET if unknown.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The total duration of the playlist in microseconds.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The duration of the segment in microseconds, as defined by #EXTINF.
durationUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The overall presentation duration of the media in microseconds, or C.TIME_UNSET if the duration is unknown.
durationUs - Variable in class com.google.android.exoplayer2.Timeline.Period
The duration of this period in microseconds, or C.TIME_UNSET if unknown.
durationUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The duration of this window in microseconds, or C.TIME_UNSET if unknown.
durationUs() - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
Returns the duration of the FLAC stream in microseconds.
DvbDecoder - Class in com.google.android.exoplayer2.text.dvb
A SimpleSubtitleDecoder for DVB subtitles.
DvbDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.dvb.DvbDecoder
 
DvbSubtitleInfo(String, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
dvbSubtitleInfos - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
DvbSubtitleReader - Class in com.google.android.exoplayer2.extractor.ts
Parses DVB subtitle data and extracts individual frames.
DvbSubtitleReader(List<TsPayloadReader.DvbSubtitleInfo>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
dvrWindowLengthUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The length of the trailing window for a live broadcast in microseconds, or C.TIME_UNSET if the stream is not live or if the window length is unspecified.
dynamic - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
Whether the manifest has value "dynamic" for the type attribute.
DynamicConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
Deprecated.
DynamicConcatenatingMediaSource() - Constructor for class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
DynamicConcatenatingMediaSource(boolean) - Constructor for class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
DynamicConcatenatingMediaSource(boolean, ShuffleOrder) - Constructor for class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource

E

e(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
e(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
EbmlProcessor - Interface in com.google.android.exoplayer2.extractor.mkv
Defines EBML element IDs/types and processes events.
EbmlProcessor.ElementType - Annotation Type in com.google.android.exoplayer2.extractor.mkv
EBML element types.
EC3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
EDGE_TYPE_DEPRESSED - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Edge type value specifying depressed bevel character edges.
EDGE_TYPE_DROP_SHADOW - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Edge type value specifying drop-shadowed character edges.
EDGE_TYPE_NONE - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Edge type value specifying no character edges.
EDGE_TYPE_OUTLINE - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Edge type value specifying uniformly outlined character edges.
EDGE_TYPE_RAISED - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Edge type value specifying raised bevel character edges.
edgeColor - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
The preferred edge color, if using an edge type other than CaptionStyleCompat.EDGE_TYPE_NONE.
edgeType - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
The preferred edge type.
editListDurations - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
Durations of edit list segments in the movie timescale.
editListMediaTimes - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
Media times for edit list segments in the track timescale.
effectId - Variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
The identifier of the effect, or AuxEffectInfo.NO_AUX_EFFECT_ID if there is no effect.
EGLSurfaceTexture - Class in com.google.android.exoplayer2.util
Generates a SurfaceTexture using EGL/GLES functions.
EGLSurfaceTexture(Handler) - Constructor for class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
EGLSurfaceTexture(Handler, EGLSurfaceTexture.TextureImageListener) - Constructor for class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
EGLSurfaceTexture.GlException - Exception in com.google.android.exoplayer2.util
A runtime exception to be thrown if some EGL operations failed.
EGLSurfaceTexture.SecureMode - Annotation Type in com.google.android.exoplayer2.util
Secure mode to be used by the EGL surface and context.
EGLSurfaceTexture.TextureImageListener - Interface in com.google.android.exoplayer2.util
Listener to be called when the texture image on SurfaceTexture has been updated.
elapsedRealtime() - Method in interface com.google.android.exoplayer2.util.Clock
 
elapsedRealtimeMs - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
The value of SystemClock.elapsedRealtime() at the time of the load event.
ELEMENT_TYPE_BINARY - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for binary elements.
ELEMENT_TYPE_FLOAT - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for IEEE floating point value elements of either 4 or 8 bytes.
ELEMENT_TYPE_MASTER - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for elements that contain child elements.
ELEMENT_TYPE_STRING - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for string elements.
ELEMENT_TYPE_UNKNOWN - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for unknown elements.
ELEMENT_TYPE_UNSIGNED_INT - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for integer value elements of up to 8 bytes.
ElementaryStreamReader - Interface in com.google.android.exoplayer2.extractor.ts
Extracts individual samples from an elementary media stream, preserving original order.
elementId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
EmbeddedSampleStream(ChunkSampleStream<T>, SampleQueue, int) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
EMPTY - Static variable in class com.google.android.exoplayer2.ext.cast.MediaItem.UriBundle
EMPTY - Static variable in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
An empty media chunk iterator without available data.
EMPTY - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Represents an empty master playlist, from which no attributes can be inherited.
EMPTY - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
The empty array.
EMPTY - Static variable in class com.google.android.exoplayer2.text.Cue
The empty cue.
EMPTY - Static variable in class com.google.android.exoplayer2.Timeline
An empty timeline.
EMPTY - Static variable in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
An empty DefaultContentMetadata.
EMPTY_BUFFER - Static variable in interface com.google.android.exoplayer2.audio.AudioProcessor
An empty, direct ByteBuffer.
EMPTY_BYTE_ARRAY - Static variable in class com.google.android.exoplayer2.util.Util
An empty byte array.
EmptySampleStream - Class in com.google.android.exoplayer2.source
An empty SampleStream.
EmptySampleStream() - Constructor for class com.google.android.exoplayer2.source.EmptySampleStream
 
EMSG - Static variable in annotation type com.google.android.exoplayer2.source.hls.HlsMetadataType
 
enable(RendererConfiguration, Format[], SampleStream, long, boolean, long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
enable(RendererConfiguration, Format[], SampleStream, long, boolean, long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Replaces the SampleStream that will be associated with this renderer.
enable(RendererConfiguration, Format[], SampleStream, long, boolean, long) - Method in interface com.google.android.exoplayer2.Renderer
Enables the renderer to consume from the specified SampleStream.
enable() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
enable() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
enable() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Enables the track selection.
enable() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
Enables the helper.
enabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
enabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
enablePreV21AudioSessionWorkaround - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
Whether to enable a workaround for an issue where an audio effect does not keep its session active across releasing/initializing a new audio track, on platform builds where Util.SDK_INT < 21.
enableTunnelingV21(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Enables tunneling, if possible.
enableTunnelingV21(int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
encode(EventMessage) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageEncoder
Encodes an EventMessage to a byte array that can be decoded by EventMessageDecoder.
encoderDelay - Variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
The number of samples to trim from the start of the decoded audio stream, or Format.NO_VALUE if not set.
encoderDelay - Variable in class com.google.android.exoplayer2.Format
The number of frames to trim from the start of the decoded audio stream, or 0 if not applicable.
encoderPadding - Variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
The number of samples to trim from the end of the decoded audio stream, or Format.NO_VALUE if not set.
encoderPadding - Variable in class com.google.android.exoplayer2.Format
The number of frames to trim from the end of the decoded audio stream, or 0 if not applicable.
encoding - Variable in class com.google.android.exoplayer2.audio.BaseAudioProcessor
The configured input encoding, or Format.NO_VALUE if not configured.
ENCODING_AC3 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AC4 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_DOLBY_TRUEHD - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_DTS - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_DTS_HD - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_E_AC3 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_INVALID - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_16BIT - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_24BIT - Static variable in class com.google.android.exoplayer2.C
PCM encoding with 24 bits per sample.
ENCODING_PCM_32BIT - Static variable in class com.google.android.exoplayer2.C
PCM encoding with 32 bits per sample.
ENCODING_PCM_8BIT - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_A_LAW - Static variable in class com.google.android.exoplayer2.C
Audio encoding for A-law.
ENCODING_PCM_FLOAT - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_MU_LAW - Static variable in class com.google.android.exoplayer2.C
Audio encoding for mu-law.
encryptedBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
encryptedBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of encrypted blocks in the encryption pattern, 0 if pattern encryption does not apply.
encryptionIV - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The encryption initialization vector as defined by #EXT-X-KEY, or null if the segment is not encrypted.
encryptionKey - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The encryption key associated with the sample.
endMasterElement(int) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when the end of a master element is encountered.
endMasterElement(int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when the end of a master element is encountered.
endOffset - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
The byte offset of the end of the chapter, or C.POSITION_UNSET if not set.
endOfStream - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Indicates that the end of the stream has been reached.
endPositionUs - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
The position in microseconds at which playback of this media item should end.
endSection() - Static method in class com.google.android.exoplayer2.util.TraceUtil
Writes a trace message to indicate that a given section of code has ended.
endTime - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue
 
endTimeMs - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
endTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The end time of the media contained by the chunk, or C.TIME_UNSET if the data being loaded does not contain media samples.
endTracks() - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
endTracks() - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Called when all tracks have been identified, meaning no new trackId values will be passed to ExtractorOutput.track(int, int).
endTracks() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
 
endWrite(OutputStream) - Method in class com.google.android.exoplayer2.util.AtomicFile
Call when you have successfully finished writing to the stream returned by AtomicFile.startWrite().
ensureSpaceForWrite(int) - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Ensures that DecoderInputBuffer.data is large enough to accommodate a write of a given length at its current position.
ensureUpdated() - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
Should be called to ensure counter values are made visible across threads.
entrySet() - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Returns the set of metadata entries in their raw byte array form.
equals(Object) - Method in class com.google.android.exoplayer2.audio.AudioAttributes
 
equals(Object) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
 
equals(Object) - Method in class com.google.android.exoplayer2.audio.AuxEffectInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.BasePlayer.ListenerHolder
 
equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
equals(Object) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.DrmScheme
 
equals(Object) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem
 
equals(Object) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.UriBundle
 
equals(MediaDescriptionCompat, MediaDescriptionCompat) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaIdEqualityChecker
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.SeekPoint
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
equals(Object) - Method in class com.google.android.exoplayer2.Format
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.Metadata
 
equals(Object) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
equals(Object) - Method in class com.google.android.exoplayer2.offline.StreamKey
 
equals(Object) - Method in class com.google.android.exoplayer2.PlaybackParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.RendererConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
equals(Object) - Method in class com.google.android.exoplayer2.SeekParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
 
equals(Object) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
 
equals(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
equals(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
 
equals(Object) - Method in class com.google.android.exoplayer2.source.TrackGroup
 
equals(Object) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
equals(Object) - Method in class com.google.android.exoplayer2.video.ColorInfo
 
errorCode - Variable in exception com.google.android.exoplayer2.audio.AudioSink.WriteException
The error value returned from the sink implementation.
errorCode - Variable in exception com.google.android.exoplayer2.drm.DecryptionException
A component specific error code.
ErrorMessageProvider<T extends Throwable> - Interface in com.google.android.exoplayer2.util
Converts throwables into error codes and user readable error messages.
ErrorStateDrmSession<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
A DrmSession that's in a terminal error state.
ErrorStateDrmSession(DrmSession.DrmSessionException) - Constructor for class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
escapeFileName(String) - Static method in class com.google.android.exoplayer2.util.Util
Escapes a string so that it's safe for use as a file or directory name on at least FAT32 filesystems.
EsInfo(int, String, List<TsPayloadReader.DvbSubtitleInfo>, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
evaluate(int, int, int, int, int) - Method in interface com.google.android.exoplayer2.metadata.id3.Id3Decoder.FramePredicate
Returns whether a frame with the specified parameters should be decoded.
evaluate(T) - Method in interface com.google.android.exoplayer2.util.Predicate
Evaluates an input.
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
May be called periodically by sources that load media in discrete MediaChunks and support discarding of buffered chunks in order to re-buffer using a different selected track.
EVENT_KEY_EXPIRED - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
EVENT_KEY_REQUIRED - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
EVENT_PROVISION_REQUIRED - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
EventDispatcher(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
 
EventDispatcher() - Constructor for class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Creates an event dispatcher.
EventDispatcher<T> - Class in com.google.android.exoplayer2.util
Event dispatcher which allows listener registration.
EventDispatcher() - Constructor for class com.google.android.exoplayer2.util.EventDispatcher
Creates an event dispatcher.
EventDispatcher(Handler, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
 
EventDispatcher.Event<T> - Interface in com.google.android.exoplayer2.util
Functional interface to send an event.
EventLogger - Class in com.google.android.exoplayer2.util
Logs events from Player and other core components using Log.
EventLogger(MappingTrackSelector) - Constructor for class com.google.android.exoplayer2.util.EventLogger
Creates event logger.
EventLogger(MappingTrackSelector, String) - Constructor for class com.google.android.exoplayer2.util.EventLogger
Creates event logger.
EventMessage - Class in com.google.android.exoplayer2.metadata.emsg
An Event Message (emsg) as defined in ISO 23009-1.
EventMessage(String, String, long, long, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
EventMessageDecoder - Class in com.google.android.exoplayer2.metadata.emsg
Decodes data encoded by EventMessageEncoder.
EventMessageDecoder() - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
EventMessageEncoder - Class in com.google.android.exoplayer2.metadata.emsg
Encodes data that can be decoded by EventMessageDecoder.
EventMessageEncoder() - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessageEncoder
 
eventPlaybackPositionMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Position in the window or ad this event belongs to at the time of the event, in milliseconds.
events - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
The list of scheduled events.
events - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
EventMessages in the event stream.
EventStream - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
EventStream(String, String, long, long[], EventMessage[]) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.EventStream
 
eventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The event stream belonging to the period.
EventTime(long, Timeline, int, MediaSource.MediaPeriodId, long, long, long) - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
 
EXACT - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for exact seeking.
exceedAudioConstraintsIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to exceed the DefaultTrackSelector.Parameters.maxAudioChannelCount and DefaultTrackSelector.Parameters.maxAudioBitrate constraints when no selection can be made otherwise.
exceedRendererCapabilitiesIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to exceed renderer capabilities when no selection can be made otherwise.
exceedVideoConstraintsIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.drm.LocalMediaDrmCallback
 
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
Executes a key request.
executePlayerCommand(int) - Method in interface com.google.android.exoplayer2.audio.AudioFocusManager.PlayerControl
Called when a command must be executed on the player.
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.drm.LocalMediaDrmCallback
 
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
Executes a provisioning request.
exists() - Method in class com.google.android.exoplayer2.util.AtomicFile
Returns whether the file or its backup exists.
exit() - Method in class com.google.android.exoplayer2.ext.gvr.GvrPlayerActivity
Tries to exit gracefully from VR using a VR transition dialog.
ExoDatabaseProvider - Class in com.google.android.exoplayer2.database
An SQLiteOpenHelper that provides instances of a standalone ExoPlayer database.