Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W X 

A

absoluteStreamPosition - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The absolute position of the data in the full stream.
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.
accessibilityChannel - Variable in class com.google.android.exoplayer2.Format
The Accessibility channel, or Format.NO_VALUE if not known or applicable.
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 - Variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The action being executed.
ACTION_ADD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Starts a download service, adding a new DownloadAction to be executed.
ACTION_INIT - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Starts a download service without adding a new DownloadAction.
ACTION_RELOAD_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Reloads the download requirements.
ActionFile - Class in com.google.android.exoplayer2.offline
Stores and loads DownloadActions to/from a file.
ActionFile(File) - Constructor for class com.google.android.exoplayer2.offline.ActionFile
 
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.
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(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.
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
 
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
Adds an BandwidthMeter.EventListener to be informed of bandwidth samples.
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.
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(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(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, 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, 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>, 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>, 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 class com.google.android.exoplayer2.SimpleExoPlayer
Adds a MetadataOutput to receive metadata.
addSample(int, float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
Adds a new weighted value.
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
 
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.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.EventListener - Interface in com.google.android.exoplayer2.source.ads
Listener for ad 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, ViewGroup) - 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, ViewGroup) - 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, DataSource.Factory, AdsLoader, ViewGroup, Handler, AdsMediaSource.EventListener) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
Deprecated.
To listen for ad load error events, add a listener via BaseMediaSource.addEventListener(Handler, MediaSourceEventListener) and check for AdsMediaSource.AdLoadExceptions in MediaSourceEventListener#onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean). Individual ads loader implementations should expose ad interaction events, if applicable.
AdsMediaSource(MediaSource, AdsMediaSource.MediaSourceFactory, AdsLoader, ViewGroup, Handler, AdsMediaSource.EventListener) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
Deprecated.
To listen for ad load error events, add a listener via BaseMediaSource.addEventListener(Handler, MediaSourceEventListener) and check for AdsMediaSource.AdLoadExceptions in MediaSourceEventListener#onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean). Individual ads loader implementations should expose ad interaction events, if applicable.
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.EventListener - Interface in com.google.android.exoplayer2.source.ads
Deprecated.
To listen for ad load error events, add a listener via BaseMediaSource.addEventListener(Handler, MediaSourceEventListener) and check for AdsMediaSource.AdLoadExceptions in MediaSourceEventListener#onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean). Individual ads loader implementations should expose ad interaction events, if applicable.
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.
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.
allowMixedMimeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive selections containing mixed mime types.
allowNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to allow adaptive selections where adaptation may not be completely seamless.
allowPassthrough(String) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns whether encoded audio passthrough should be used for playing back the input format.
alreadyCachedBytes - Variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil.CachingCounters
The number of bytes already in the cache.
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_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.
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.
attachPlayer(ExoPlayer, AdsLoader.EventListener, ViewGroup) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Attaches a player that will play ads loaded using this instance.
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_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(Context, Handler, 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.
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.
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.
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
 
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
 
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
 
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
 
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(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() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
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.FlacStreamInfo
 
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_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).
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.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.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
buildAddActionIntent(Context, Class<? extends DownloadService>, DownloadAction, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Builds an Intent for adding an action to be executed by the service.
buildAudioProcessors() - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds an array of AudioProcessors that will process PCM audio before output.
buildAudioRenderers(Context, DrmSessionManager<FrameworkMediaCrypto>, AudioProcessor[], Handler, AudioRendererEventListener, int, 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.
buildCacheDataSource(boolean) - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
Returns a new CacheDataSource instance.
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.
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.text.webvtt.WebvttCue.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Deprecated.
Use #Builder(Context) instead.
Builder(Context) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Creates a builder with default parameters and without listener.
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.
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.
buildRawResourceUri(int) - Static method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
Builds a Uri for the specified raw resource identifier.
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.
buildUponParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Returns a new DefaultTrackSelector.ParametersBuilder initialized with the current selection parameters.
buildVideoRenderers(Context, DrmSessionManager<FrameworkMediaCrypto>, long, Handler, VideoRendererEventListener, int, 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
 
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
 
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.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.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.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.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, DataSource, CacheUtil.CachingCounters, 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, CacheDataSource, byte[], PriorityTaskManager, int, CacheUtil.CachingCounters, 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 a CacheDataSink using the CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, boolean) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Constructs a CacheDataSink using the CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
CacheDataSink(Cache, long, int, boolean) - 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, int, long) - 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 cache'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
 
CacheDataSourceFactory(Cache, DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
 
CacheDataSourceFactory(Cache, DataSource.Factory, int, long) - 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
 
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
 
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 access time 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.CachingCounters - Class in com.google.android.exoplayer2.upstream.cache
Counters used during caching.
CachingCounters() - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheUtil.CachingCounters
 
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 interface com.google.android.exoplayer2.offline.Downloader
Interrupts any current download operation and prevents future 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
 
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.
capabilities - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The capabilities of the decoder, like the profiles/levels it supports, or null if this is a passthrough codec.
capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the capacity of the array, which may be larger than the limit.
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.
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.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.FlacStreamInfo
 
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.
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.
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.
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.source.chunk.ChunkHolder
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist.
clear(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.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
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.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
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, long, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Deprecated.
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) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with one element removed.
cloneAndRemove(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndRemove(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
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.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
 
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.
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
 
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.
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.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.
colorSpace - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color space of the video.
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.decoder - package com.google.android.exoplayer2.decoder
 
com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
 
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.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.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.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
 
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) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Commits a file into the cache.
commitFile(File) - 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(DefaultTrackSelector.AudioTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
Compares this score with another.
compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
 
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.
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 and returns whether to AudioProcessor.flush() it.
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
 
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.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, boolean) - 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, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
 
consume(ParsableByteArray, boolean) - 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.upstream.cache.CacheUtil.CachingCounters
The length of the content being cached in bytes, 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 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.
copyWithContainerInfo(String, String, String, String, 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
 
copyWithGaplessInfo(int, int) - 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
 
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.
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
Deprecated.
createAudioContainerFormat(String, String, String, String, String, int, int, int, List<byte[]>, 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
 
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, String) - Static method in class com.google.android.exoplayer2.Format
 
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.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
 
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) - 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
createDownloadAction(Uri, byte[], String) - Static method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
Creates a progressive stream download action.
createDownloadAction(Uri, boolean, byte[], List<StreamKey>) - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction.SegmentDownloadActionDeserializer
Returns a DownloadAction.
createDownloader(DownloaderConstructorHelper) - Method in class com.google.android.exoplayer2.offline.DownloadAction
Creates a Downloader with the given parameters.
createDownloader(DownloaderConstructorHelper) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
 
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.
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.
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.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
 
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(Uri) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Returns a new ExtractorMediaSource using the current parameters.
createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
createMediaSource(Uri, Format, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Returns a new ExtractorMediaSource using the current parameters.
createMediaSource(Uri, Format, long, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.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
 
createNotificationChannel(Context, String, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
Creates a notification channel that notifications can be posted to.
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) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
Calls MediaSource.createPeriod(MediaPeriodId, Allocator) on the wrapped source then prepares it if MediaPeriod.prepare(Callback, long) has been called.
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns a new MediaPeriod identified by periodId.
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
createRemoveAction(Uri, byte[], String) - Static method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
Creates a progressive stream remove action.
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.
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, int, int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createTextContainerFormat(String, String, String, String, String, int, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createTextContainerFormat(String, String, String, String, String, 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
 
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.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 class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
createTrackSelection(TrackGroup, BandwidthMeter, int...) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
Deprecated.
 
createTrackSelection(TrackGroup, BandwidthMeter, int...) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
createTrackSelection(TrackGroup, BandwidthMeter, int...) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection.Factory
Creates a new 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
Deprecated.
createVideoContainerFormat(String, String, String, String, String, int, int, int, float, List<byte[]>, 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
 
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.Format
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
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.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.video.ColorInfo
 
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 (timeline.getCurrentWindowIndex() or the currently playing ad at the time of the event, in milliseconds.

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
 
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.metadata.id3.BinaryFrame
 
data - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
data - Variable in class com.google.android.exoplayer2.offline.DownloadAction
Custom data for this action.
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.
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 DataSpec 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 DataSpec 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
DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
DataSpec(Uri, long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
DataSpec(Uri, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Construct a DataSpec 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
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.
DEBUG - Static variable in interface com.google.android.exoplayer2.scheduler.Scheduler
 
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(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 java.lang.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.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.
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
 
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 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.util.Clock
Default Clock to use for all non-test cases.
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.C
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_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_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_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_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.C
A default size in bytes for a camera motion buffer.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
The default connection timeout, 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_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_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
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_CACHE_FILE_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Default maximum single cache file size.
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_SIMULTANEOUS_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
The default maximum number of simultaneous download tasks.
DEFAULT_METADATA_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
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_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 task 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.C
A default size in bytes for a muxed buffer (e.g.
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.upstream.DefaultHttpDataSource
The default read timeout, in milliseconds.
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_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_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.C
A default size in bytes for a text buffer.
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_VIDEO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
A default size in bytes for a video buffer.
DEFAULT_WITH_FALLBACK - Static variable in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
A MediaCodecSelector that returns a list of decoders in priority order, allowing fallback to less preferred decoders if initialization fails.
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
Creates a bandwidth meter with default parameters.
DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Deprecated.
DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Deprecated.
DefaultBandwidthMeter.Builder - Class in com.google.android.exoplayer2.upstream
Builder for a bandwidth meter.
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.
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
 
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
 
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>, Handler, DefaultDrmSessionEventListener) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
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>, Handler, DefaultDrmSessionEventListener, boolean) - 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>, Handler, DefaultDrmSessionEventListener, boolean, int) - 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.EventListener - Interface in com.google.android.exoplayer2.drm
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) AMR (AmrExtractor) FLAC (only available if the FLAC extension is built and included)
DefaultExtractorsFactory() - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
DefaultHttpDataSource - Class in com.google.android.exoplayer2.upstream
An HttpDataSource that uses Android's HttpURLConnection.
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, boolean, PriorityTaskManager) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Deprecated.
DefaultLoadControl(DefaultAllocator, int, int, int, int, int, boolean, PriorityTaskManager, 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).
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.
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
Constructs an instance that uses a default factory to create adaptive track selections.
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
Constructs an instance that uses a factory to create adaptive track selections.
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
Constraint parameters for DefaultTrackSelector.
DefaultTrackSelector.ParametersBuilder - Class in com.google.android.exoplayer2.trackselection
DefaultTrackSelector.SelectionOverride - Class in com.google.android.exoplayer2.trackselection
A track selection override.
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) method until #createPeriod(MediaPeriodId) has been called.
DeferredMediaPeriod(MediaSource, MediaSource.MediaPeriodId, Allocator) - 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.
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
 
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.Format
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
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.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.video.ColorInfo
 
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
 
descriptorBytes - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
deserializeFromStream(DownloadAction.Deserializer[], InputStream) - Static method in class com.google.android.exoplayer2.offline.DownloadAction
Deserializes one action that was serialized with DownloadAction.serializeToStream(DownloadAction, OutputStream) from the input, using the DownloadAction.Deserializers that supports the action's type.
Deserializer(String, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadAction.Deserializer
 
DESERIALIZER - Static variable in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
 
detachPlayer() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Detaches the attached player and event listener.
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_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.
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.
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.DefaultTrackSelector.Parameters
Bitmask of selection flags that are disabled for text track selections.
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 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.
dispatch(EventDispatcher.Event<T>) - Method in class com.google.android.exoplayer2.util.EventDispatcher
Dispatches an event to all registered listeners.
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
 
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.
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() - Method in interface com.google.android.exoplayer2.offline.Downloader
Downloads the media.
download() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
download() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Downloads the selected streams in the media.
DownloadAction - Class in com.google.android.exoplayer2.offline
Contains the necessary parameters for a download or remove action.
DownloadAction(String, int, Uri, boolean, byte[]) - Constructor for class com.google.android.exoplayer2.offline.DownloadAction
 
DownloadAction.Deserializer - Class in com.google.android.exoplayer2.offline
Used to deserialize DownloadActions.
downloadedBytes - Variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The total number of downloaded bytes.
Downloader - Interface in com.google.android.exoplayer2.offline
An interface for stream downloaders.
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
 
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() - Constructor for class com.google.android.exoplayer2.offline.DownloadHelper
 
DownloadHelper.Callback - Interface in com.google.android.exoplayer2.offline
A callback to be notified when the DownloadHelper is prepared.
downloadLicense(DrmInitData) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Downloads an offline license.
DownloadManager - Class in com.google.android.exoplayer2.offline
Manages multiple stream download and remove requests.
DownloadManager(Cache, DataSource.Factory, File, DownloadAction.Deserializer...) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
Creates a DownloadManager.
DownloadManager(DownloaderConstructorHelper, File, DownloadAction.Deserializer...) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
Constructs a DownloadManager.
DownloadManager(DownloaderConstructorHelper, int, int, File, DownloadAction.Deserializer...) - 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.
DownloadManager.TaskState - Class in com.google.android.exoplayer2.offline
Represents state of a task.
DownloadManager.TaskState.State - Annotation Type in com.google.android.exoplayer2.offline
Task states.
downloadPercentage - Variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The estimated download percentage, or C.PERCENTAGE_UNSET if no estimate is available or if this is a removal task.
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 which will run in the foreground.
DownloadService(int, long, String, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService which will run in the foreground.
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).
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.
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.SchemeData - Class in com.google.android.exoplayer2.drm
Scheme initialization data.
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(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.
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.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.FlacStreamInfo
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
 
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
 
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.
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 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.TrackGroupArray
The empty array.
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
 
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, long) - 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_AC3 - 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_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.
encryptionKey - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The encryption key associated with the sample.
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.source.MediaSource.MediaPeriodId
The end position of the media to play within the media period, in microseconds, or C.TIME_END_OF_SOURCE if the end position is the end of the media period.
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.
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.drm.DrmInitData
 
equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
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.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.DownloadAction
 
equals(Object) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
 
equals(Object) - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction
 
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.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.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.upstream.cache.DefaultContentMetadata
 
equals(Object) - Method in class com.google.android.exoplayer2.video.ColorInfo
 
error - Variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
If DownloadManager.TaskState.state is DownloadManager.TaskState.STATE_FAILED then this is the cause, otherwise null.
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 java.lang.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[], long) - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
EventMessageDecoder - Class in com.google.android.exoplayer2.metadata.emsg
Decodes Event Message (emsg) atoms, as defined in ISO/IEC 23009-1:2014, Section 5.10.3.3.
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.
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.
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.
ExoMediaCrypto - Interface in com.google.android.exoplayer2.drm
An opaque MediaCrypto equivalent.
ExoMediaDrm<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
Used to obtain keys for decrypting protected media streams.
ExoMediaDrm.KeyRequest - Class in com.google.android.exoplayer2.drm
 
ExoMediaDrm.KeyStatus - Class in com.google.android.exoplayer2.drm
 
ExoMediaDrm.OnEventListener<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
 
ExoMediaDrm.OnKeyStatusChangeListener<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
 
ExoMediaDrm.ProvisionRequest - Class in com.google.android.exoplayer2.drm
 
ExoPlaybackException - Exception in com.google.android.exoplayer2
Thrown when a non-recoverable playback failure occurs.
ExoPlaybackException.Type - Annotation Type in com.google.android.exoplayer2
The type of source that produced the error.
ExoPlayer - Interface in com.google.android.exoplayer2
An extensible media player that plays MediaSources.
ExoPlayer.EventListener - Interface in com.google.android.exoplayer2
Deprecated.
ExoPlayer.ExoPlayerComponent - Interface in com.google.android.exoplayer2
Deprecated.
ExoPlayer.ExoPlayerMessage - Class in com.google.android.exoplayer2
Deprecated.
Use PlayerMessage instead.
ExoPlayerFactory - Class in com.google.android.exoplayer2
A factory for ExoPlayer instances.
ExoPlayerLibraryInfo - Class in com.google.android.exoplayer2
Information about the ExoPlayer library.
ExoPlayerMessage(PlayerMessage.Target, int, Object) - Constructor for class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
EXTENDED_SAR - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Value for aspect_ratio_idc indicating an extended aspect ratio, in H.264 and H.265 SPSs.
EXTENSION_RENDERER_MODE_OFF - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
Do not allow use of extension renderers.
EXTENSION_RENDERER_MODE_ON - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
Allow use of extension renderers.
EXTENSION_RENDERER_MODE_PREFER - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
Allow use of extension renderers.
Extractor - Interface in com.google.android.exoplayer2.extractor
Extracts media data from a container format.
extractor - Variable in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
 
Extractor.ReadResult - Annotation Type in com.google.android.exoplayer2.extractor
Result values that can be returned by Extractor.read(ExtractorInput, PositionHolder).
ExtractorInput - Interface in com.google.android.exoplayer2.extractor
Provides data to be consumed by an Extractor.
ExtractorMediaSource - Class in com.google.android.exoplayer2.source
Provides one period that loads data from a Uri and extracted using an Extractor.
ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, Handler, ExtractorMediaSource.EventListener) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
Deprecated.
ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, Handler, ExtractorMediaSource.EventListener, String) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
Deprecated.
ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, Handler, ExtractorMediaSource.EventListener, String, int) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
Deprecated.
ExtractorMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
Deprecated.
ExtractorMediaSource.Factory - Class in com.google.android.exoplayer2.source
Factory for ExtractorMediaSources.
ExtractorOutput - Interface in com.google.android.exoplayer2.extractor
Receives stream level data extracted by an Extractor.
ExtractorsFactory - Interface in com.google.android.exoplayer2.extractor
Factory for arrays of Extractor instances.

F

Factory() - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsCollector.Factory
 
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Factory for AmrExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
Factory for FlvExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Factory for MatroskaExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Factory for Mp3Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Factory for FragmentedMp4Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Factory for Mp4Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
Factory for OggExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
Factory for Ac3Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Factory for AdtsExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
Factory for PsExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Factory for TsExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.wav.WavExtractor
Factory for WavExtractor instances.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Creates a new factory for ExtractorMediaSources.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Creates a factory for SingleSampleMediaSources.
Factory() - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory with default parameters.
Factory(BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Deprecated.
Use #Factory() instead. Custom bandwidth meter should be directly passed to the player in ExoPlayerFactory.
Factory(int, int, int, float) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory.
Factory(BandwidthMeter, int, int, int, float) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Deprecated.
Use #Factory(int, int, int, float) instead. Custom bandwidth meter should be directly passed to the player in ExoPlayerFactory.
Factory(int, int, int, float, float, long, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory.
Factory(BandwidthMeter, int, int, int, float, float, long, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Deprecated.
Use #Factory(int, int, int, float, float, long, Clock) instead. Custom bandwidth meter should be directly passed to the player in ExoPlayerFactory.
Factory() - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
Deprecated.
 
Factory(int, Object) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
Deprecated.
 
Factory() - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
Factory(int) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
FACTORY - Static variable in class com.google.android.exoplayer2.upstream.DummyDataSource
A factory that produces DummyDataSource.
failOnSpuriousAudioTimestamp - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
Whether to throw an DefaultAudioSink.InvalidAudioTrackTimestampException when a spurious timestamp is reported from AudioTrack.getTimestamp(android.media.AudioTimestamp).
fallbackDecoderInitializationException - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
If the decoder failed to initialize and another decoder being used as a fallback also failed to initialize, the MediaCodecRenderer.DecoderInitializationException for the fallback decoder.
file - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The file corresponding to this CacheSpan, or null if CacheSpan.isCached is false.
FileDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading local files.
FileDataSource() - Constructor for class com.google.android.exoplayer2.upstream.FileDataSource
 
FileDataSource(TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.FileDataSource
FileDataSource.FileDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when IOException is encountered during local file read operation.
FileDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException
 
FileDataSourceFactory - Class in com.google.android.exoplayer2.upstream
FileDataSourceFactory() - Constructor for class com.google.android.exoplayer2.upstream.FileDataSourceFactory
 
FileDataSourceFactory(TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.FileDataSourceFactory
 
filename - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
FilterableManifest<T> - Interface in com.google.android.exoplayer2.offline
A manifest that can generate copies of itself including only the streams specified by the given keys.
FilteringManifestParser<T extends FilterableManifest<T>> - Class in com.google.android.exoplayer2.offline
A manifest parser that includes only the streams identified by the given stream keys.
FilteringManifestParser(ParsingLoadable.Parser<T>, List<StreamKey>) - Constructor for class com.google.android.exoplayer2.offline.FilteringManifestParser
 
findNalUnit(byte[], int, int, boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Finds the first NAL unit in data.
findNextCueHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Reads lines up to and including the next WebVTT cue header.
findSyncBytePosition(byte[], int, int) - Static method in class com.google.android.exoplayer2.extractor.ts.TsUtil
Returns the position of the first TS_SYNC_BYTE within the range [startPosition, limitPosition) from the provided data array, or returns limitPosition if sync byte could not be found.
findTrueHdSyncframeOffset(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the offset relative to the buffer's position of the start of a TrueHD syncframe, or C.INDEX_UNSET if no syncframe was found.
first - Variable in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
The first seek point.
firstPeriodIndex - Variable in class com.google.android.exoplayer2.Timeline.Window
The index of the first period that belongs to this window.
FixedTrackSelection - Class in com.google.android.exoplayer2.trackselection
A TrackSelection consisting of a single track.
FixedTrackSelection(TrackGroup, int) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
FixedTrackSelection(TrackGroup, int, int, Object) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
FixedTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
Deprecated.
Don't use as adaptive track selection factory as it will throw when multiple tracks are selected. If you would like to disable adaptive selection in DefaultTrackSelector, enable the DefaultTrackSelector.Parameters.forceHighestSupportedBitrate flag instead.
FlacStreamInfo - Class in com.google.android.exoplayer2.util
Holder for FLAC stream info.
FlacStreamInfo(byte[], int) - Constructor for class com.google.android.exoplayer2.util.FlacStreamInfo
Constructs a FlacStreamInfo parsing the given binary FLAC stream info metadata structure.
FlacStreamInfo(int, int, int, int, int, int, int, long) - Constructor for class com.google.android.exoplayer2.util.FlacStreamInfo
Constructs a FlacStreamInfo given the parameters.
FLAG_ALLOW_CACHING_UNKNOWN_LENGTH - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
Permits content to be cached even if its length can not be resolved.
FLAG_ALLOW_GZIP - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
Permits an underlying network stack to request that the server use gzip compression.
FLAG_ALLOW_NON_IDR_KEYFRAMES - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
When extracting H.264 samples, whether to treat samples consisting of non-IDR I slices as synchronization samples (key-frames).
FLAG_AUDIBILITY_ENFORCED - Static variable in class com.google.android.exoplayer2.C
 
FLAG_BLOCK_ON_CACHE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
A flag indicating whether we will block reads if the cache key is locked.
FLAG_DETECT_ACCESS_UNITS - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
When extracting H.264 samples, whether to split the input stream into access units (samples) based on slice headers.
FLAG_DISABLE_ID3_METADATA - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Flag to disable parsing of ID3 metadata.
FLAG_DISABLE_SEEK_FOR_CUES - Static variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Flag to disable seeking for cues.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Flag to force enable seeking using a constant bitrate assumption in cases where seeking would otherwise not be possible.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Flag to force enable seeking using a constant bitrate assumption in cases where seeking would otherwise not be possible.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Flag to force enable seeking using a constant bitrate assumption in cases where seeking would otherwise not be possible.
FLAG_ENABLE_EMSG_TRACK - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to indicate that the extractor should output an event message metadata track.
FLAG_IGNORE_AAC_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Prevents the creation of AdtsReader and LatmReader instances.
FLAG_IGNORE_CACHE_FOR_UNSET_LENGTH_REQUESTS - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
A flag indicating that the cache should be bypassed for requests whose lengths are unset.
FLAG_IGNORE_CACHE_ON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
A flag indicating whether the cache is bypassed following any cache related error.
FLAG_IGNORE_H264_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Prevents the creation of H264Reader instances.
FLAG_IGNORE_SPLICE_INFO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Prevents the creation of SpliceInfoSectionReader instances.
FLAG_OVERRIDE_CAPTION_DESCRIPTORS - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Whether the list of closedCaptionFormats passed to DefaultTsPayloadReaderFactory.DefaultTsPayloadReaderFactory(int, List) should be used in spite of any closed captions service descriptors.
FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to work around an issue in some video streams where every frame is marked as a sync frame.
FLAG_WORKAROUND_IGNORE_EDIT_LISTS - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to ignore any edit lists in the stream.
FLAG_WORKAROUND_IGNORE_EDIT_LISTS - Static variable in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Flag to ignore any edit lists in the stream.
FLAG_WORKAROUND_IGNORE_TFDT_BOX - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to ignore any tfdt boxes in the stream.
flags - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
flags - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Request flags.
flip() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Flips DecoderInputBuffer.data in preparation for being queued to a decoder.
flush() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Clears any state in preparation for receiving a new stream of input buffers.
flush() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
flush() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
flush(int, int, int) - Method in interface com.google.android.exoplayer2.audio.TeeAudioProcessor.AudioBufferSink
Called when the audio processor is flushed with a format of subsequent input.
flush() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
flush(int, int, int) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor.WavFileAudioBufferSink
 
flush() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Flushes the decoder.
flush() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
flush() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
flush() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
flushCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
flushCodec() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
FlvExtractor - Class in com.google.android.exoplayer2.extractor.flv
Extracts data from the FLV container format.
FlvExtractor() - Constructor for class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
FMT_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "fmt ".
FONT_SIZE_UNIT_EM - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
FONT_SIZE_UNIT_PERCENT - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
FONT_SIZE_UNIT_PIXEL - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
forceHighestSupportedBitrate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to force selection of the highest bitrate audio and video tracks that comply with all other constraints.
forceLowestBitrate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to force selection of the single lowest bitrate audio and video tracks that comply with all other constraints.
FOREGROUND_NOTIFICATION_ID_NONE - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Invalid foreground notification id which can be used to run the service in the background.
foregroundColor - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
The preferred foreground color.
format(Format) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
format - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The format.
format(Format) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called when the Format of the track has been extracted from the stream.
Format - Class in com.google.android.exoplayer2
Representation of a media format.
format - Variable in class com.google.android.exoplayer2.FormatHolder
The held Format.
format(Format) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
FORMAT_EXCEEDS_CAPABILITIES - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer is capable of rendering formats with the same mime type, but the properties of the format exceed the renderer's capabilities.
FORMAT_HANDLED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer is capable of rendering the format.
FORMAT_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
FORMAT_UNSUPPORTED_DRM - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer is capable of rendering formats with the same mime type, but is not capable of rendering the format because the format's drm protection is not supported.
FORMAT_UNSUPPORTED_SUBTYPE - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer is a general purpose renderer for formats of the same top-level type, but is not capable of rendering the format or any other format with the same mime type because the sub-type is not supported.
FORMAT_UNSUPPORTED_TYPE - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer is not capable of rendering the format, either because it does not support the format's top-level type, or because it's a specialized renderer for a different mime type.
formatHasLanguage(Format, String) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Returns whether a Format specifies a particular language, or false if language is null.
formatHasNoLanguage(Format) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Returns whether a Format does not define a language.
FormatHolder - Class in com.google.android.exoplayer2
Holds a Format.
FormatHolder() - Constructor for class com.google.android.exoplayer2.FormatHolder
 
formatInvariant(String, Object...) - Static method in class com.google.android.exoplayer2.util.Util
Formats a string using Locale.US.
ForwardingTimeline - Class in com.google.android.exoplayer2.source
An overridable Timeline implementation forwarding all methods to another timeline.
ForwardingTimeline(Timeline) - Constructor for class com.google.android.exoplayer2.source.ForwardingTimeline
 
FragmentedMp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
Extracts data from the FMP4 container format.
FragmentedMp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster, Track, DrmInitData) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster, Track, DrmInitData, List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster, Track, DrmInitData, List<Format>, TrackOutput) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp4
Flags controlling the behavior of the extractor.
frameMbsOnlyFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
frameNumLength - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
frameRate - Variable in class com.google.android.exoplayer2.Format
The frame rate in frames per second, or Format.NO_VALUE if unknown or not applicable.
FrameRotationQueue - Class in com.google.android.exoplayer2.video.spherical
This class serves multiple purposes: Queues the rotation metadata extracted from camera motion track.
FrameRotationQueue() - Constructor for class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
 
frameSize - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The size of the frame.
frameSize - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Size of the frame associated with this header, in bytes.
FrameworkMediaCrypto - Class in com.google.android.exoplayer2.drm
An ExoMediaCrypto implementation that wraps the framework MediaCrypto.
FrameworkMediaCrypto(MediaCrypto) - Constructor for class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
 
FrameworkMediaCrypto(MediaCrypto, boolean) - Constructor for class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
 
FrameworkMediaDrm - Class in com.google.android.exoplayer2.drm
An ExoMediaDrm implementation that wraps the framework MediaDrm.
fromData(List<byte[]>) - Static method in class com.google.android.exoplayer2.text.cea.Cea708InitializationData
Returns an object representation of CEA-708 initialization data
fromUtf8Bytes(byte[]) - Static method in class com.google.android.exoplayer2.util.Util
Returns a new String constructed by decoding UTF-8 encoded bytes.
fromUtf8Bytes(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns a new String constructed by decoding UTF-8 encoded bytes in a subarray.

G

GaplessInfoHolder - Class in com.google.android.exoplayer2.extractor
Holder for gapless playback information.
GaplessInfoHolder() - Constructor for class com.google.android.exoplayer2.extractor.GaplessInfoHolder
Creates a new holder for gapless playback information.
generateAudioSessionIdV21(Context) - Static method in class com.google.android.exoplayer2.C
Returns a newly generated audio session identifier, or AudioManager.ERROR if an error occurred in which case audio playback may fail.
generateEventTime(Timeline, int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Returns a new AnalyticsListener.EventTime for the specified timeline, window and media period id.
generateKey(Uri) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Generates a cache key out of the given Uri.
generateNewId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
Generates a new set of track and track format ids.
GeobFrame - Class in com.google.android.exoplayer2.metadata.id3
GEOB (General Encapsulated Object) ID3 frame.
GeobFrame(String, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
get(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData
get(int) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Retrieves the DrmInitData.SchemeData at a given index.
get(int) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns the entry at the specified index.
get(int) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
Returns the group at a given index.
get(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
Returns the selection at a given index.
get(String, byte[]) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns a metadata value.
get(String, String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns a metadata value.
get(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns a metadata value.
get(String, byte[]) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
get(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
get(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
get(int) - Method in class com.google.android.exoplayer2.util.LongArray
Returns the value at a specified index.
getAc3SyncframeAudioSampleCount() - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the number of audio samples in an AC-3 syncframe.
getAdaptiveSupport(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which a renderer supports adaptation between supported tracks in a specified TrackGroup.
getAdaptiveSupport(int, int, int[]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which a renderer supports adaptation between specified tracks within a TrackGroup.
getAdCountInAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the number of ads in the ad group at index adGroupIndex, or C.LENGTH_UNSET if not yet known.
getAdDurationUs(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the duration of the ad at index adIndexInAdGroup in the ad group at adGroupIndex, in microseconds, or C.TIME_UNSET if not yet known.
getAdGroupCount() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the number of ad groups in the period.
getAdGroupIndexAfterPositionUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns the index of the next ad group after positionUs that has ads remaining to be played.
getAdGroupIndexAfterPositionUs(long) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the next ad group after positionUs that has ads remaining to be played.
getAdGroupIndexForPositionUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns the index of the ad group at or before positionUs, if that ad group is unplayed.
getAdGroupIndexForPositionUs(long) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the ad group at or before positionUs, if that ad group is unplayed.
getAdGroupTimeUs(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the time of the ad group at index adGroupIndex in the period, in microseconds.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Adjusts a seek position given the specified SeekParameters.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Adjusts a seek position given the specified SeekParameters.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns the position to which a seek will be performed, given the specified seek position and SeekParameters.
getAdResumePositionUs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the position offset in the first unplayed ad at which to begin playback, in microseconds.
getAll() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
Returns the selections in a newly allocated array.
getAllocator() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
getAllocator() - Method in interface com.google.android.exoplayer2.LoadControl
Returns the Allocator that should be used to obtain media buffer allocations.
getAllTaskStates() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the states of all current tasks.
getAnalyticsCollector() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns the AnalyticsCollector used for collecting analytics events.
getApplicationLooper() - Method in interface com.google.android.exoplayer2.Player
Returns the Looper associated with the application thread that's used to access the player and on which player events are received.
getApplicationLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getApproxBytesPerFrame() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
Returns the approximate number of bytes per frame for the current FLAC stream.
getAttributeValue(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns the value of an attribute of the current start tag.
getAttributeValueIgnorePrefix(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns the value of an attribute of the current start tag.
getAudioAttributes() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Returns the attributes for audio playback.
getAudioAttributes() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getAudioAttributesV21() - Method in class com.google.android.exoplayer2.audio.AudioAttributes
 
getAudioComponent() - Method in interface com.google.android.exoplayer2.Player
Returns the component of this player for audio output, or null if audio is not supported.
getAudioComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getAudioContentTypeForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.AudioContentType corresponding to the specified C.StreamType.
getAudioDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns DecoderCounters for audio, or null if no audio is being played.
getAudioFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns the audio format currently being played, or null if no audio is being played.
getAudioMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Derives a audio sample mimeType from a codecs attribute.
getAudioProcessors() - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Returns the fixed chain of audio processors that will process audio.
getAudioProcessors() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
getAudioSessionId() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Returns the audio session identifier, or C.AUDIO_SESSION_ID_UNSET if not set.
getAudioSessionId() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getAudioStreamType() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
getAudioTrackChannelConfig(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the audio track channel configuration for the given channel count, or AudioFormat.CHANNEL_INVALID if output is not poossible.
getAudioUsageForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.AudioUsage corresponding to the specified C.StreamType.
getBackBufferDurationUs() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
getBackBufferDurationUs() - Method in interface com.google.android.exoplayer2.LoadControl
Returns the duration of media to retain in the buffer prior to the current playback position, for fast backward seeking.
getBackgroundColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getBandwidthMeter() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Returns a bandwidth meter which can be used by track selections to select tracks.
getBitrateEstimate() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Returns the estimated bandwidth in bits/sec.
getBitrateEstimate() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
getBlacklistDurationMsFor(int, long, IOException, int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Blacklists resources whose load error was an HttpDataSource.InvalidResponseCodeException with response code HTTP 404 or 410.
getBlacklistDurationMsFor(int, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Returns the number of milliseconds for which a resource associated to a provided load error should be blacklisted, or C.TIME_UNSET if the resource should not be blacklisted.
getBufferedPercentage() - Method in class com.google.android.exoplayer2.BasePlayer
 
getBufferedPercentage() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the percentage in the current content window or ad up to which data is buffered, or 0 if no estimate is available.
getBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the position in the current content window or ad up to which data is buffered, in milliseconds.
getBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Returns an estimate of the position up to which data is buffered.
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns an estimate of the position up to which data is buffered for the enabled tracks.
getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Returns an estimate of the position up to which data is buffered.
getBytePosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Returns the current byte offset.
getBytesFromHexString(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a byte array containing values parsed from the hex string provided.
getBytesRead() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Returns the total number of bytes that have been read from the data source.
getCache() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
Returns the Cache instance.
getCached(DataSpec, Cache, CacheUtil.CachingCounters) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Sets a CacheUtil.CachingCounters to contain the number of bytes already downloaded and the length for the content defined by a dataSpec.
getCachedLength(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the length of the cached data block starting from the position to the block end up to length bytes.
getCachedLength(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCachedSpans(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the cached spans for a given cache key.
getCachedSpans(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCacheSpace() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the total disk space in bytes used by the cache.
getCacheSpace() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCapabilities(Context) - Static method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns the current audio capabilities for the device.
getCapabilities() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getCapabilities() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getCapabilities() - Method in interface com.google.android.exoplayer2.Renderer
Returns the capabilities of the renderer.
getChunkEndTimeUs() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns the media end time of the chunk, in microseconds.
getChunkIndex(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
Obtains the index of the chunk corresponding to a given time.
getChunkSource() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Returns the ChunkSource used by this stream.
getChunkStartTimeUs() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns the media start time of the chunk, in microseconds.
getCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
getCodecInfo() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
getCodecMaxInputSize(MediaCodecInfo, Format, Format[]) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns a maximum input size suitable for configuring a codec for format in a way that will allow possible adaptation to other compatible formats in streamFormats.
getCodecMaxValues(MediaCodecInfo, Format, Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns MediaCodecVideoRenderer.CodecMaxValues suitable for configuring a codec for format in a way that will allow possible adaptation to other compatible formats in streamFormats.
getCodecNeedsEosPropagation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns whether the codec needs the renderer to propagate the end-of-stream signal directly, rather than by using an end-of-stream buffer queued to the codec.
getCodecNeedsEosPropagation() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getCodecOperatingRate(float, Format, Format[]) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getCodecOperatingRate(float, Format, Format[]) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the MediaFormat.KEY_OPERATING_RATE value for a given renderer operating rate, current format and set of possible stream formats.
getCodecOperatingRate(float, Format, Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getCodecProfileAndLevel(String) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns profile and level (as defined by MediaCodecInfo.CodecProfileLevel) corresponding to the given codec description string (as defined by RFC 6381).
getCodecsOfType(String, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns a copy of codecs without the codecs whose track type doesn't match trackType.
getCommaDelimitedSimpleClassNames(Object[]) - Static method in class com.google.android.exoplayer2.util.Util
Returns a string with comma delimited simple names of each object's class.
getConfiguration() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns the configuration set when the renderer was most recently enabled.
getConfiguration() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Returns the configuration set when the renderer was most recently enabled.
getConnection() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the current connection, or null if the source is not currently opened.
getContentBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns an estimate of the content position in the current content window up to which data is buffered, in milliseconds.
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getContentDuration() - Method in class com.google.android.exoplayer2.BasePlayer
 
getContentDuration() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the duration of the current content window in milliseconds, or C.TIME_UNSET if the duration is not known.
getContentLength(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the content length for the given key if one set, or C.LENGTH_UNSET otherwise.
getContentLength(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getContentMetadata(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns a ContentMetadata for the given key.
getContentMetadata(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getContentPosition() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the content position that will be played once all ads in the ad group have finished playing, in milliseconds.
getContentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCountryCode(Context) - Static method in class com.google.android.exoplayer2.util.Util
Returns the upper-case ISO 3166-1 alpha-2 country code of the current registered operator's MCC (Mobile Country Code), or the country code of the default Locale if not available.
getCues(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
Retrieve the cues that should be displayed at a given time.
getCues(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getCurrentAdGroupIndex() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the index of the ad group in the period currently being played.
getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentAdIndexInAdGroup() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the index of the ad in its ad group.
getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentIndex() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Returns the current index this iterator is pointing to.
getCurrentManifest() - Method in interface com.google.android.exoplayer2.Player
Returns the current manifest.
getCurrentManifest() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentMappedTrackInfo() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Returns the mapping information for the currently active track selection, or null if no selection is currently active.
getCurrentPeriodIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the period currently being played.
getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentPosition() - Method in interface com.google.android.exoplayer2.Player
Returns the playback position in the current content window or ad, in milliseconds.
getCurrentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentPositionUs(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns the playback position in the stream starting at zero, in microseconds, or AudioSink.CURRENT_POSITION_NOT_SET if it is not yet available.
getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
getCurrentTag() - Method in class com.google.android.exoplayer2.BasePlayer
 
getCurrentTag() - Method in interface com.google.android.exoplayer2.Player
Returns the tag of the currently playing window in the timeline.
getCurrentTimeline() - Method in interface com.google.android.exoplayer2.Player
Returns the current Timeline.
getCurrentTimeline() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentTrackGroups() - Method in interface com.google.android.exoplayer2.Player
Returns the available track groups.
getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentTrackSelections() - Method in interface com.google.android.exoplayer2.Player
Returns the current track selections for each renderer.
getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentWindowIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the window currently being played.
getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getData() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
 
getData() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
 
getData() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
Returns the data written to the sink since the last call to ByteArrayDataSink.open(DataSpec), or null if ByteArrayDataSink.open(DataSpec) has never been called.
getDataHolder() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Returns the array in which the data is held.
getDataSpec() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns the DataSpec used to load the media chunk.
getDecoderInfo(String, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns information about the preferred decoder for a given mime type.
getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns a list of decoders that can decode media in the specified format, in priority order.
getDecoderInfos(String, boolean) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
Returns a list of decoders that can decode media in the specified MIME type, in priority order.
getDecoderInfos(String, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns all MediaCodecInfos for the given mime type, in the order given by MediaCodecList.
getDefaultBufferSize(int) - Static method in class com.google.android.exoplayer2.util.Util
Maps a C TRACK_TYPE_* constant to the corresponding C DEFAULT_*_BUFFER_SIZE constant.
getDefaultDeserializers() - Static method in class com.google.android.exoplayer2.offline.DownloadAction
Returns available default DownloadAction.Deserializers.
getDefaultPositionMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the default position relative to the start of the window at which to begin playback, in milliseconds.
getDefaultPositionUs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the default position relative to the start of the window at which to begin playback, in microseconds.
getDefaultRequestProperties() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
getDefaultRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
Gets the default request properties used by all HttpDataSources created by the factory.
getDefaultUrl() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
 
getDeleteAfterDelivery() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns whether the message will be deleted after delivery.
getDequeueOutputBufferTimeoutUs() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the maximum time to block whilst waiting for a decoded output buffer.
getDownloadAction(byte[], List<TrackKey>) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Builds a DownloadAction for downloading the specified tracks.
getDownloadAction(byte[], List<TrackKey>) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
getDownloadCount() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the number of download tasks.
getDownloadedBytes() - Method in interface com.google.android.exoplayer2.offline.Downloader
Returns the total number of downloaded bytes.
getDownloadedBytes() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
getDownloadedBytes() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
getDownloadManager() - Method in class com.google.android.exoplayer2.offline.DownloadService
Returns a DownloadManager to be used to downloaded content.
getDownloadPercentage() - Method in interface com.google.android.exoplayer2.offline.Downloader
Returns the estimated download percentage, or C.PERCENTAGE_UNSET if no estimate is available.
getDownloadPercentage() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
getDownloadPercentage() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
getDrmUuid(String) - Static method in class com.google.android.exoplayer2.util.Util
Derives a DRM UUID from drmScheme.
getDtsFrameSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns the size in bytes of the given DTS frame.
getDuration() - Method in interface com.google.android.exoplayer2.Player
Returns the duration of the current content window or ad in milliseconds, or C.TIME_UNSET if the duration is not known.
getDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the duration of the period in milliseconds, or C.TIME_UNSET if unknown.
getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the duration of the window in milliseconds, or C.TIME_UNSET if unknown.
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
getDurationUs() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Returns the duration of the stream in microseconds.
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
getDurationUs() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the duration of the chunk in microseconds.
getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the duration of this period in microseconds, or C.TIME_UNSET if unknown.
getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the duration of this window in microseconds, or C.TIME_UNSET if unknown.
getEditedValues() - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Returns a map of metadata name, value pairs to be set.
getEncoding(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the C.ENCODING_* constant that corresponds to specified MIME type, if it is an encoded (non-PCM) audio format, or C.ENCODING_INVALID otherwise.
getEncodingForType(int, int) - Static method in class com.google.android.exoplayer2.audio.WavUtil
Returns the PCM encoding for the given WAVE type value.
getError() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns the cause of the error state.
getError() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getErrorMessage(T) - Method in interface com.google.android.exoplayer2.util.ErrorMessageProvider
Returns a pair consisting of an error code and a user readable error message for the given throwable.
getEventTime(int) - Method in interface com.google.android.exoplayer2.text.Subtitle
Returns the event time at a specified index.
getEventTime(int) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getEventTimeCount() - Method in interface com.google.android.exoplayer2.text.Subtitle
Returns the number of event times, where events are defined as points in time at which the cues returned by Subtitle.getCues(long) changes.
getEventTimeCount() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getFirstAdIndexToPlay() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns the index of the first ad in the ad group that should be played, or AdPlaybackState.AdGroup.count if no ads should be played.
getFirstAdIndexToPlay(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the first ad in the specified ad group that should be played, or the number of ads in the ad group if no ads should be played.
getFirstIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the absolute index of the first sample.
getFirstIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getFirstIndex() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the first index in the shuffle order, or C.INDEX_UNSET if the shuffle order is empty.
getFirstIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getFirstSampleIndex(int) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Returns the index of the first sample in the specified track of the output that will originate from this chunk.
getFirstSampleTimestampUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the last value passed to TimestampAdjuster.setFirstSampleTimestampUs(long).
getFirstTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the timestamp of the first sample, or Long.MIN_VALUE if the queue is empty.
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the first window in the playback order depending on whether shuffling is enabled.
getFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the specified flag has been set on this buffer.
getFontColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getFontFamily() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getFontSize() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getFontSizeUnit() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getForegroundNotification(DownloadManager.TaskState[]) - Method in class com.google.android.exoplayer2.offline.DownloadService
Should be overridden in the subclass if the service will be run in the foreground.
getFormat(int) - Method in class com.google.android.exoplayer2.source.TrackGroup
Returns the format of the track at a given index.
getFormat(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getFormat(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the format of the track at a given index in the selection.
getFormatId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
Returns the last generated format id, with the format "programNumber/trackId".
getFrameSize(int) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Returns the size of the frame associated with header, or C.LENGTH_UNSET if it is invalid.
getFrameworkCryptoInfoV16() - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
Returns an equivalent MediaCodec.CryptoInfo instance.
getH265NalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Returns the type of the H.265 NAL unit in data that starts at offset.
getHandler() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the handler the message is delivered on.
getHttpMethodString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns an uppercase HTTP method name (e.g., "GET", "POST", "HEAD") corresponding to the DataSpec.httpMethod.
getIndex() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns the index of the renderer within the player.
getIndex() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Returns the index of the renderer within the player.
getIndexInTrackGroup(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getIndexInTrackGroup(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the track group of the track at a given index in the selection.
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the period identified by its unique id, or C.INDEX_UNSET if the period is not in the timeline.
getIndividualAllocationLength() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Returns the length of each individual Allocation.
getIndividualAllocationLength() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
getIntegerCodeForString(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns the integer equal to the big-endian concatenation of the characters in string as bytes.
getKey(DataSpec) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Returns the dataSpec.key if not null, otherwise generates a cache key out of dataSpec.uri
getKeyId() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
 
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Generates a key request.
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getKeys() - Method in class com.google.android.exoplayer2.offline.DownloadAction
Returns keys of tracks to be downloaded.
getKeys() - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction
 
getKeys() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns all keys in the cache.
getKeys() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getLargestQueuedTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the largest sample timestamp that has been queued since the last SampleQueue.reset().
getLastAdjustedTimestampUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the last value obtained from TimestampAdjuster.adjustSampleTimestamp(long).
getLastIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getLastIndex() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the last index in the shuffle order, or C.INDEX_UNSET if the shuffle order is empty.
getLastIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getLastOpenedUri() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Returns the Uri associated with the last StatsDataSource.open(DataSpec) call.
getLastResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Returns the response headers associated with the last StatsDataSource.open(DataSpec) call.
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the last window in the playback order depending on whether shuffling is enabled.
getLength() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
getLength() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Returns the length of the source stream, or C.LENGTH_UNSET if it is unknown.
getLength() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getLength() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns length of shuffle order.
getLength() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getLicenseDurationRemainingSec(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Returns the remaining license and playback durations in seconds, for an offline license.
getLicenseDurationRemainingSec(DrmSession<?>) - Static method in class com.google.android.exoplayer2.drm.WidevineUtil
Returns license and playback durations remaining in seconds.
getLicenseServerUrl() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
 
getListeners() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Returns read-only set of registered listeners.
getLogLevel() - Static method in class com.google.android.exoplayer2.util.Log
Returns current LogLevel for ExoPlayer logcat logging.
getLogStackTraces() - Method in class com.google.android.exoplayer2.util.Log
Returns whether stack traces of Throwables will be logged to logcat.
getLooper() - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
getLooper() - Static method in class com.google.android.exoplayer2.util.Util
Returns the Looper associated with the current thread, or the Looper of the application's main thread if the current thread doesn't have a Looper.
getManifest(DataSource, Uri) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Loads and parses the manifest.
getMaxChannelCount() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns the maximum number of channels the device can play at the same time.
getMaxSupportedInstances() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns an upper bound on the maximum number of supported instances, or MediaCodecInfo.MAX_SUPPORTED_INSTANCES_UNKNOWN if unknown.
getMediaClock() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getMediaClock() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
getMediaClock() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getMediaClock() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getMediaClock() - Method in interface com.google.android.exoplayer2.Renderer
If the renderer advances its own playback position then this method returns a corresponding MediaClock.
getMediaCrypto() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns a ExoMediaCrypto for the open session, or null if called before the session has been opened or after it's been released.
getMediaCrypto() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getMediaDuration(long) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Scales the specified playout duration to take into account speedup due to audio processing, returning an input media duration, in arbitrary units.
getMediaDuration(long) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
getMediaDurationForPlayoutDuration(long, float) - Static method in class com.google.android.exoplayer2.util.Util
Returns the duration of media that will elapse in playoutDuration.
getMediaFormat(Format, String, int, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns the framework MediaFormat that can be used to configure a MediaCodec for decoding the given Format for playback.
getMediaFormat(Format, MediaCodecVideoRenderer.CodecMaxValues, float, boolean, int) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns the framework MediaFormat that should be used to configure the decoder.
getMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Derives a mimeType from a codec identifier, as defined in RFC 6381.
getMediaPeriodIdForChildMediaPeriodId(MediaSource.MediaPeriodId, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(T, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Returns the MediaPeriodId in the composite source corresponding to the specified MediaPeriodId in a child source.
getMediaPeriodIdForChildMediaPeriodId(ConcatenatingMediaSource.MediaSourceHolder, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(Void, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(Integer, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
getMediaSource(int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Returns the MediaSource at a specified index.
getMediaTimeForChildMediaTime(Void, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
getMediaTimeForChildMediaTime(T, long) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Returns the media time in the composite source corresponding to the specified media time in a child source.
getMediaTimeUsForPlayoutTimeMs(long) - Method in class com.google.android.exoplayer2.PlaybackParameters
Returns the media time in microseconds that will elapse in timeMs milliseconds of wallclock time.
getMimeTypeFromMp4ObjectType(int) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Derives a mimeType from MP4 object type identifier, as defined in RFC 6381 and https://mp4ra.org/#/object_types.
getMinimumLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
getMinimumLoadableRetryCount(int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Returns the minimum number of times to retry a load in the case of a load error, before propagating the error.
getNalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Returns the type of the NAL unit in data that starts at offset.
getName() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Returns the name of the decoder.
getName() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
getName() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
getName() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
getNetworkType(Context) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.NetworkType of the current network connection.
getNextAdIndexToPlay(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns the index of the next ad in the ad group that should be played after playing lastPlayedAdIndex, or AdPlaybackState.AdGroup.count if no later ads should be played.
getNextAdIndexToPlay(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the next ad in the specified ad group that should be played after playing adIndexInAdGroup, or the number of ads in the ad group if no later ads should be played.
getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Returns the next chunk to load.
getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
Returns the next chunk index or C.INDEX_UNSET if it is not known.
getNextEventTimeIndex(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
Returns the index of the first event that occurs after a given time (exclusive).
getNextEventTimeIndex(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getNextIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getNextIndex(int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the next index in the shuffle order.
getNextIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns the next load time, or C.TIME_END_OF_SOURCE if loading has finished.
getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Returns the next load time, or C.TIME_END_OF_SOURCE if loading has finished.
getNextPeriodIndex(int, Timeline.Period, Timeline.Window, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the period after the period at index periodIndex depending on the repeatMode and whether shuffling is enabled.
getNextRepeatMode(int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
Gets the next repeat mode out of enabledModes starting from currentMode.
getNextWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
 
getNextWindowIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the next timeline window to be played, which may depend on the current repeat mode and whether shuffle mode is enabled.
getNextWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getNextWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the window after the window at index windowIndex depending on the repeatMode and whether shuffling is enabled.
getOfflineLicenseKeySetId() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns the key set id of the offline license loaded into this session, or null if there isn't one.
getOfflineLicenseKeySetId() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getOutput() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns a buffer containing processed output data between its position and limit.
getOutput() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Returns the output most recently passed to BaseMediaChunk.init(BaseMediaChunkOutput).
getOutputChannelCount() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns the number of audio channels in the data output by the processor.
getOutputChannelCount() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
getOutputChannelCount() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
getOutputChannelCount() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
getOutputEncoding() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns the audio encoding used in the data output by the processor.
getOutputEncoding() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
getOutputEncoding() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
getOutputEncoding() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
getOutputFormat() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
Returns the format of audio buffers output by the decoder.
getOutputSampleRateHz() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns the sample rate of audio output by the processor, in hertz.
getOutputSampleRateHz() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
getOutputSampleRateHz() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
getOutputSampleRateHz() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
getOutputStreamOffsetUs() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns the offset that should be subtracted from bufferPresentationTimeUs in MediaCodecVideoRenderer.processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, Format) to get the playback position with respect to the media.
getParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Gets the current selection parameters.
getPassthroughDecoderInfo() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
Selects a decoder to instantiate for audio passthrough.
getPassthroughDecoderInfo() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns information about a decoder suitable for audio passthrough.
getPayload() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
getPcmEncoding(int) - Static method in class com.google.android.exoplayer2.util.Util
Converts a sample bit depth to a corresponding PCM encoding constant.
getPcmFrameSize(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the frame size for audio with channelCount channels in the specified encoding.
getPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
getPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Returns the current peek position (byte offset) in the stream.
getPercentile(float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
Computes a percentile by integration.
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getPeriod(int, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Period with data for the period at the specified index.
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Period with data for the period at the specified index.
getPeriodByUid(Object, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Period with data for the period with the specified unique identifier.
getPeriodCount() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the number of periods for which media is available.
getPeriodCount() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
getPeriodCount() - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getPeriodCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getPeriodCount() - Method in class com.google.android.exoplayer2.Timeline
Returns the number of periods in the timeline.
getPeriodPosition(Timeline.Window, Timeline.Period, int, long) - Method in class com.google.android.exoplayer2.Timeline
Calls Timeline.getPeriodPosition(Window, Period, int, long, long) with a zero default position projection.
getPeriodPosition(Timeline.Window, Timeline.Period, int, long, long) - Method in class com.google.android.exoplayer2.Timeline
Converts (windowIndex, windowPositionUs) to the corresponding (periodUid, periodPositionUs).
getPhysicalDisplaySize(Context) - Static method in class com.google.android.exoplayer2.util.Util
Gets the physical size of the default display, in pixels.
getPhysicalDisplaySize(Context, Display) - Static method in class com.google.android.exoplayer2.util.Util
Gets the physical size of the specified display, in pixels.
getPixelCount() - Method in class com.google.android.exoplayer2.Format
Returns the number of pixels if this is a video format whose Format.width and Format.height are known, or Format.NO_VALUE otherwise
getPlaybackError() - Method in interface com.google.android.exoplayer2.Player
Returns the error that caused playback to fail.
getPlaybackError() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getPlaybackLooper() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the Looper associated with the playback thread.
getPlaybackLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getPlaybackParameters() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Gets the active PlaybackParameters.
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
getPlaybackParameters() - Method in interface com.google.android.exoplayer2.Player
Returns the currently active playback parameters.
getPlaybackParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getPlaybackParameters() - Method in interface com.google.android.exoplayer2.util.MediaClock
Returns the active playback parameters.
getPlaybackParameters() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
 
getPlaybackState() - Method in interface com.google.android.exoplayer2.Player
Returns the current state of the player.
getPlaybackState() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getPlayoutDurationForMediaDuration(long, float) - Static method in class com.google.android.exoplayer2.util.Util
Returns the playout duration of mediaDuration of media.
getPlayWhenReady() - Method in interface com.google.android.exoplayer2.Player
Whether playback will proceed when Player.getPlaybackState() == Player.STATE_READY.
getPlayWhenReady() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
getPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Returns the current read position (byte offset) in the stream.
getPosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Returns the current bit offset.
getPosition() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the current offset in the array, in bytes.
getPositionInFirstPeriodMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the position of the start of this window relative to the start of the first period belonging to it, in milliseconds.
getPositionInFirstPeriodUs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the position of the start of this window relative to the start of the first period belonging to it, in microseconds.
getPositionInWindowMs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the position of the start of this period relative to the start of the window to which it belongs, in milliseconds.
getPositionInWindowUs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the position of the start of this period relative to the start of the window to which it belongs, in microseconds.
getPositionMs() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns position in window at PlayerMessage.getWindowIndex() at which the message will be delivered, in milliseconds.
getPositionUs() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getPositionUs() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
getPositionUs() - Method in interface com.google.android.exoplayer2.util.MediaClock
Returns the current media position in microseconds.
getPositionUs() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
 
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Evaluates whether MediaChunks should be removed from the back of the queue.
getPreparePositionUs() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
Returns the position at which the deferred media period was prepared, in microseconds.
getPreviousIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getPreviousIndex(int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the previous index in the shuffle order.
getPreviousIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getPreviousWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
 
getPreviousWindowIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the previous timeline window to be played, which may depend on the current repeat mode and whether shuffle mode is enabled.
getPreviousWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getPreviousWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the window before the window at index windowIndex depending on the repeatMode and whether shuffling is enabled.
getPriorityTaskManager() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
Returns a PriorityTaskManager instance.
getProfileLevels() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The profile levels supported by the decoder.
getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
getPropertyByteArray(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
 
getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
getPropertyString(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
 
getProvisionRequest() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
getProvisionRequest() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getReadIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the current absolute read index.
getRegionEndTimeMs(long) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
When provided with a byte offset, this method locates the cached region within which the offset falls, and returns the approximate end position in milliseconds of that region.
getRemoveAction(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Builds a DownloadAction for removing the media.
getRemoveAction(byte[]) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
getRemovedValues() - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Returns a list of names of metadata values to be removed.
getRendererCount() - Method in interface com.google.android.exoplayer2.Player
Returns the number of renderers.
getRendererCount() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getRendererCount() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the number of renderers.
getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns whether the renderer is disabled.
getRendererException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_RENDERER.
getRendererSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which a renderer can play the tracks that are mapped to it.
getRendererType(int) - Method in interface com.google.android.exoplayer2.Player
Returns the track type that the renderer at a given index handles.
getRendererType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getRendererType(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the track type that the renderer at a given index handles.
getRepeatMode() - Method in interface com.google.android.exoplayer2.Player
Returns the current Player.RepeatMode used for playback.
getRepeatMode() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getRequiredNetworkType() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns required network type.
getRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadService
Returns requirements for downloads to take place.
getRequirements() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
Returns watched Requirements.
getRequirementsData() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns the encoded requirements data which can be used with Requirements.Requirements(int).
getResponseHeaders() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the response headers associated with the last DataSource.open(com.google.android.exoplayer2.upstream.DataSpec) call.
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.DataSource
When the source is open, returns the response headers associated with the last DataSource.open(com.google.android.exoplayer2.upstream.DataSpec) call.
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the response headers associated with the load.
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
getResult() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the loaded object, or null if an object has not been loaded.
getRetryDelayMsFor(int, long, IOException, int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Retries for any exception that is not a subclass of ParserException.
getRetryDelayMsFor(int, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Returns the number of milliseconds to wait before attempting the load again, or C.TIME_UNSET if the error is fatal and should not be retried.
getRuntimeExceptionForUnexpected() - Method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns the RuntimeException that caused the exception if its type is AdsMediaSource.AdLoadException.TYPE_UNEXPECTED.
getSampleDescriptionEncryptionBox(int) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
Returns the TrackEncryptionBox for the given sample description index.
getSampleDurationUs() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
Returns the duration in microseconds per sample, or C.TIME_UNSET if the sample duration is not available.
getSampleFormats() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
Returns the sample Formats most recently output by the extractor, or null.
getSampleIndex(long) - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
Returns the sample index for the sample at given position.
getScheduler() - Method in class com.google.android.exoplayer2.offline.DownloadService
Returns a Scheduler to restart the service when requirements allowing downloads to take place are met.
getSeekMap() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Returns the seek map for the stream.
getSeekMap() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
Returns the SeekMap most recently output by the extractor, or null.
getSeekParameters() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the currently active SeekParameters of the player.
getSeekParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
getSeekPoints(long) - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Obtains seek points for the specified seek time in microseconds.
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
getSegments(DataSource, M, boolean) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Returns a list of all downloadable SegmentDownloader.Segments for a given manifest.
getSelectedFormat() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getSelectedFormat() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the Format of the individual selected track.
getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
getSelectedIndex() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index of the selected track.
getSelectedIndexInTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getSelectedIndexInTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the track group of the individual selected track.
getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
getSelectionData() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns optional data associated with the current track selection.
getSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
getSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns the override for the specified renderer and TrackGroupArray.
getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
getSelectionReason() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the reason for the current track selection.
getShuffleModeEnabled() - Method in interface com.google.android.exoplayer2.Player
Returns whether shuffling of windows is enabled.
getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getSize() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Returns the number of media sources in the playlist.
getSkippedFrames() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Returns the total number of frames of input audio that were skipped due to being classified as silence since the last call to SilenceSkippingAudioProcessor.flush().
getSkippedOutputFrameCount() - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Returns the number of output audio frames skipped since the audio processors were last flushed.
getSkippedOutputFrameCount() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
getSnapshot() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Gets a snapshot of the request properties.
getSourceException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_SOURCE.
getSpecificityScore(String, String, String[], String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
Returns a value in a score system compliant with the CSS Specificity rules.
getState() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getState() - Method in interface com.google.android.exoplayer2.drm.DrmSession
getState() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getState() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getState() - Method in interface com.google.android.exoplayer2.Renderer
Returns the current state of the renderer.
getStateString(int) - Static method in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
Returns the state string for the given state value.
getStatusCode() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
 
getStream() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getStream() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getStream() - Method in interface com.google.android.exoplayer2.Renderer
Returns the SampleStream being consumed, or null if the renderer is disabled.
getStreamFormats() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns the formats of the currently enabled stream.
getStreamTypeForAudioUsage(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.StreamType corresponding to the specified C.AudioUsage.
getStringForHttpMethod(int) - Static method in class com.google.android.exoplayer2.upstream.DataSpec
Returns an uppercase HTTP method name (e.g., "GET", "POST", "HEAD") corresponding to the httpMethod.
getStringForTime(StringBuilder, Formatter, long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the specified millisecond time formatted as a string.
getStyle() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
Returns the style or WebvttCssStyle.UNSPECIFIED when no style information is given.
getSubFrame(int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
Returns the sub-frame at index.
getSubFrame(int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
Returns the sub-frame at index.
getSubFrameCount() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
Returns the number of sub-frames.
getSubFrameCount() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
Returns the number of sub-frames.
getSubMesh(int) - Method in class com.google.android.exoplayer2.video.spherical.Projection.Mesh
Returns the SubMesh for the given index.
getSubMeshCount() - Method in class com.google.android.exoplayer2.video.spherical.Projection.Mesh
Returns the number of sub meshes.
getSupportedTypes() - Method in interface com.google.android.exoplayer2.source.ads.AdsMediaSource.MediaSourceFactory
Returns the content types supported by media sources created by this factory.
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
 
getSurfaceTexture() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Returns the wrapped SurfaceTexture.
getTarget() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the target the message is sent to.
getTaskCount() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the number of tasks.
getTaskState(int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the state of a task, or null if no such task exists
getTextAlign() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getTextComponent() - Method in interface com.google.android.exoplayer2.Player
Returns the component of this player for text output, or null if text is not supported.
getTextComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getTimeline() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the timeline used for setting the position with PlayerMessage.setPosition(long).
getTimestampOffsetUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the offset between the input of TimestampAdjuster.adjustSampleTimestamp(long) and its output.
getTimeUsAtPosition(long) - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Returns the stream time in microseconds for a given position.
getTotalBufferedDuration() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the total buffered duration from the current position, in milliseconds.
getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getTotalBytesAllocated() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Returns the total number of bytes currently allocated.
getTotalBytesAllocated() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
getTrackFormatSupport(int, int, int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
getTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the TrackGroup to which the selected tracks belong.
getTrackGroups(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the track groups for the given period.
getTrackGroups(int) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
getTrackGroups() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getTrackGroups() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
getTrackGroups() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns the TrackGroups exposed by the period.
getTrackGroups(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the TrackGroups mapped to the renderer at the specified index.
getTrackId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
Returns the last generated track id.
getTrackSupport(int, int, int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which an individual track is supported by the renderer.
getTrackType() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getTrackType() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getTrackType() - Method in interface com.google.android.exoplayer2.Renderer
Returns the track type that the Renderer handles.
getTrackType() - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the track type that the Renderer handles.
getTrackType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the C.TRACK_TYPE_* constant that corresponds to a specified MIME type.
getTrackTypeOfCodec(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Equivalent to getTrackType(getMediaMimeType(codec)).
getTrackTypeRendererSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
getTransferListener() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Returns the TransferListener that this instance uses to gather bandwidth information from data transfers.
getTransferListener() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
getType() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the message type forwarded to PlayerMessage.Target.handleMessage(int, Object).
getTypeForEncoding(int) - Static method in class com.google.android.exoplayer2.audio.WavUtil
Returns the WAVE type value for the given encoding.
getTypeSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which tracks of a specified type are supported.
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.Timeline
Returns the unique id of the period identified by its index in the timeline.
getUnassociatedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
getUnexpectedException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_UNEXPECTED.
getUnmappedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns TrackGroups not mapped to any renderer.
getUpstreamFormat() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the upstream Format in which samples are being queued.
getUri() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the Uri associated with the last DataSource.open(com.google.android.exoplayer2.upstream.DataSpec) call.
getUri() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
getUri() - Method in interface com.google.android.exoplayer2.upstream.DataSource
When the source is open, returns the Uri from which data is being read.
getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the Uri from which data was read.
getUri() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
getUserAgent(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a user agent string based on the given application name and the library version.
getUtf8Bytes(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a new byte array containing the code points of a String encoded using UTF-8.
getVertexCount() - Method in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
Returns the SubMesh vertex count.
getVideoComponent() - Method in interface com.google.android.exoplayer2.Player
Returns the component of this player for video output, or null if video is not supported.
getVideoComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getVideoDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns DecoderCounters for video, or null if no video is being played.
getVideoFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns the video format currently being played, or null if no video is being played.
getVideoMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Derives a video sample mimeType from a codecs attribute.
getVideoScalingMode() - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Returns the C.VideoScalingMode.
getVideoScalingMode() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getVolume() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Returns the audio volume, with 0 being silence and 1 being unity gain.
getVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getVolumeMultiplier() - Method in class com.google.android.exoplayer2.audio.AudioFocusManager
Gets the current player volume multiplier.
getWindow(int, Timeline.Window, boolean, long) - Method in class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
 
getWindow(int, Timeline.Window, boolean, long) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getWindow(int, Timeline.Window, boolean, long) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getWindow(int, Timeline.Window) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Window with data for the window at the specified index.
getWindow(int, Timeline.Window, boolean) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Window with data for the window at the specified index.
getWindow(int, Timeline.Window, boolean, long) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Window with data for the window at the specified index.
getWindowCount() - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.Timeline
Returns the number of windows in the timeline.
getWindowIndex() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns window index at which the message will be delivered.
getWindowIndexForChildWindowIndex(T, int) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Returns the window index in the composite source corresponding to the specified window index in a child source.
getWindowIndexForChildWindowIndex(ConcatenatingMediaSource.MediaSourceHolder, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
getWrappedMediaCrypto() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
Returns the wrapped MediaCrypto.
getWriteIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the current absolute write index.
getWriteIndices() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
Returns the current absolute write indices of the individual sample queues.
GL_ASSERTIONS_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Whether an exception should be thrown in case of an OpenGl error.
group - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The selected TrackGroup.
groupIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
The group index.
groupIndex - Variable in class com.google.android.exoplayer2.offline.TrackKey
The group index.
groupIndex - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 

H

H262Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous H262 byte stream and extracts individual frames.
H262Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.H262Reader
 
H262Reader(UserDataReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.H262Reader
 
H264Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous H264 byte stream and extracts individual frames.
H264Reader(SeiReader, boolean, boolean) - Constructor for class com.google.android.exoplayer2.extractor.ts.H264Reader
 
H265Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous H.265 byte stream and extracts individual frames.
H265Reader(SeiReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.H265Reader
 
handleAction(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Deserializes an action from actionData, and calls DownloadManager.handleAction(DownloadAction).
handleAction(DownloadAction) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Handles the given action.
handleBuffer(ByteBuffer, long) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Attempts to process data from a ByteBuffer, starting from its current position and ending at its limit (exclusive).
handleBuffer(ByteBuffer, long) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
handleBuffer(ByteBuffer) - Method in interface com.google.android.exoplayer2.audio.TeeAudioProcessor.AudioBufferSink
Called when data is written to the audio processor.
handleBuffer(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor.WavFileAudioBufferSink
 
handleDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Signals to the sink that the next buffer may be discontinuous with the previous buffer.
handleDiscontinuity() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.BaseRenderer
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
handleMessage(int, Object) - Method in interface com.google.android.exoplayer2.PlayerMessage.Target
Handles a message delivered to the target.
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
handlePendingSeek(ExtractorInput, PositionHolder, BinarySearchSeeker.OutputFrameHolder) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Continues to handle the pending seek operation.
handlePrepare(boolean) - Method in class com.google.android.exoplayer2.audio.AudioFocusManager
handlePrepareError(int, int, IOException) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Notifies the ads loader that the player was not able to prepare media for a given ad.
HandlerWrapper - Interface in com.google.android.exoplayer2.util
An interface to call through to a Handler.
handleSetPlayWhenReady(boolean, int) - Method in class com.google.android.exoplayer2.audio.AudioFocusManager
Called by the player as part of Player.setPlayWhenReady(boolean).
handleStop() - Method in class com.google.android.exoplayer2.audio.AudioFocusManager
Called by the player as part of Player.stop(boolean).
hasBackgroundColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
hasData() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns whether DrmInitData.SchemeData.data is non-null.
hasFontColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
hasGaplessInfo() - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
hashCode() - Method in class com.google.android.exoplayer2.audio.AudioAttributes
 
hashCode() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
 
hashCode() - Method in class com.google.android.exoplayer2.audio.AuxEffectInfo
 
hashCode() - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
hashCode() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
hashCode() - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
hashCode() - Method in class com.google.android.exoplayer2.extractor.SeekPoint
 
hashCode() - Method in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
hashCode() - Method in class com.google.android.exoplayer2.Format
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.Metadata
 
hashCode() - Method in class com.google.android.exoplayer2.offline.DownloadAction
 
hashCode() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
 
hashCode() - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction
 
hashCode() - Method in class com.google.android.exoplayer2.offline.StreamKey
 
hashCode() - Method in class com.google.android.exoplayer2.PlaybackParameters
 
hashCode() - Method in class com.google.android.exoplayer2.RendererConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.SeekParameters
 
hashCode() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
 
hashCode() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
 
hashCode() - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
 
hashCode() - Method in class com.google.android.exoplayer2.source.TrackGroup
 
hashCode() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
 
hashCode() - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
hashCode() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
hasNext() - Method in class com.google.android.exoplayer2.BasePlayer
 
hasNext() - Method in interface com.google.android.exoplayer2.Player
Returns whether a next window exists, which may depend on the current repeat mode and whether shuffle mode is enabled.
hasNextSample() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns whether a sample is available to be read.
hasPendingData() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether the sink has data pending that has not been consumed yet.
hasPendingData() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
hasPlayedAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns whether the ad group at index adGroupIndex has been played.
hasPrevious() - Method in class com.google.android.exoplayer2.BasePlayer
 
hasPrevious() - Method in interface com.google.android.exoplayer2.Player
Returns whether a previous window exists, which may depend on the current repeat mode and whether shuffle mode is enabled.
hasReadStreamToEnd() - Method in class com.google.android.exoplayer2.BaseRenderer
 
hasReadStreamToEnd() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
hasReadStreamToEnd() - Method in interface com.google.android.exoplayer2.Renderer
Returns whether the renderer has read the current SampleStream to the end.
hasSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
hasSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns whether there is an override for the specified renderer and TrackGroupArray.
hasUnplayedAds() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns whether the ad group has at least one ad that still needs to be played.
hdrStaticInfo - Variable in class com.google.android.exoplayer2.video.ColorInfo
HdrStaticInfo as defined in CTA-861.3, or null if none specified.
headerFields - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
An unmodifiable map of the response header fields and values.
height - Variable in class com.google.android.exoplayer2.Format
The height of the video in pixels, or Format.NO_VALUE if unknown or not applicable.
height - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
height - Variable in class com.google.android.exoplayer2.video.AvcConfig
 
height - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
HevcConfig - Class in com.google.android.exoplayer2.video
HEVC configuration data.
HTTP_METHOD_GET - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
 
HTTP_METHOD_HEAD - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
 
HTTP_METHOD_POST - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
 
httpBody - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The HTTP body, null otherwise.
HttpDataSource - Interface in com.google.android.exoplayer2.upstream
An HTTP DataSource.
HttpDataSource.BaseFactory - Class in com.google.android.exoplayer2.upstream
Base implementation of HttpDataSource.Factory that sets default request properties.
HttpDataSource.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for HttpDataSource instances.
HttpDataSource.HttpDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an error is encountered when trying to read from a HttpDataSource.
HttpDataSource.HttpDataSourceException.Type - Annotation Type in com.google.android.exoplayer2.upstream
 
HttpDataSource.InvalidContentTypeException - Exception in com.google.android.exoplayer2.upstream
Thrown when the content type is invalid.
HttpDataSource.InvalidResponseCodeException - Exception in com.google.android.exoplayer2.upstream
Thrown when an attempt to open a connection results in a response code not in the 2xx range.
HttpDataSource.RequestProperties - Class in com.google.android.exoplayer2.upstream
Stores HTTP request properties (aka HTTP headers) and provides methods to modify the headers in a thread safe way to avoid the potential of creating snapshots of an inconsistent or unintended state.
HttpDataSourceException(DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
HttpDataSourceException(String, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
HttpDataSourceException(IOException, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
HttpDataSourceException(String, IOException, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
HttpMediaDrmCallback - Class in com.google.android.exoplayer2.drm
A MediaDrmCallback that makes requests using HttpDataSource instances.
HttpMediaDrmCallback(String, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
HttpMediaDrmCallback(String, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
httpMethod - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The HTTP method, which will be used by HttpDataSource when requesting this DataSpec.

I

i(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
i(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
id - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The track identifier.
id - Variable in class com.google.android.exoplayer2.Format
An identifier for the format, or null if unknown or not applicable.
id - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The instance identifier.
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
id - Variable in class com.google.android.exoplayer2.metadata.id3.Id3Frame
The frame ID.
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
id - Variable in class com.google.android.exoplayer2.source.DeferredMediaPeriod
The MediaSource.MediaPeriodId used to create the deferred media period.
id - Variable in class com.google.android.exoplayer2.Timeline.Period
An identifier for the period.
ID3_HEADER_LENGTH - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
Length of an ID3 tag header.
ID3_TAG - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
The first three bytes of a well formed ID3 tag header.
Id3Decoder - Class in com.google.android.exoplayer2.metadata.id3
Decodes ID3 tags.
Id3Decoder() - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
Id3Decoder(Id3Decoder.FramePredicate) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
Id3Decoder.FramePredicate - Interface in com.google.android.exoplayer2.metadata.id3
A predicate for determining whether individual frames should be decoded.
Id3Frame - Class in com.google.android.exoplayer2.metadata.id3
Base class for ID3 frames.
Id3Frame(String) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Frame
 
Id3Peeker - Class in com.google.android.exoplayer2.extractor
Peeks data from the beginning of an ExtractorInput to determine if there is any ID3 tag.
Id3Peeker() - Constructor for class com.google.android.exoplayer2.extractor.Id3Peeker
 
Id3Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses ID3 data and extracts individual text information frames.
Id3Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
identifier - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The identifier as defined in SCTE35, Section 9.3.6.
IllegalClippingException(int) - Constructor for exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
 
IllegalMergeException(int) - Constructor for exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
 
IllegalSeekPositionException - Exception in com.google.android.exoplayer2
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.
IllegalSeekPositionException(Timeline, int, long) - Constructor for exception com.google.android.exoplayer2.IllegalSeekPositionException
 
IMPORTANCE_DEFAULT - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_HIGH - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_LOW - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_MIN - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_NONE - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_UNSPECIFIED - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
INDEX_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown index.
indexOf(Format) - Method in class com.google.android.exoplayer2.source.TrackGroup
Returns the index of the track with the given format in the group.
indexOf(TrackGroup) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
Returns the index of a group within the array.
indexOf(Format) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
indexOf(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
indexOf(Format) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the selection of the track with the specified format.
indexOf(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the selection of the track with the specified index in the track group.
inferContentType(Uri, String) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the type from a Uri.
inferContentType(Uri) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the type from a Uri.
inferContentType(String) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the type from a file name.
inflate(ParsableByteArray, ParsableByteArray, Inflater) - Static method in class com.google.android.exoplayer2.util.Util
Uncompresses the data in input.
info - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
An opaque object that will be returned to TrackSelector.onSelectionActivated(Object) should the selections be activated.
init(long, int) - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
Initializes the buffer.
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
init(ExtractorOutput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Initializes the extractor with an ExtractorOutput.
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
Initializes the section payload reader.
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Initializes the payload reader.
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
init(BaseMediaChunkOutput) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Initializes the chunk for loading, setting the BaseMediaChunkOutput that will receive samples as they are loaded.
init(ChunkExtractorWrapper.TrackOutputProvider, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
Initializes the wrapper to output to TrackOutputs provided by the specified ChunkExtractorWrapper.TrackOutputProvider, and configures the extractor to receive data from a new chunk.
init(TrackSelector.InvalidationListener, BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to initialize the selector.
init(int) - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Initializes required EGL parameters and creates the SurfaceTexture.
INITIAL_DRM_REQUEST_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Number of times to retry for initial provisioning and key request for reporting error.
InitializationChunk - Class in com.google.android.exoplayer2.source.chunk
A Chunk that uses an Extractor to decode initialization data for single track.
InitializationChunk(DataSource, DataSpec, Format, int, Object, ChunkExtractorWrapper) - Constructor for class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
initializationData - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
initializationData - Variable in class com.google.android.exoplayer2.Format
Initialization data that must be provided to the decoder.
initializationData - Variable in class com.google.android.exoplayer2.video.AvcConfig
 
initializationData - Variable in class com.google.android.exoplayer2.video.HevcConfig
 
initializationDataEquals(Format) - Method in class com.google.android.exoplayer2.Format
Returns whether the Format.initializationDatas belonging to this format and other are equal.
InitializationException(int, int, int, int) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
 
inputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of queued input buffers.
inputFormatChanged(Format) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
inputFormatChanged(Format) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
inputSize - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
INSTANCE - Static variable in class com.google.android.exoplayer2.upstream.DummyDataSource
 
INTERNAL_METADATA_NAME_PREFIX - Static variable in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Prefix of internal metadata names.
InternalFrame - Class in com.google.android.exoplayer2.metadata.id3
Internal ID3 frame that is intended for use by the player.
InternalFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
invalidate() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Calls TrackSelector.InvalidationListener.onTrackSelectionsInvalidated() to invalidate all previously generated track selections.
InvalidContentTypeException(String, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
 
InvalidResponseCodeException(int, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
Deprecated.
Use #InvalidResponseCodeException(int, String, Map, DataSpec).
InvalidResponseCodeException(int, String, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
 
isActive() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns whether the processor is configured and will process input buffers.
isActive() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
isActive() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
isActive() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
isAd() - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Returns whether this period identifier identifies an ad in an ad group in a period.
isAdAvailable(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns whether the URL for the specified ad is known.
isAdtsSyncWord(int) - Static method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
Returns whether an integer matches an ADTS SYNC word.
isApplication(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Whether the top-level type of mimeType is application.
isAudio(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Whether the top-level type of mimeType is audio.
isAudioChannelCountSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports audio with a given channel count.
isAudioSampleRateSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports audio with a given sample rate.
isAvailable() - Method in class com.google.android.exoplayer2.util.LibraryLoader
Returns whether the underlying libraries are available, loading them if necessary.
isBlacklisted(int, long) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
Returns whether the track at the specified index in the selection is blacklisted.
isCached(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Queries if a range is entirely available in the cache.
isCached - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Whether the CacheSpan is cached.
isCached(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
isCacheFolderLocked(File) - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Returns whether cacheFolder is locked by a SimpleCache instance.
isCanceled() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns whether the message delivery has been canceled.
isChargingRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the device should be charging.
isCodecSupported(String) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports the given codec.
isCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
 
isCurrentStreamFinal() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
isCurrentStreamFinal() - Method in interface com.google.android.exoplayer2.Renderer
Returns whether the current SampleStream will be the final one supplied before the renderer is next disabled or reset.
isCurrentWindowDynamic() - Method in class com.google.android.exoplayer2.BasePlayer
 
isCurrentWindowDynamic() - Method in interface com.google.android.exoplayer2.Player
Returns whether the current window is dynamic, or false if the Timeline is empty.
isCurrentWindowSeekable() - Method in class com.google.android.exoplayer2.BasePlayer
 
isCurrentWindowSeekable() - Method in interface com.google.android.exoplayer2.Player
Returns whether the current window is seekable, or false if the Timeline is empty.
isDecodeOnly() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_DECODE_ONLY flag is set.
isDynamic - Variable in class com.google.android.exoplayer2.Timeline.Window
Whether this window may change when the timeline is updated.
isEmpty() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
Returns whether this track group array is empty.
isEmpty() - Method in class com.google.android.exoplayer2.Timeline
Returns whether the timeline is empty.
isEncodingHighResolutionIntegerPcm(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether encoding is high resolution (> 16-bit) integer PCM.
isEncodingLinearPcm(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether encoding is one of the linear PCM encodings.
isEncodingSupported(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether it's possible to play audio in the specified encoding.
isEncodingSupported(int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
isEncrypted() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Returns whether the C.BUFFER_FLAG_ENCRYPTED flag is set.
isEncrypted - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
Indicates the encryption state of the samples in the sample group.
isEnded() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns whether this processor will return no more output from AudioProcessor.getOutput() until it has been AudioProcessor.flush()ed and more input has been queued.
isEnded() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether AudioSink.playToEndOfStream() has been called and all buffers have been processed.
isEnded() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
isEnded() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
isEnded() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
isEnded() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
isEnded() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
isEnded() - Method in interface com.google.android.exoplayer2.Renderer
Whether the renderer is ready for the ExoPlayer instance to transition to Player.STATE_ENDED.
isEnded() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
 
isEnded() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns whether the iteration has reached the end of the available data.
isEnded() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
isEndOfStream() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_END_OF_STREAM flag is set.
isEndTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is an end tag with the specified name.
isEndTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is an end tag.
isEquivalent(TrackSelectorResult) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Returns whether this result is equivalent to other for all renderers.
isEquivalent(TrackSelectorResult, int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Returns whether this result is equivalent to other for the renderer at the given index.
isFlagSet(int) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns whether the given flag is set.
isFlagsOnly() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Returns whether the buffer is only able to hold flags, meaning DecoderInputBuffer.data is null and its replacement mode is DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED.
isFormatSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns whether the decoder may support decoding the given format.
isHoleSpan() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Returns whether this is a hole CacheSpan.
isIdle() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns whether there are no active tasks.
isIdleRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the device should be idle.
isInitialized() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns whether the manager has completed initialization.
isKeyFrame() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_KEY_FRAME flag is set.
isLastPeriod(int, Timeline.Period, Timeline.Window, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns whether the given period is the last period of the timeline depending on the repeatMode and whether shuffling is enabled.
isLinebreak(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether the given character is a carriage return ('\r') or a line feed ('\n').
isLinethrough() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
Returns whether the chunk has been fully loaded.
isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
isLoading() - Method in interface com.google.android.exoplayer2.Player
Whether the player is currently loading the source.
isLoading() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
isLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
Returns whether the Loader is currently loading a Loader.Loadable.
isLocalFileUri(Uri) - Static method in class com.google.android.exoplayer2.util.Util
Returns true if the URI is a path to a local file or a reference to a local file.
isNalUnitSei(String, byte) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Returns whether the NAL unit with the specified header contains supplemental enhancement information.
isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
isNormalCue() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue
Returns whether or not this cue should be placed in the default position and rolled-up with the other "normal" cues.
isOpenEnded() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Returns whether this is an open-ended CacheSpan.
isOrdered - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
isPlayingAd() - Method in interface com.google.android.exoplayer2.Player
Returns whether the player is currently playing an ad.
isPlayingAd() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
isPsshAtom(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Returns whether the data is a valid PSSH atom.
isReady() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
isReady() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
isReady() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
isReady() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
isReady() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
isReady() - Method in interface com.google.android.exoplayer2.Renderer
Whether the renderer is able to immediately render media from the current position.
isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
isReady() - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
isReady() - Method in interface com.google.android.exoplayer2.source.SampleStream
Returns whether data is available to be read.
isReady() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
isReady() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
isReady() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
isRemoveAction - Variable in class com.google.android.exoplayer2.offline.DownloadAction
Whether this is a remove action.
isRendererEnabled(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Returns whether the renderer at the specified index is enabled.
isRepeatModeEnabled(int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
Verifies whether a given repeatMode is enabled in the bitmask enabledModes.
isRetry() - Method in class com.google.android.exoplayer2.upstream.Loader.LoadErrorAction
Returns whether this is a retry action.
isRoot - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
isSameMedia(DownloadAction) - Method in class com.google.android.exoplayer2.offline.DownloadAction
Returns whether this is an action for the same media as the other.
isSameMedia(DownloadAction) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
 
isSeamlessAdaptationSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns whether it may be possible to adapt to playing a different format when the codec is configured to play media in the specified format.
isSeamlessAdaptationSupported(Format, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns whether it is possible to adapt the decoder seamlessly from oldFormat to newFormat.
isSecureSupported(Context) - Static method in class com.google.android.exoplayer2.video.DummySurface
Returns whether the device supports secure dummy surfaces.
isSeekable() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
isSeekable() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Returns whether seeking is supported.
isSeekable() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
isSeekable - Variable in class com.google.android.exoplayer2.Timeline.Window
Whether it's possible to seek within this window.
isSeeking() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Returns whether the last operation set by BinarySearchSeeker.setSeekTargetUs(long) is still pending.
isSourceReady() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns whether the upstream source is ready.
isStartTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is a start tag with the specified name.
isStartTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is a start tag.
isStartTagIgnorePrefix(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is a start tag with the specified name.
isSupported(int, boolean) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Applies the RendererCapabilities.FORMAT_SUPPORT_MASK to a value obtained from RendererCapabilities.supportsFormat(Format), returning true if the result is RendererCapabilities.FORMAT_HANDLED or if allowExceedsCapabilities is set and the result is RendererCapabilities.FORMAT_EXCEEDS_CAPABILITIES.
isSyncWord(int) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns whether a given integer matches a DTS sync word.
isText(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Whether the top-level type of mimeType is text.
isUnderline() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
isVideo(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Whether the top-level type of mimeType is video.
isVideoSizeAndRateSupportedV21(int, int, double) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports video with a given width, height and frame rate.
isWebvttHeaderLine(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Returns whether the given input is the first line of a WebVTT file.
isWideAspectRatio - Variable in class com.google.android.exoplayer2.text.cea.Cea708InitializationData
Whether the closed caption service is formatted for displays with 16:9 aspect ratio.
iv - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 

K

KEEP_CODEC_RESULT_NO - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
The codec cannot be kept.
KEEP_CODEC_RESULT_YES_WITH_RECONFIGURATION - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
The codec can be kept, but must be reconfigured by prefixing the next input buffer with the new format's configuration data.
KEEP_CODEC_RESULT_YES_WITHOUT_RECONFIGURATION - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
The codec can be kept.
key - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
key - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The cache key that uniquely identifies the original stream.
key - Variable in class com.google.android.exoplayer2.upstream.DataSpec
A key that uniquely identifies the original stream.
KEY_DOWNLOAD_ACTION - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Key for the DownloadAction in an DownloadService.ACTION_ADD intent.
KEY_FOREGROUND - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Key for a boolean flag in any intent to indicate whether the service was started in the foreground.
KEY_TYPE_OFFLINE - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
KEY_TYPE_RELEASE - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
KEY_TYPE_STREAMING - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
KeyRequest(byte[], String) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
 
keys - Variable in class com.google.android.exoplayer2.offline.SegmentDownloadAction
 
KeysExpiredException - Exception in com.google.android.exoplayer2.drm
Thrown when the drm keys loaded into an open session expire.
KeysExpiredException() - Constructor for exception com.google.android.exoplayer2.drm.KeysExpiredException
 
KeyStatus(int, byte[]) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
 

L

label - Variable in class com.google.android.exoplayer2.Format
The human readable label, or null if unknown or not applicable.
language - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
language - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
language - Variable in class com.google.android.exoplayer2.Format
The language, or null if unknown or not applicable.
language - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
LANGUAGE_UNDETERMINED - Static variable in class com.google.android.exoplayer2.C
Represents an undetermined language as an ISO 639 alpha-3 language code.
lastAccessTimestamp - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The last access timestamp, or C.TIME_UNSET if CacheSpan.isCached is false.
lastPeriodIndex - Variable in class com.google.android.exoplayer2.Timeline.Window
The index of the last period that belongs to this window.
LatmReader - Class in com.google.android.exoplayer2.extractor.ts
Parses and extracts samples from an AAC/LATM elementary stream.
LatmReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.LatmReader
 
LeastRecentlyUsedCacheEvictor - Class in com.google.android.exoplayer2.upstream.cache
Evicts least recently used cache files first.
LeastRecentlyUsedCacheEvictor(long) - Constructor for class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
leftMesh - Variable in class com.google.android.exoplayer2.video.spherical.Projection
The Mesh corresponding to the left eye.
length - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The number of chunks.
length() - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns the number of metadata entries.
length - Variable in class com.google.android.exoplayer2.source.TrackGroup
The number of tracks in the group.
length - Variable in class com.google.android.exoplayer2.source.TrackGroupArray
The number of groups in the array.
length - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The number of selected tracks within the TrackGroup.
length() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
length - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
length - Variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
length() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the number of tracks in the selection.
length - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
The length of this array.
length - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
The number of selections in the result.
length - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The length of the CacheSpan, or C.LENGTH_UNSET if this is an open-ended hole.
length - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The length of the data, or C.LENGTH_UNSET.
LENGTH_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown length.
levelIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
LibraryLoader - Class in com.google.android.exoplayer2.util
Configurable loader for native libraries.
LibraryLoader(String...) - Constructor for class com.google.android.exoplayer2.util.LibraryLoader
 
licenseServerUrl - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The URL of the server to which license requests should be made.
limit() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the limit.
line - Variable in class com.google.android.exoplayer2.text.Cue
The position of the Cue.lineAnchor of the cue box within the viewport in the direction orthogonal to the writing direction, or Cue.DIMEN_UNSET.
LINE_TYPE_FRACTION - Static variable in class com.google.android.exoplayer2.text.Cue
Value for Cue.lineType when Cue.line is a fractional position.
LINE_TYPE_NUMBER - Static variable in class com.google.android.exoplayer2.text.Cue
Value for Cue.lineType when Cue.line is a line number.
lineAnchor - Variable in class com.google.android.exoplayer2.text.Cue
The cue box anchor positioned by Cue.line.
lineType - Variable in class com.google.android.exoplayer2.text.Cue
The type of the Cue.line value.
load(DownloadAction.Deserializer...) - Method in class com.google.android.exoplayer2.offline.ActionFile
Loads DownloadActions from file.
load() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
load() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
 
load() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
load() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
load() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
Performs the load, returning on completion or cancellation.
load(DataSource, ParsingLoadable.Parser<? extends T>, Uri, int) - Static method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Loads a single parsable object.
load() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
 
loadCanceled(DataSpec, Uri, Map<String, List<String>>, int, long, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadCanceled(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadCanceled(DataSpec, Uri, Map<String, List<String>>, int, int, Format, int, Object, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadCanceled(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadCanceled(MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadCanceled(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadCompleted(DataSpec, Uri, Map<String, List<String>>, int, long, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadCompleted(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadCompleted(DataSpec, Uri, Map<String, List<String>>, int, int, Format, int, Object, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadCompleted(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadCompleted(MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadCompleted(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
LoadControl - Interface in com.google.android.exoplayer2
Controls buffering of media.
loadDurationMs - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
The duration of the load up to the event time.
Loader - Class in com.google.android.exoplayer2.upstream
Manages the background loading of Loader.Loadables.
Loader(String) - Constructor for class com.google.android.exoplayer2.upstream.Loader
 
Loader.Callback<T extends Loader.Loadable> - Interface in com.google.android.exoplayer2.upstream
A callback to be notified of Loader events.
Loader.Loadable - Interface in com.google.android.exoplayer2.upstream
An object that can be loaded using a Loader.
Loader.LoadErrorAction - Class in com.google.android.exoplayer2.upstream
Action that can be taken in response to Callback#onLoadError(Loadable, long, long, IOException, int).
Loader.ReleaseCallback - Interface in com.google.android.exoplayer2.upstream
A callback to be notified when a Loader has finished being released.
Loader.UnexpectedLoaderException - Exception in com.google.android.exoplayer2.upstream
Thrown when an unexpected exception or error is encountered during loading.
LoaderErrorThrower - Interface in com.google.android.exoplayer2.upstream
Conditionally throws errors affecting a Loader.
LoaderErrorThrower.Dummy - Class in com.google.android.exoplayer2.upstream
A LoaderErrorThrower that never throws.
loadError(DataSpec, Uri, Map<String, List<String>>, int, long, long, long, IOException, boolean) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean).
loadError(DataSpec, Uri, Map<String, List<String>>, int, int, Format, int, Object, long, long, long, long, long, IOException, boolean) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean).
loadError(MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean).
LoadErrorHandlingPolicy - Interface in com.google.android.exoplayer2.upstream
Defines how errors encountered by Loaders are handled.
loaders - Variable in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
LoadEventInfo(DataSpec, Uri, Map<String, List<String>>, long, long, long) - Constructor for class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
Creates load event info.
loadStarted(DataSpec, int, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadStarted(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadStarted(DataSpec, int, int, Format, int, Object, long, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadStarted(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
loadStarted(MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onLoadStarted(int, MediaPeriodId, LoadEventInfo, MediaLoadData).
LocalMediaDrmCallback - Class in com.google.android.exoplayer2.drm
A MediaDrmCallback that provides a fixed response to key requests.
LocalMediaDrmCallback(byte[]) - Constructor for class com.google.android.exoplayer2.drm.LocalMediaDrmCallback
 
Log - Class in com.google.android.exoplayer2.util
Wrapper around Log which allows to set the log level.
LOG_LEVEL_ALL - Static variable in class com.google.android.exoplayer2.util.Log
Log level to log all messages.
LOG_LEVEL_ERROR - Static variable in class com.google.android.exoplayer2.util.Log
Log level to only log error messages.
LOG_LEVEL_INFO - Static variable in class com.google.android.exoplayer2.util.Log
Log level to only log informative, warning and error messages.
LOG_LEVEL_OFF - Static variable in class com.google.android.exoplayer2.util.Log
Log level to disable all logging.
LOG_LEVEL_WARNING - Static variable in class com.google.android.exoplayer2.util.Log
Log level to only log warning and error messages.
logd(String) - Method in class com.google.android.exoplayer2.util.EventLogger
Logs a debug message.
loge(String, Throwable) - Method in class com.google.android.exoplayer2.util.EventLogger
Logs an error message and exception.
LongArray - Class in com.google.android.exoplayer2.util
An append-only, auto-growing long[].
LongArray() - Constructor for class com.google.android.exoplayer2.util.LongArray
 
LongArray(int) - Constructor for class com.google.android.exoplayer2.util.LongArray
 
LoopingMediaSource - Class in com.google.android.exoplayer2.source
Loops a MediaSource a specified number of times.
LoopingMediaSource(MediaSource) - Constructor for class com.google.android.exoplayer2.source.LoopingMediaSource
Loops the provided source indefinitely.
LoopingMediaSource(MediaSource, int) - Constructor for class com.google.android.exoplayer2.source.LoopingMediaSource
Loops the provided source a specified number of times.

M

MANUFACTURER - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.MANUFACTURER, but in a place where it can be conveniently overridden for local testing.
MappingTrackSelector - Class in com.google.android.exoplayer2.trackselection
Base class for TrackSelectors that first establish a mapping between TrackGroups and Renderers, and then from that mapping create a TrackSelection for each renderer.
MappingTrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
MappingTrackSelector.MappedTrackInfo - Class in com.google.android.exoplayer2.trackselection
Provides mapped track information for each renderer.
markAsProcessed(boolean) - Method in class com.google.android.exoplayer2.PlayerMessage
Marks the message as processed.
markSeekOperationFinished(boolean, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
matches(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns whether this initialization data applies to the specified scheme.
MatroskaExtractor - Class in com.google.android.exoplayer2.extractor.mkv
Extracts data from the Matroska and WebM container formats.
MatroskaExtractor() - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
MatroskaExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
MatroskaExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mkv
Flags controlling the behavior of the extractor.
MAX_DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
 
MAX_FRAME_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Theoretical maximum frame size for an MPEG audio stream, which occurs when playing a Layer 2 MPEG 2.5 audio stream at 16 kb/s (with padding).
MAX_SUPPORTED_INSTANCES_UNKNOWN - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The value returned by MediaCodecInfo.getMaxSupportedInstances() if the upper bound on the maximum number of supported instances is unknown.
maxBlockSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
maxConsecutiveDroppedBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The maximum number of dropped buffers without an interleaving rendered output buffer.
maxDecodedFrameSize() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
Returns the maximum size for a decoded frame from the FLAC stream.
maxFrameSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
maxH264DecodableFrameSize() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns the maximum frame size supported by the default H264 decoder.
MAXIMUM_PITCH - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
The maximum allowed pitch in SonicAudioProcessor.setPitch(float).
MAXIMUM_SPEED - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
The maximum allowed playback speed in SonicAudioProcessor.setSpeed(float).
maxInputSize - Variable in class com.google.android.exoplayer2.Format
The maximum size of a buffer of data (typically one sample), or Format.NO_VALUE if unknown or not applicable.
maxVideoBitrate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Maximum video bitrate.
maxVideoFrameRate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Maximum allowed video frame rate.
maxVideoHeight - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Maximum allowed video height.
maxVideoWidth - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Maximum allowed video width.
maybeDropBuffersToKeyframe(MediaCodec, int, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Drops frames from the current output buffer to the next keyframe at or before the playback position.
maybeInitCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
maybeRequestReadExternalStoragePermission(Activity, Uri...) - Static method in class com.google.android.exoplayer2.util.Util
Checks whether it's necessary to request the Manifest.permission.READ_EXTERNAL_STORAGE permission read the specified Uris, requesting the permission if necessary.
maybeSetByteBuffer(MediaFormat, String, byte[]) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
Sets a MediaFormat ByteBuffer value.
maybeSetColorInfo(MediaFormat, ColorInfo) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
Sets a MediaFormat's color information.
maybeSetFloat(MediaFormat, String, float) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
Sets a MediaFormat float value.
maybeSetInteger(MediaFormat, String, int) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
Sets a MediaFormat integer value.
maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
maybeThrowError() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
If the source is currently having difficulty providing chunks, then this method throws the underlying error.
maybeThrowError() - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
maybeThrowError() - Method in interface com.google.android.exoplayer2.source.SampleStream
Throws an error that's preventing data from being read.
maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.Loader
 
maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.Loader
 
maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
 
maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
 
maybeThrowError() - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the Loaders default minimum number of retries.
maybeThrowError(int) - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the specified minimum number of retries.
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
maybeThrowPrepareError() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Throws an error that's preventing the period from becoming prepared.
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in interface com.google.android.exoplayer2.source.MediaSource
Throws any pending error encountered while loading or refreshing source information.
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
maybeThrowStreamError() - Method in class com.google.android.exoplayer2.BaseRenderer
 
maybeThrowStreamError() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
maybeThrowStreamError() - Method in interface com.google.android.exoplayer2.Renderer
Throws an error that's preventing the renderer from reading from its SampleStream.
MediaChunk - Class in com.google.android.exoplayer2.source.chunk
An abstract base class for Chunks that contain media samples.
MediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaChunk
 
MediaChunkIterator - Interface in com.google.android.exoplayer2.source.chunk
Iterator for media chunk sequences.
MediaClock - Interface in com.google.android.exoplayer2.util
Tracks the progression of media time.
MediaCodecAudioRenderer - Class in com.google.android.exoplayer2.audio
Decodes and renders audio using MediaCodec and an AudioSink.
MediaCodecAudioRenderer(Context, MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener, AudioCapabilities, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecInfo - Class in com.google.android.exoplayer2.mediacodec
Information about a MediaCodec for a given mime type.
MediaCodecRenderer - Class in com.google.android.exoplayer2.mediacodec
An abstract renderer that uses MediaCodec to decode samples for rendering.
MediaCodecRenderer(int, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, float) - Constructor for class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
MediaCodecRenderer.DecoderInitializationException - Exception in com.google.android.exoplayer2.mediacodec
Thrown when a failure occurs instantiating a decoder.
MediaCodecRenderer.KeepCodecResult - Annotation Type in com.google.android.exoplayer2.mediacodec
MediaCodecSelector - Interface in com.google.android.exoplayer2.mediacodec
Selector of MediaCodec instances.
MediaCodecUtil - Class in com.google.android.exoplayer2.mediacodec
A utility class for querying the available codecs.
MediaCodecUtil.DecoderQueryException - Exception in com.google.android.exoplayer2.mediacodec
Thrown when an error occurs querying the device for its underlying media capabilities.
MediaCodecVideoRenderer - Class in com.google.android.exoplayer2.video
Decodes and renders video using MediaCodec.
MediaCodecVideoRenderer(Context, MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecSelector, long) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecSelector, long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecSelector, long, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer.CodecMaxValues - Class in com.google.android.exoplayer2.video
 
MediaDrmCallback - Interface in com.google.android.exoplayer2.drm
Performs ExoMediaDrm key and provisioning requests.
mediaEndTimeMs - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
The end time of the media, or C.TIME_UNSET if the data does not belong to a specific media period or the end time is unknown.
MediaFormatUtil - Class in com.google.android.exoplayer2.mediacodec
Helper class for configuring MediaFormat instances.
MediaLoadData(int, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
Creates media load data.
mediaPeriod - Variable in class com.google.android.exoplayer2.source.ClippingMediaPeriod
The MediaPeriod wrapped by this clipping media period.
MediaPeriod - Interface in com.google.android.exoplayer2.source
Loads media corresponding to a Timeline.Period, and allows that media to be read.
MediaPeriod.Callback - Interface in com.google.android.exoplayer2.source
A callback to be notified of MediaPeriod events.
mediaPeriodCreated() - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onMediaPeriodCreated(int, MediaPeriodId).
mediaPeriodId - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Media period identifier for the media period this event belongs to, or null if the event is not associated with a specific media period.
MediaPeriodId(Object) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Creates a media period identifier for a dummy period which is not part of a buffered sequence of windows.
MediaPeriodId(Object, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Creates a media period identifier for the specified period in the timeline.
MediaPeriodId(Object, long, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Creates a media period identifier for the specified clipped period in the timeline.
MediaPeriodId(Object, int, int, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Creates a media period identifier that identifies an ad within an ad group at the specified timeline period.
mediaPeriodId - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
The MediaSource.MediaPeriodId reported with the events.
mediaPeriodReleased() - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onMediaPeriodReleased(int, MediaPeriodId).
mediaSource - Variable in class com.google.android.exoplayer2.source.DeferredMediaPeriod
The MediaSource which will create the actual media period.
MediaSource - Interface in com.google.android.exoplayer2.source
Defines and provides media to be played by an ExoPlayer.
MediaSource.MediaPeriodId - Class in com.google.android.exoplayer2.source
Identifier for a MediaPeriod.
MediaSource.SourceInfoRefreshListener - Interface in com.google.android.exoplayer2.source
Listener for source events.
MediaSourceEventListener - Interface in com.google.android.exoplayer2.source
Interface for callbacks to be notified of MediaSource events.
MediaSourceEventListener.EventDispatcher - Class in com.google.android.exoplayer2.source
Dispatches events to MediaSourceEventListeners.
MediaSourceEventListener.LoadEventInfo - Class in com.google.android.exoplayer2.source
Media source load event information.
MediaSourceEventListener.MediaLoadData - Class in com.google.android.exoplayer2.source
Descriptor for data being loaded or selected by a media source.
mediaStartTimeMs - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
The start time of the media, or C.TIME_UNSET if the data does not belong to a specific media period.
merge(DecoderCounters) - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
Merges the counts from other into this instance.
MergingMediaSource - Class in com.google.android.exoplayer2.source
Merges multiple MediaSources.
MergingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
 
MergingMediaSource(CompositeSequenceableLoaderFactory, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
 
MergingMediaSource.IllegalMergeException - Exception in com.google.android.exoplayer2.source
Thrown when a MergingMediaSource cannot merge its sources.
MergingMediaSource.IllegalMergeException.Reason - Annotation Type in com.google.android.exoplayer2.source
The reason the merge failed.
Mesh(Projection.SubMesh...) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection.Mesh
 
message - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
Deprecated.
The message.
messageData - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The body of the message.
messageType - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
Deprecated.
The type of the message.
metadata - Variable in class com.google.android.exoplayer2.Format
Metadata, or null if unknown or not applicable.
Metadata - Class in com.google.android.exoplayer2.metadata
A collection of metadata entries.
Metadata(Metadata.Entry...) - Constructor for class com.google.android.exoplayer2.metadata.Metadata
 
Metadata(List<? extends Metadata.Entry>) - Constructor for class com.google.android.exoplayer2.metadata.Metadata
 
Metadata.Entry - Interface in com.google.android.exoplayer2.metadata
A metadata entry.
MetadataDecoder - Interface in com.google.android.exoplayer2.metadata
Decodes metadata from binary data.
MetadataDecoderFactory - Interface in com.google.android.exoplayer2.metadata
A factory for MetadataDecoder instances.
MetadataInputBuffer - Class in com.google.android.exoplayer2.metadata
MetadataInputBuffer() - Constructor for class com.google.android.exoplayer2.metadata.MetadataInputBuffer
 
MetadataOutput - Interface in com.google.android.exoplayer2.metadata
Receives metadata output.
MetadataRenderer - Class in com.google.android.exoplayer2.metadata
A renderer for metadata.
MetadataRenderer(MetadataOutput, Looper) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
 
MetadataRenderer(MetadataOutput, Looper, MetadataDecoderFactory) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
 
MetadataRenderer.Output - Interface in com.google.android.exoplayer2.metadata
Deprecated.
MICROS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of microseconds in one second.
millisecondsBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
millisecondsDeviations - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
mimeType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The sample mime type of the bitstream.
mimeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
mimeType - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
The mime type.
mimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The MIME type handled by the codec, or null if this is a passthrough codec.
mimeType - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
The mime type for which a decoder was being initialized.
mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
MimeTypes - Class in com.google.android.exoplayer2.util
Defines common MIME types and helper methods.
minBlockSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
minFrameSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
MINIMUM_PITCH - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
The minimum allowed pitch in SonicAudioProcessor.setPitch(float).
MINIMUM_SPEED - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
The minimum allowed playback speed in SonicAudioProcessor.setSpeed(float).
MlltFrame - Class in com.google.android.exoplayer2.metadata.id3
MPEG location lookup table frame.
MlltFrame(int, int, int, int[], int[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
mode - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
mode - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
The drawing mode.
MODE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Downloads an offline license or renews an existing one.
MODE_HLS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Enable single PMT mode, map TrackOutputs by their type (instead of PID) and ignore continuity counters.
MODE_MULTI_PMT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Behave as defined in ISO/IEC 13818-1.
MODE_PLAYBACK - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Loads and refreshes (if necessary) a license for playback.
MODE_QUERY - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Restores an offline license to allow its status to be queried.
MODE_RELEASE - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Releases an existing offline license.
MODE_SINGLE_PMT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Assume only one PMT will be contained in the stream, even if more are declared by the PAT.
MODEL - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.MODEL, but in a place where it can be conveniently overridden for local testing.
moveMediaSource(int, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Moves an existing MediaSource within the playlist.
moveMediaSource(int, int, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Moves an existing MediaSource within the playlist and executes a custom action on completion.
movieTimescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The movie timescale.
Mp3Extractor - Class in com.google.android.exoplayer2.extractor.mp3
Extracts data from the MP3 container format.
Mp3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
Mp3Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
Mp3Extractor(int, long) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
Mp3Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp3
Flags controlling the behavior of the extractor.
Mp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
Extracts data from the MP4 container format.
Mp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Creates a new extractor for unfragmented MP4 streams.
Mp4Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Creates a new extractor for unfragmented MP4 streams, using the specified flags to control the extractor's behavior.
Mp4Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp4
Flags controlling the behavior of the extractor.
Mp4WebvttDecoder - Class in com.google.android.exoplayer2.text.webvtt
A SimpleSubtitleDecoder for Webvtt embedded in a Mp4 container file.
Mp4WebvttDecoder() - Constructor for class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
 
MpegAudioHeader - Class in com.google.android.exoplayer2.extractor
An MPEG audio frame header.
MpegAudioHeader() - Constructor for class com.google.android.exoplayer2.extractor.MpegAudioHeader
 
MpegAudioReader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous MPEG Audio byte stream and extracts individual frames.
MpegAudioReader() - Constructor for class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
MpegAudioReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
mpegFramesBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
MSG_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom MSG_* constants that can be passed to Renderers.
MSG_SET_AUDIO_ATTRIBUTES - Static variable in class com.google.android.exoplayer2.C
A type of a message that can be passed to an audio Renderer via ExoPlayer#createMessage(Target).
MSG_SET_AUX_EFFECT_INFO - Static variable in class com.google.android.exoplayer2.C
A type of a message that can be passed to an audio Renderer via ExoPlayer#createMessage(Target).
MSG_SET_CAMERA_MOTION_LISTENER - Static variable in class com.google.android.exoplayer2.C
The type of a message that can be passed to a camera motion Renderer via ExoPlayer#createMessage(Target).
MSG_SET_SCALING_MODE - Static variable in class com.google.android.exoplayer2.C
The type of a message that can be passed to a MediaCodec-based video Renderer via ExoPlayer#createMessage(Target).
MSG_SET_SURFACE - Static variable in class com.google.android.exoplayer2.C
The type of a message that can be passed to a video Renderer via ExoPlayer#createMessage(Target).
MSG_SET_VIDEO_FRAME_METADATA_LISTENER - Static variable in class com.google.android.exoplayer2.C
The type of a message that can be passed to a video Renderer via ExoPlayer#createMessage(Target).
MSG_SET_VOLUME - Static variable in class com.google.android.exoplayer2.C
A type of a message that can be passed to an audio Renderer via ExoPlayer#createMessage(Target).
msToUs(long) - Static method in class com.google.android.exoplayer2.C
Converts a time in milliseconds to the corresponding time in microseconds, preserving C.TIME_UNSET values and C.TIME_END_OF_SOURCE values.

N

NAL_START_CODE - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Four initial bytes that must prefix NAL units for decoding.
nalUnitLengthFieldLength - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
For H264 video tracks, the length in bytes of the NALUnitLength field in each sample.
nalUnitLengthFieldLength - Variable in class com.google.android.exoplayer2.video.AvcConfig
 
nalUnitLengthFieldLength - Variable in class com.google.android.exoplayer2.video.HevcConfig
 
NalUnitUtil - Class in com.google.android.exoplayer2.util
Utility methods for handling H.264/AVC and H.265/HEVC NAL units.
NalUnitUtil.PpsData - Class in com.google.android.exoplayer2.util
Holds data parsed from a picture parameter set NAL unit.
NalUnitUtil.SpsData - Class in com.google.android.exoplayer2.util
Holds data parsed from a sequence parameter set NAL unit.
name - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The name of the decoder.
NANOS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of nanoseconds in one second.
NETWORK_TYPE_2G - Static variable in class com.google.android.exoplayer2.C
Network type for a 2G cellular connection.
NETWORK_TYPE_3G - Static variable in class com.google.android.exoplayer2.C
Network type for a 3G cellular connection.
NETWORK_TYPE_4G - Static variable in class com.google.android.exoplayer2.C
Network type for a 4G cellular connection.
NETWORK_TYPE_ANY - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
This job requires network connectivity.
NETWORK_TYPE_CELLULAR_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Network type for cellular connections which cannot be mapped to one of C.NETWORK_TYPE_2G, C.NETWORK_TYPE_3G, or C.NETWORK_TYPE_4G.
NETWORK_TYPE_ETHERNET - Static variable in class com.google.android.exoplayer2.C
Network type for an Ethernet connection.
NETWORK_TYPE_METERED - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
This job requires metered connectivity such as most cellular data networks.
NETWORK_TYPE_NONE - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
This job doesn't require network connectivity.
NETWORK_TYPE_NOT_ROAMING - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
This job requires network connectivity that is not roaming.
NETWORK_TYPE_OFFLINE - Static variable in class com.google.android.exoplayer2.C
No network connection.
NETWORK_TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
Network type for other connections which are not Wifi or cellular (e.g.
NETWORK_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Unknown network type.
NETWORK_TYPE_UNMETERED - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
This job requires network connectivity that is unmetered.
NETWORK_TYPE_WIFI - Static variable in class com.google.android.exoplayer2.C
Network type for a Wifi connection.
newFlagsOnlyInstance() - Static method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Creates a new instance for which DecoderInputBuffer.isFlagsOnly() will return true.
newFrameworkInstance(UUID, MediaDrmCallback, HashMap<String, String>, Handler, DefaultDrmSessionEventListener) - Static method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
newFrameworkInstance(UUID, MediaDrmCallback, HashMap<String, String>) - Static method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Instantiates a new instance.
newInstance(UUID) - Static method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Creates an instance for the specified scheme UUID.
newInstance(Renderer[], TrackSelector) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates an ExoPlayer instance.
newInstance(Renderer[], TrackSelector, LoadControl) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates an ExoPlayer instance.
newInstance(Renderer[], TrackSelector, LoadControl, Looper) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates an ExoPlayer instance.
newInstance(Renderer[], TrackSelector, LoadControl, BandwidthMeter, Looper) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates an ExoPlayer instance.
newInstance(String, String, MediaCodecInfo.CodecCapabilities) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Creates an instance.
newInstance(String, String, MediaCodecInfo.CodecCapabilities, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Creates an instance.
newInstanceV17(Context, boolean) - Static method in class com.google.android.exoplayer2.video.DummySurface
Returns a newly created dummy surface.
newlyCachedBytes - Variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil.CachingCounters
The number of newly cached bytes.
newPassthroughInstance(String) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Creates an instance representing an audio passthrough decoder.
newPlayReadyInstance(MediaDrmCallback, String, Handler, DefaultDrmSessionEventListener) - Static method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
newPlayReadyInstance(MediaDrmCallback, String) - Static method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Instantiates a new instance using the PlayReady scheme.
newSimpleInstance(Context, TrackSelector, LoadControl) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
newSimpleInstance(Context, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
newSimpleInstance(Context, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, int) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
newSimpleInstance(Context, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, int, long) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
newSimpleInstance(Context) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, TrackSelector) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(RenderersFactory, TrackSelector) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Deprecated.
newSimpleInstance(Context, RenderersFactory, TrackSelector) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, DrmSessionManager<FrameworkMediaCrypto>) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, BandwidthMeter) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, AnalyticsCollector.Factory) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, Looper) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, AnalyticsCollector.Factory, Looper) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSimpleInstance(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, BandwidthMeter, AnalyticsCollector.Factory, Looper) - Static method in class com.google.android.exoplayer2.ExoPlayerFactory
Creates a SimpleExoPlayer instance.
newSingleThreadExecutor(String) - Static method in class com.google.android.exoplayer2.util.Util
Instantiates a new single threaded executor whose thread has the specified name.
newWidevineInstance(MediaDrmCallback, HashMap<String, String>, Handler, DefaultDrmSessionEventListener) - Static method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
newWidevineInstance(MediaDrmCallback, HashMap<String, String>) - Static method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Instantiates a new instance using the Widevine scheme.
newWidevineInstance(String, HttpDataSource.Factory) - Static method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Instantiates a new instance which uses Widevine CDM.
newWidevineInstance(String, boolean, HttpDataSource.Factory) - Static method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Instantiates a new instance which uses Widevine CDM.
newWidevineInstance(String, boolean, HttpDataSource.Factory, HashMap<String, String>) - Static method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Instantiates a new instance which uses Widevine CDM.
next() - Method in class com.google.android.exoplayer2.BasePlayer
 
next() - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position of the next window in the timeline, which may depend on the current repeat mode and whether shuffle mode is enabled.
next() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
 
next() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Moves the iterator to the next media chunk.
NEXT_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the sync point immediately after a requested seek position.
NO_AUX_EFFECT_ID - Static variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
Value for AuxEffectInfo.effectId representing no auxiliary effect.
NO_FRAMES_PREDICATE - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
A predicate that indicates no frames should be decoded.
NO_TIMESTAMP_IN_RANGE_RESULT - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
 
NO_VALUE - Static variable in class com.google.android.exoplayer2.Format
A value for various fields to indicate that the field's value is unknown or not applicable.
NONE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Ad playback state with no ads.
NoOpCacheEvictor - Class in com.google.android.exoplayer2.upstream.cache
Evictor that doesn't ever evict cache files.
NoOpCacheEvictor() - Constructor for class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
normalizeLanguageCode(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a normalized RFC 639-2/T code for language.
NoSampleRenderer - Class in com.google.android.exoplayer2
A Renderer implementation whose track type is C.TRACK_TYPE_NONE and does not consume data from its SampleStream.
NoSampleRenderer() - Constructor for class com.google.android.exoplayer2.NoSampleRenderer
 
NOT_CACHED - Static variable in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
NotificationUtil - Class in com.google.android.exoplayer2.util
Utility methods for displaying Notifications.
NotificationUtil.Importance - Annotation Type in com.google.android.exoplayer2.util
Notification channel importance levels.
notifySeekStarted() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Notify analytics collector that a seek operation will start.
nullSafeArrayCopy(T[], int) - Static method in class com.google.android.exoplayer2.util.Util
Copies and optionally truncates an array.
numBytesOfClearData - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
numBytesOfEncryptedData - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
numSubSamples - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 

O

obtainMessage(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
obtainMessage(int, Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
obtainMessage(int, int, int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
obtainMessage(int, int, int, Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
OfflineLicenseHelper<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
Helper class to download, renew and release offline licenses.
OfflineLicenseHelper(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>) - Constructor for class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Constructs an instance.
offset - Variable in class com.google.android.exoplayer2.upstream.Allocation
The offset of the allocated space in Allocation.data.
OFFSET_SAMPLE_RELATIVE - Static variable in class com.google.android.exoplayer2.Format
A value for Format.subsampleOffsetUs to indicate that subsample timestamps are relative to the timestamps of their parent samples.
offsets - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The chunk byte offsets.
OggExtractor - Class in com.google.android.exoplayer2.extractor.ogg
Extracts data from the Ogg container format.
OggExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
onAdClicked() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when the user clicks through an ad (for example, following a 'learn more' link).
onAdClicked() - Method in interface com.google.android.exoplayer2.source.ads.AdsMediaSource.EventListener
Deprecated.
Called when the user clicks through an ad (for example, following a 'learn more' link).
onAdLoadError(AdsMediaSource.AdLoadException, DataSpec) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when there was an error loading ads.
onAdLoadError(IOException) - Method in interface com.google.android.exoplayer2.source.ads.AdsMediaSource.EventListener
Deprecated.
Called if there was an error loading one or more ads.
onAdPlaybackState(AdPlaybackState) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when the ad playback state has been updated.
onAdTapped() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when the user taps a non-clickthrough part of an ad.
onAdTapped() - Method in interface com.google.android.exoplayer2.source.ads.AdsMediaSource.EventListener
Deprecated.
Called when the user taps a non-clickthrough part of an ad.
onAudioAttributesChanged(AudioAttributes) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioAttributesChanged(AnalyticsListener.EventTime, AudioAttributes) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the audio attributes change.
onAudioAttributesChanged(AudioAttributes) - Method in interface com.google.android.exoplayer2.audio.AudioListener
Called when the audio attributes change.
onAudioCapabilitiesChanged(AudioCapabilities) - Method in interface com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver.Listener
Called when the audio capabilities change.
onAudioDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when a decoder is created.
onAudioDisabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the renderer is disabled.
onAudioEnabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the renderer is enabled.
onAudioInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the format of the media being consumed by the renderer changes.
onAudioSessionId(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioSessionId(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the audio session id is set.
onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioListener
Called when the audio session is set.
onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the audio session is set.
onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called if the audio sink has started rendering audio to a new platform audio session.
onAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Called when the audio session id becomes known.
onAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
Called when the audio session id becomes known.
onAudioSessionId(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioSinkUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioSinkUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when an AudioSink underrun occurs.
onAudioTrackPositionDiscontinuity() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onAudioTrackPositionDiscontinuity() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onAudioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onAudioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio underrun occurred.
onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the bandwidth estimate for the current data source has been updated.
onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onBandwidthSample(int, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onBandwidthSample(int, long, long) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener
Called periodically to indicate that bytes have been transferred.
onBind(Intent) - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called incrementally during a transfer.
onCachedBytesRead(long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
Called when bytes have been read from the cache.
onCacheIgnored(int) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
Called when the current request ignores cache.
onCacheInitialized() - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
Called when cache has been initialized.
onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onCameraMotion(long, float[]) - Method in interface com.google.android.exoplayer2.video.spherical.CameraMotionListener
Called when a new camera motion is read.
onCameraMotionReset() - Method in interface com.google.android.exoplayer2.video.spherical.CameraMotionListener
Called when the camera motion track position is reset or the track is disabled.
onChildSourceInfoRefreshed(MediaSource.MediaPeriodId, MediaSource, Timeline, Object) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
onChildSourceInfoRefreshed(Void, MediaSource, Timeline, Object) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
onChildSourceInfoRefreshed(T, MediaSource, Timeline, Object) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Called when the source info of a child source has been refreshed.
onChildSourceInfoRefreshed(ConcatenatingMediaSource.MediaSourceHolder, MediaSource, Timeline, Object) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
onChildSourceInfoRefreshed(Void, MediaSource, Timeline, Object) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
onChildSourceInfoRefreshed(Integer, MediaSource, Timeline, Object) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
onChunkLoadCompleted(Chunk) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Called when the ChunkSampleStream has finished loading a chunk obtained from this source.
onChunkLoadError(Chunk, boolean, Exception, long) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Called when the ChunkSampleStream encounters an error loading a chunk obtained from this source.
onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when a MediaCodec has been created and configured.
onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
onContinueLoadingRequested(T) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader.Callback
Called by the loader to indicate that it wishes for its SequenceableLoader.continueLoading(long) method to be called when it can continue to load data.
onCreate() - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onCues(List<Cue>) - Method in interface com.google.android.exoplayer2.text.TextOutput
Called when there is a change in the Cues.
onDecoderDisabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio or video decoder has been disabled.
onDecoderDisabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDecoderEnabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio or video decoder has been enabled.
onDecoderEnabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDecoderInitialized(AnalyticsListener.EventTime, int, String, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio or video decoder has been initialized.
onDecoderInitialized(AnalyticsListener.EventTime, int, String, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDecoderInputFormatChanged(AnalyticsListener.EventTime, int, Format) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio or video decoder input format changed.
onDecoderInputFormatChanged(AnalyticsListener.EventTime, int, Format) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDestroy() - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onDisabled() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is disabled.
onDisabled() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is disabled.
onDisabled() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the downstream format sent to the renderers changed.
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a downstream format change occurs (i.e.
onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmKeysLoaded() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmKeysLoaded(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time drm keys are loaded.
onDrmKeysLoaded() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
Called each time keys are loaded.
onDrmKeysLoaded(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmKeysRemoved() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmKeysRemoved(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time offline drm keys are removed.
onDrmKeysRemoved() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
Called each time offline keys are removed.
onDrmKeysRemoved(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmKeysRestored() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmKeysRestored(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time offline drm keys are restored.
onDrmKeysRestored() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
Called each time offline keys are restored.
onDrmKeysRestored(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmSessionAcquired() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmSessionAcquired(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time a drm session is acquired.
onDrmSessionAcquired() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
Called each time a drm session is acquired.
onDrmSessionAcquired(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmSessionManagerError(Exception) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a drm error occurs.
onDrmSessionManagerError(Exception) - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
Called when a drm error occurs.
onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmSessionReleased() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmSessionReleased(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time a drm session is released.
onDrmSessionReleased() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
Called each time a drm session is released.
onDrmSessionReleased(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDroppedFrames(int, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDroppedFrames(int, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called to report the number of frames dropped by the renderer.
onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called after video frames have been dropped.
onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onEnabled(boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is enabled.
onEnabled(boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onEnabled(boolean) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is enabled.
onEnabled(boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onEvent(ExoMediaDrm<? extends T>, byte[], int, int, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnEventListener
Called when an event occurs that requires the app to be notified
onFrameAvailable(SurfaceTexture) - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
onFrameAvailable() - Method in interface com.google.android.exoplayer2.util.EGLSurfaceTexture.TextureImageListener
Called when the SurfaceTexture receives a new frame from its image producer.
onIdle(DownloadManager) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when there is no active task left.
onInitialized(DownloadManager) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when all actions have been restored.
onInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when a new format is read from the upstream MediaPeriod.
onInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onInternalAdLoadError(RuntimeException) - Method in interface com.google.android.exoplayer2.source.ads.AdsMediaSource.EventListener
Deprecated.
Called when an unexpected internal error is encountered while loading ads.
onKeyStatusChange(ExoMediaDrm<? extends T>, byte[], List<ExoMediaDrm.KeyStatus>, boolean) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnKeyStatusChangeListener
Called when the keys in a session change status, such as when the license is renewed or expires.
onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadCanceled(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source canceled loading data.
onLoadCanceled(Chunk, long, long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load is canceled.
onLoadCanceled(T, long, long, boolean) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load has been canceled.
onLoadCanceled(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadCompleted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source completed loading data.
onLoadCompleted(Chunk, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load ends.
onLoadCompleted(T, long, long) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load has completed.
onLoadCompleted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoaderReleased() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoaderReleased() - Method in interface com.google.android.exoplayer2.upstream.Loader.ReleaseCallback
Called when the Loader has finished being released.
onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadError(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source loading error occurred.
onLoadError(Chunk, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onLoadError(IOException) - Method in interface com.google.android.exoplayer2.source.ExtractorMediaSource.EventListener
Deprecated.
Called when an error occurs loading media data.
onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load error occurs.
onLoadError(int, IOException) - Method in interface com.google.android.exoplayer2.source.SingleSampleMediaSource.EventListener
Deprecated.
Called when an error occurs loading media data.
onLoadError(T, long, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load encounters an error.
onLoadError(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadingChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the player starts or stops loading data from a source.
onLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the player starts or stops loading the source.
onLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadStarted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source started loading data.
onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load begins.
onLoadStarted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMediaPeriodCreated(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source created a media period.
onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a media period is created by the media source.
onMediaPeriodCreated(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMediaPeriodReleased(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source released a media period.
onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a media period is released by the media source.
onMediaPeriodReleased(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onMetadata(Metadata) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMetadata(AnalyticsListener.EventTime, Metadata) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when there is Metadata associated with the current playback time.
onMetadata(Metadata) - Method in interface com.google.android.exoplayer2.metadata.MetadataOutput
Called when there is metadata associated with current playback time.
onMetadata(AnalyticsListener.EventTime, Metadata) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when the output format of the MediaCodec changes.
onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onPlaybackParametersChanged(PlaybackParameters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the playback parameters changed.
onPlaybackParametersChanged(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the current playback parameters change.
onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
onPlaybackSpeed(float) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Called to notify the selection of the current playback speed.
onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlayerError(AnalyticsListener.EventTime, ExoPlaybackException) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a fatal player error occurred.
onPlayerError(ExoPlaybackException) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when an error occurs.
onPlayerError(AnalyticsListener.EventTime, ExoPlaybackException) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlayerStateChanged(AnalyticsListener.EventTime, boolean, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the player state changed.
onPlayerStateChanged(boolean, int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the value returned from either Player.getPlayWhenReady() or Player.getPlaybackState() changes.
onPlayerStateChanged(AnalyticsListener.EventTime, boolean, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPositionDiscontinuity(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPositionDiscontinuity(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a position discontinuity occurred.
onPositionDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the audio sink handles a buffer whose timestamp is discontinuous with the last buffer handled since it was reset.
onPositionDiscontinuity(int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when a position discontinuity occurs without a change to the timeline.
onPositionDiscontinuity(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the position is reset.
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the position is reset.
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
onPrepared() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onPrepared() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when prepared with a new source.
onPrepared(DownloadHelper) - Method in interface com.google.android.exoplayer2.offline.DownloadHelper.Callback
Called when preparation completes.
onPrepared(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
onPrepared(MediaPeriod) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
onPrepared(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaPeriod.Callback
Called when preparation completes.
onPrepareError(DownloadHelper, IOException) - Method in interface com.google.android.exoplayer2.offline.DownloadHelper.Callback
Called when preparation fails.
onPrepareError(MediaSource.MediaPeriodId, IOException) - Method in interface com.google.android.exoplayer2.source.DeferredMediaPeriod.PrepareErrorListener
Called the first time an error occurs while refreshing source info or preparing the period.
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when an output buffer is successfully processed.
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Called when an output buffer is successfully processed.
onProcessedTunneledBuffer(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Called when a buffer was processed in tunneling mode.
onProvisionCompleted() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
onProvisionError(Exception) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called immediately before an input buffer is queued into the codec.
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Called immediately before an input buffer is queued into the codec.
onReadingStarted(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onReadingStarted(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the player started reading a media period.
onReadingStarted(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onReadingStarted(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a media period is first being read from.
onReadingStarted(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onReleased() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onReleased() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when released.
onRenderedFirstFrame(Surface) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onRenderedFirstFrame() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onRenderedFirstFrame(AnalyticsListener.EventTime, Surface) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a frame is rendered for the first time since setting the surface, and when a frame is rendered for the first time since the renderer was reset.
onRenderedFirstFrame(AnalyticsListener.EventTime, Surface) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onRenderedFirstFrame() - Method in interface com.google.android.exoplayer2.video.VideoListener
Called when a frame is rendered for the first time since setting the surface, and when a frame is rendered for the first time since a video track was selected.
onRenderedFirstFrame(Surface) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a frame is rendered for the first time since setting the surface, and when a frame is rendered for the first time since the renderer was reset.
onRendererOffsetChanged(long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer's offset has been changed.
onRepeatModeChanged(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onRepeatModeChanged(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the repeat mode changed.
onRepeatModeChanged(int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the value of Player.getRepeatMode() changes.
onRepeatModeChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onSampleStreamReleased(ChunkSampleStream<T>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSampleStream.ReleaseCallback
Called when the ChunkSampleStream has finished being released.
onSeekOperationFinished(boolean, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
onSeekProcessed() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onSeekProcessed(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a seek operation was processed.
onSeekProcessed() - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when all pending seek requests have been processed by the player.
onSeekProcessed(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onSeekStarted(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a seek operation started.
onSeekStarted(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onSelectionActivated(Object) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
onSelectionActivated(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player when a TrackSelectorResult previously generated by TrackSelector.selectTracks(RendererCapabilities[], TrackGroupArray) is activated.
onShuffleModeChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the shuffle mode changed.
onShuffleModeChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onShuffleModeEnabledChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onShuffleModeEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the value of Player.getShuffleModeEnabled() changes.
onSourceInfoRefreshed(long, boolean) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
onSourceInfoRefreshed(MediaSource, Timeline, Object) - Method in interface com.google.android.exoplayer2.source.MediaSource.SourceInfoRefreshListener
Called when manifest and/or timeline has been refreshed.
onSpanAdded(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
Called when a CacheSpan is added to the cache.
onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onSpanRemoved(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
Called when a CacheSpan is removed from the cache.
onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
Called when an existing CacheSpan is accessed, causing it to be replaced.
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onStartCommand(Intent, int, int) - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onStarted() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is started.
onStarted() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is started.
onStarted() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onStartFile(Cache, String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
Called when a writer starts writing to the cache.
onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onStartJob(JobParameters) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
 
onStopJob(JobParameters) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
 
onStopped() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is stopped.
onStopped() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onStopped() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when stopped.
onStopped() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is stopped.
onStopped() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer's stream has changed.
onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
onSurfaceSizeChanged(int, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onSurfaceSizeChanged(AnalyticsListener.EventTime, int, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the output surface size changed.
onSurfaceSizeChanged(AnalyticsListener.EventTime, int, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onSurfaceSizeChanged(int, int) - Method in interface com.google.android.exoplayer2.video.VideoListener
Called each time there's a change in the size of the surface onto which the video is being rendered.
onTaskRemoved(Intent) - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onTaskStateChanged(DownloadManager, DownloadManager.TaskState) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when the state of a task changes.
onTaskStateChanged(DownloadManager.TaskState) - Method in class com.google.android.exoplayer2.offline.DownloadService
Called when the state of a task changes.
onTimelineChanged(Timeline, Object, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onTimelineChanged(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the timeline changed.
onTimelineChanged(Timeline, Object, int) - Method in class com.google.android.exoplayer2.Player.DefaultEventListener
Deprecated.
 
onTimelineChanged(Timeline, Object) - Method in class com.google.android.exoplayer2.Player.DefaultEventListener
onTimelineChanged(Timeline, Object, int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the timeline and/or manifest has been refreshed.
onTimelineChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the available or selected tracks for the renderers changed.
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the available or selected tracks change.
onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onTrackSelectionsInvalidated() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelector.InvalidationListener
Called by a TrackSelector to indicate that selections it has previously made are no longer valid.
onTracksSelected(Renderer[], TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onTracksSelected(Renderer[], TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when a track selection occurs.
onTransferEnd(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferEnd(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer ends.
onTransferInitializing(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferInitializing(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer is being initialized.
onTransferStart(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferStart(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer starts.
onUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the audio sink runs out of data.
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onUpstreamDiscarded(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when data is removed from the back of a media buffer, typically so that it can be re-buffered in a different format.
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
 
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when data is removed from the back of a media buffer, typically so that it can be re-buffered in a different format.
onUpstreamDiscarded(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onUpstreamFormatChanged(Format) - Method in interface com.google.android.exoplayer2.source.SampleQueue.UpstreamFormatChangedListener
Called on the loading thread when an upstream format change occurs.
onVideoDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a decoder is created.
onVideoDisabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the renderer is disabled.
onVideoEnabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the renderer is enabled.
onVideoFrameAboutToBeRendered(long, long, Format) - Method in interface com.google.android.exoplayer2.video.VideoFrameMetadataListener
Called when the video frame about to be rendered.
onVideoInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the format of the media being consumed by the renderer changes.
onVideoSizeChanged(int, int, int, float) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoSizeChanged(AnalyticsListener.EventTime, int, int, int, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called before a frame is rendered for the first time since setting the surface, and each time there's a change in the size or pixel aspect ratio of the video being rendered.
onVideoSizeChanged(AnalyticsListener.EventTime, int, int, int, float) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.exoplayer2.video.VideoListener
Called each time there's a change in the size of the video being rendered.
onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called before a frame is rendered for the first time since setting the surface, and each time there's a change in the size, rotation or pixel aspect ratio of the video being rendered.
onVolumeChanged(float) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVolumeChanged(AnalyticsListener.EventTime, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the volume changes.
onVolumeChanged(float) - Method in interface com.google.android.exoplayer2.audio.AudioListener
Called when the volume changes.
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSink
Opens the sink to consume the specified data.
open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSource
Opens the source to read the specified data.
open() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
Optional call to open the underlying DataSource.
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
open() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Opens the condition and releases all threads that are blocked.
openRead() - Method in class com.google.android.exoplayer2.util.AtomicFile
Open the atomic file for reading.
openSession() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
openSession() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If true, the splice event is an opportunity to exit from the network feed.
outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
If true, the splice event is an opportunity to exit from the network feed.
OutputBuffer - Class in com.google.android.exoplayer2.decoder
Output buffer decoded by a Decoder.
OutputBuffer() - Constructor for class com.google.android.exoplayer2.decoder.OutputBuffer
 
OutputFrameHolder(ByteBuffer) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.OutputFrameHolder
Constructs an instance, wrapping the given byte buffer.
overestimatedResult(long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
Returns a result to signal that the current position in the input stream overestimates the true position of the target frame, and the BinarySearchSeeker should modify its BinarySearchSeeker.SeekOperationParams's ceiling timestamp and byte position using the given values.
overridePreparePositionUs(long) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
Overrides the default prepare position at which to prepare the media period.
owner - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 

P

packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
packetFinished() - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Called when a packet ends.
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
packetStarted(long, boolean) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Called when a packet starts.
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
ParametersBuilder() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Creates a builder with default initial values.
parent - Variable in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
ParsableBitArray - Class in com.google.android.exoplayer2.util
Wraps a byte array, providing methods that allow it to be read as a bitstream.
ParsableBitArray() - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
Creates a new instance that initially has no backing data.
ParsableBitArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
Creates a new instance that wraps an existing array.
ParsableBitArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
Creates a new instance that wraps an existing array.
ParsableByteArray - Class in com.google.android.exoplayer2.util
Wraps a byte array, providing a set of methods for parsing data from it.
ParsableByteArray() - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance that initially has no backing data.
ParsableByteArray(int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance with limit bytes and sets the limit.
ParsableByteArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance wrapping data, and sets the limit to data.length.
ParsableByteArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance that wraps an existing array.
ParsableNalUnitBitArray - Class in com.google.android.exoplayer2.util
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
ParsableNalUnitBitArray(byte[], int, int) - Constructor for class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
 
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.offline.FilteringManifestParser
 
parse(Uri, InputStream) - Method in interface com.google.android.exoplayer2.upstream.ParsingLoadable.Parser
Parses an object from a response.
parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.AvcConfig
Parses AVC configuration data.
parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.HevcConfig
Parses HEVC configuration data.
parseAacAudioSpecificConfig(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Parses an AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
parseAacAudioSpecificConfig(ParsableBitArray, boolean) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Parses an AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
parseAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the AC-3 format given data containing the AC3SpecificBox according to ETSI TS 102 366 Annex F.
parseAc3SyncframeInfo(ParsableBitArray) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns (E-)AC-3 format information given data containing a syncframe.
parseAc3SyncframeSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the size in bytes of the given (E-)AC-3 syncframe.
parseCssColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
Parses a CSS color expression.
parseCue(ParsableByteArray, WebvttCue.Builder, List<WebvttCssStyle>) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
Parses the next valid WebVTT cue in a parsable array, including timestamps, settings and text.
parseDtsAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns the number of audio samples represented by the given DTS frame.
parseDtsAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Like DtsUtil.parseDtsAudioSampleCount(byte[]) but reads from a ByteBuffer.
parseDtsFormat(byte[], String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns the DTS format given data containing the DTS frame according to ETSI TS 102 114 subsections 5.3/5.4.
parseEAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the E-AC-3 format given data containing the EC3SpecificBox according to ETSI TS 102 366 Annex F.
parseEAc3SyncframeAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Reads the number of audio samples represented by the given E-AC-3 syncframe.
parsePercentage(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a percentage string.
parsePpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a PPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection 7.3.2.2.
ParserException - Exception in com.google.android.exoplayer2
Thrown when an error occurs parsing media data and metadata.
ParserException() - Constructor for exception com.google.android.exoplayer2.ParserException
 
ParserException(String) - Constructor for exception com.google.android.exoplayer2.ParserException
 
ParserException(Throwable) - Constructor for exception com.google.android.exoplayer2.ParserException
 
ParserException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.ParserException
 
parseSchemeSpecificData(byte[], UUID) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the scheme specific data from a PSSH atom.
parseSpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses an SPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection 7.3.2.1.1.
parseTimecodeUs(String) - Static method in class com.google.android.exoplayer2.text.ssa.SsaDecoder
Parses an SSA timecode string.
parseTimestampUs(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a WebVTT timestamp.
parseTrueHdSyncframeAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the number of audio samples represented by the given TrueHD syncframe, or 0 if the buffer is not the start of a syncframe.
parseTrueHdSyncframeAudioSampleCount(ByteBuffer, int) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Reads the number of audio samples represented by a TrueHD syncframe.
parseTtmlColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
Parses a TTML color expression.
parseUuid(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the UUID from a PSSH atom.
parseVersion(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the version from a PSSH atom.
parseXsDateTime(String) - Static method in class com.google.android.exoplayer2.util.Util
Parses an xs:dateTime attribute value, returning the parsed timestamp in milliseconds since the epoch.
parseXsDuration(String) - Static method in class com.google.android.exoplayer2.util.Util
Parses an xs:duration attribute value, returning the parsed duration in milliseconds.
ParsingLoadable<T> - Class in com.google.android.exoplayer2.upstream
A Loader.Loadable for objects that can be parsed from binary data using a ParsingLoadable.Parser.
ParsingLoadable(DataSource, Uri, int, ParsingLoadable.Parser<? extends T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
 
ParsingLoadable(DataSource, DataSpec, int, ParsingLoadable.Parser<? extends T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
 
ParsingLoadable.Parser<T> - Interface in com.google.android.exoplayer2.upstream
Parses an object from loaded data.
passthrough - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether this instance describes a passthrough codec.
pause() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Pauses playback.
pause() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
pcmEncoding - Variable in class com.google.android.exoplayer2.Format
The encoding for PCM audio streams.
peekChar() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Peeks at the next char.
peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
peekFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Peeks length bytes from the peek position, writing them into target at index offset.
peekFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Peeks length bytes from the peek position, writing them into target at index offset.
peekId3Data(ExtractorInput, Id3Decoder.FramePredicate) - Method in class com.google.android.exoplayer2.extractor.Id3Peeker
Peeks ID3 data from the input and parses the first ID3 tag.
peekSourceId() - Method in class com.google.android.exoplayer2.source.SampleQueue
Peeks the source id of the next sample to be read, or the current upstream source id if the queue is empty or if the read position is at the end of the queue.
peekUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Peeks at the next byte as an unsigned value.
PERCENTAGE_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown percentage.
Period() - Constructor for class com.google.android.exoplayer2.Timeline.Period
 
periodIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
The period index.
periodIndex - Variable in class com.google.android.exoplayer2.offline.TrackKey
The period index.
periodUid - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
The unique id of the timeline period.
perSampleIvSize - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
The initialization vector size in bytes for the samples in the corresponding sample group.
PesReader - Class in com.google.android.exoplayer2.extractor.ts
Parses PES packet data and extracts samples.
PesReader(ElementaryStreamReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.PesReader
 
PgsDecoder - Class in com.google.android.exoplayer2.text.pgs
A SimpleSubtitleDecoder for PGS subtitles.
PgsDecoder() - Constructor for class com.google.android.exoplayer2.text.pgs.PgsDecoder
 
picOrderCntLsbLength - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
picOrderCountType - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
picParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
pictureData - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
pictureType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
pitch - Variable in class com.google.android.exoplayer2.PlaybackParameters
The factor by which the audio pitch will be scaled.
pixelWidthAspectRatio - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
pixelWidthAspectRatio - Variable in class com.google.android.exoplayer2.video.AvcConfig
 
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.Format
The width to height ratio of pixels in the video, or 1.0 if unknown or not applicable.
PlatformScheduler - Class in com.google.android.exoplayer2.scheduler
A Scheduler that uses JobScheduler.
PlatformScheduler(Context, int) - Constructor for class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
PlatformScheduler.PlatformSchedulerService - Class in com.google.android.exoplayer2.scheduler
A JobService that starts the target service if the requirements are met.
PlatformSchedulerService() - Constructor for class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
 
play() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Starts or resumes consuming audio if initialized.
play() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
PlaybackParameters - Class in com.google.android.exoplayer2
The parameters that apply to playback.
PlaybackParameters(float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
Creates new playback parameters that set the playback speed.
PlaybackParameters(float, float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
Creates new playback parameters that set the playback speed and audio pitch scaling factor.
PlaybackParameters(float, float, boolean) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
Creates new playback parameters that set the playback speed, audio pitch scaling factor and whether to skip silence in the audio stream.
playbackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
Equivalent to TimeSignalCommand.ptsTime but in the playback timebase.
PlaybackPreparer - Interface in com.google.android.exoplayer2
Called to prepare a playback.
Player - Interface in com.google.android.exoplayer2
A media player interface defining traditional high-level functionality, such as the ability to play, pause, seek and query properties of the currently playing media.
Player.AudioComponent - Interface in com.google.android.exoplayer2
The audio component of a Player.
Player.DefaultEventListener - Class in com.google.android.exoplayer2
Deprecated.
Use Player.EventListener interface directly for selective overrides as all methods are implemented as no-op default methods.
Player.DiscontinuityReason - Annotation Type in com.google.android.exoplayer2
Reasons for position discontinuities.
Player.EventListener - Interface in com.google.android.exoplayer2
Listener of changes in player state.
Player.RepeatMode - Annotation Type in com.google.android.exoplayer2
Repeat modes for playback.
Player.TextComponent - Interface in com.google.android.exoplayer2
The text component of a Player.
Player.TimelineChangeReason - Annotation Type in com.google.android.exoplayer2
Reasons for timeline and/or manifest changes.
Player.VideoComponent - Interface in com.google.android.exoplayer2
The video component of a Player.
PLAYER_COMMAND_DO_NOT_PLAY - Static variable in class com.google.android.exoplayer2.audio.AudioFocusManager
Do not play.
PLAYER_COMMAND_PLAY_WHEN_READY - Static variable in class com.google.android.exoplayer2.audio.AudioFocusManager
Play freely.
PLAYER_COMMAND_WAIT_FOR_CALLBACK - Static variable in class com.google.android.exoplayer2.audio.AudioFocusManager
Do not play now.
PlayerMessage - Class in com.google.android.exoplayer2
Defines a player message which can be sent with a PlayerMessage.Sender and received by a PlayerMessage.Target.
PlayerMessage(PlayerMessage.Sender, PlayerMessage.Target, Timeline, int, Handler) - Constructor for class com.google.android.exoplayer2.PlayerMessage
Creates a new message.
PlayerMessage.Sender - Interface in com.google.android.exoplayer2
A sender for messages.
PlayerMessage.Target - Interface in com.google.android.exoplayer2
A target for messages.
PLAYREADY_CUSTOM_DATA_KEY - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
The key to use when passing CustomData to a PlayReady instance in an optional parameter map.
PLAYREADY_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the PlayReady DRM scheme.
playToEndOfStream() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Processes any remaining data.
playToEndOfStream() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
poll(long) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Returns the value with the closest timestamp to the given timestamp.
pollFloor(long) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Returns the value with the greatest timestamp which is less than or equal to the given timestamp.
pollRotationMatrix(float[], long) - Method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
Copies the rotation matrix with the greatest timestamp which is less than or equal to the given timestamp to matrix.
populateHeader(int, MpegAudioHeader) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Parses headerData, populating header with the parsed data.
position - Variable in class com.google.android.exoplayer2.extractor.PositionHolder
The held position.
position - Variable in class com.google.android.exoplayer2.extractor.SeekPoint
The byte offset of the seek point.
position - Variable in class com.google.android.exoplayer2.text.Cue
The fractional position of the Cue.positionAnchor of the cue box within the viewport in the direction orthogonal to Cue.line, or Cue.DIMEN_UNSET.
position - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The position of the CacheSpan in the original stream.
position - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The position of the data when read from DataSpec.uri.
POSITION_COORDS_PER_VERTEX - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
Number of texture coordinates per vertex.
POSITION_OUT_OF_RANGE - Static variable in exception com.google.android.exoplayer2.upstream.DataSourceException
 
POSITION_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown position.
positionAnchor - Variable in class com.google.android.exoplayer2.text.Cue
The cue box anchor positioned by Cue.position.
PositionHolder - Class in com.google.android.exoplayer2.extractor
Holds a position in the stream.
PositionHolder() - Constructor for class com.google.android.exoplayer2.extractor.PositionHolder
 
positionInFirstPeriodUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The position of the start of this window relative to the start of the first period belonging to it, in microseconds.
positionMs - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The seek position in the specified window.
post(Runnable) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
postBody - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
Use DataSpec.httpBody instead.
postDelayed(Runnable, long) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
PpsData(int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
Predicate<T> - Interface in com.google.android.exoplayer2.util
Determines a true or false value for a given input.
preferredAudioLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
The preferred language for audio and forced text tracks, as an ISO 639-2/T tag.
preferredTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
The preferred language for text tracks as an ISO 639-2/T tag.
prepare(MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
Prepares the player to play the provided MediaSource.
prepare(MediaSource, boolean, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Prepares the player to play the provided MediaSource, optionally resetting the playback position the default position in the first Timeline.Window.
prepare(DownloadHelper.Callback) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Initializes the helper for starting a download.
prepare(MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
prepare(MediaSource, boolean, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Prepares this media period asynchronously.
prepareChildSource(T, MediaSource) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Prepares a child source.
prepareInternal() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Called on a background thread during preparation.
prepareInternal() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
preparePlayback() - Method in interface com.google.android.exoplayer2.PlaybackPreparer
Called to prepare a playback.
prepareSource(ExoPlayer, boolean, MediaSource.SourceInfoRefreshListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.SourceInfoRefreshListener, TransferListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.SourceInfoRefreshListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Deprecated.
Will be removed in the next release.
prepareSource(ExoPlayer, boolean, MediaSource.SourceInfoRefreshListener, TransferListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Starts source preparation if not yet started, and adds a listener for timeline and/or manifest updates.
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Starts source preparation.
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
presentationStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The start time of the presentation to which this window belongs in milliseconds since the epoch, or C.TIME_UNSET if unknown or not applicable.
presentationTimeUs - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The presentation time value of this event message in microseconds.
previous() - Method in class com.google.android.exoplayer2.BasePlayer
 
previous() - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position of the previous window in the timeline, which may depend on the current repeat mode and whether shuffle mode is enabled.
PREVIOUS_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the sync point immediately before a requested seek position.
primaryTrackType - Variable in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
PRIORITY_DOWNLOAD - Static variable in class com.google.android.exoplayer2.C
Priority for media downloading.
PRIORITY_PLAYBACK - Static variable in class com.google.android.exoplayer2.C
Priority for media playback.
PriorityDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource that can be used as part of a task registered with a PriorityTaskManager.
PriorityDataSource(DataSource, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSource
 
PriorityDataSourceFactory - Class in com.google.android.exoplayer2.upstream
A DataSource.Factory that produces PriorityDataSource instances.
PriorityDataSourceFactory(DataSource.Factory, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
 
PriorityTaskManager - Class in com.google.android.exoplayer2.util
Allows tasks with associated priorities to control how they proceed relative to one another.
PriorityTaskManager() - Constructor for class com.google.android.exoplayer2.util.PriorityTaskManager
 
PriorityTaskManager.PriorityTooLowException - Exception in com.google.android.exoplayer2.util
Thrown when task attempts to proceed when another registered task has a higher priority.
PriorityTooLowException(int, int) - Constructor for exception com.google.android.exoplayer2.util.PriorityTaskManager.PriorityTooLowException
 
PRIVATE_STREAM_1 - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
PrivateCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a private command as defined in SCTE35, Section 9.3.6.
privateData - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
PrivFrame - Class in com.google.android.exoplayer2.metadata.id3
PRIV (Private) ID3 frame.
PrivFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
proceed(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Blocks until the task is allowed to proceed.
proceedNonBlocking(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
A non-blocking variant of PriorityTaskManager.proceed(int).
proceedOrThrow(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
A throwing variant of PriorityTaskManager.proceed(int).
processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Processes an output media buffer.
processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
profileIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
programSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Equivalent to SpliceInsertCommand.programSplicePts but in the playback timebase.
programSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If SpliceInsertCommand.programSpliceFlag is true, the PTS at which the program splice should occur.
ProgressiveDownloadAction - Class in com.google.android.exoplayer2.offline
An action to download or remove downloaded progressive streams.
ProgressiveDownloadAction(Uri, boolean, byte[], String) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
ProgressiveDownloader - Class in com.google.android.exoplayer2.offline
A downloader for progressive media streams.
ProgressiveDownloader(Uri, String, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
ProgressiveDownloadHelper - Class in com.google.android.exoplayer2.offline
A DownloadHelper for progressive streams.
ProgressiveDownloadHelper(Uri) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
ProgressiveDownloadHelper(Uri, String) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloadHelper
 
Projection - Class in com.google.android.exoplayer2.video.spherical
The projection mesh used with 360/VR videos.
Projection(Projection.Mesh, int) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection
Creates a Projection with single mesh.
Projection(Projection.Mesh, Projection.Mesh, int) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection
Creates a Projection with dual mesh.
Projection.DrawMode - Annotation Type in com.google.android.exoplayer2.video.spherical
Enforces allowed (sub) mesh draw modes.
Projection.Mesh - Class in com.google.android.exoplayer2.video.spherical
A Mesh associated with the projection scene.
Projection.SubMesh - Class in com.google.android.exoplayer2.video.spherical
The sub mesh associated with the Projection.Mesh.
projectionData - Variable in class com.google.android.exoplayer2.Format
The projection data for 360/VR video, or null if not applicable.
ProjectionDecoder - Class in com.google.android.exoplayer2.video.spherical
A decoder for the projection mesh.
PROPERTY_LICENSE_DURATION_REMAINING - Static variable in class com.google.android.exoplayer2.drm.WidevineUtil
Widevine specific key status field name for the remaining license duration, in seconds.
PROPERTY_PLAYBACK_DURATION_REMAINING - Static variable in class com.google.android.exoplayer2.drm.WidevineUtil
Widevine specific key status field name for the remaining playback duration, in seconds.
provideKeyResponse(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
provideProvisionResponse(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
ProvisionRequest(byte[], String) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
 
provisionRequired(DefaultDrmSession<T>) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
PsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from the MPEG-2 PS container format.
PsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
PsExtractor(TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
PsshAtomUtil - Class in com.google.android.exoplayer2.extractor.mp4
Utility methods for handling PSSH atoms.
ptsAdjustment - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The pts_adjustment as defined in SCTE35, Section 9.2.
ptsTime - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
A PTS value, as defined in SCTE35, Section 9.3.4.
ptsToUs(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
Converts a 90 kHz clock timestamp to a timestamp in microseconds.
putInt(int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Overwrites numBits from this array using the numBits least significant bits from value.

Q

queryKeyStatus() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns a map describing the key status for the session, or null if called before the session has been opened or after it's been released.
queryKeyStatus() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
queryKeyStatus(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
queryKeyStatus(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
queueEndOfStream() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Queues an end of stream signal.
queueEndOfStream() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
queueEndOfStream() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
queueEndOfStream() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
queueInput(ByteBuffer) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Queues audio data between the position and limit of the input buffer for processing.
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
queueInputBuffer(I) - Method in interface com.google.android.exoplayer2.decoder.Decoder
Queues an input buffer to the decoder.
queueInputBuffer(I) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 

R

RandomTrackSelection - Class in com.google.android.exoplayer2.trackselection
A TrackSelection whose selected track is updated randomly.
RandomTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
RandomTrackSelection(TrackGroup, int[], long) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
RandomTrackSelection(TrackGroup, int[], Random) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
RandomTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
Factory for RandomTrackSelection instances.
RAW_RESOURCE_SCHEME - Static variable in class com.google.android.exoplayer2.upstream.RawResourceDataSource
The scheme part of a raw resource URI.
RawCcExtractor - Class in com.google.android.exoplayer2.extractor.rawcc
Extracts data from the RawCC container format.
RawCcExtractor(Format) - Constructor for class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
RawResourceDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading a raw resource inside the APK.
RawResourceDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
RawResourceDataSource(Context, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.RawResourceDataSource
RawResourceDataSource.RawResourceDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an IOException is encountered reading from a raw resource.
RawResourceDataSourceException(String) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
 
RawResourceDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
read(ExtractorInput, PositionHolder) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Extracts data read from a provided ExtractorInput.
read(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Reads up to length bytes from the input and resets the peek position.
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
read(FormatHolder, DecoderInputBuffer, boolean, boolean, long) - Method in class com.google.android.exoplayer2.source.SampleQueue
Attempts to read from the queue.
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.DataSource
Reads up to length bytes of data and stores them into buffer, starting at index offset.
read() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
read(byte[]) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
readBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads a single bit.
readBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads a single bit.
readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads up to 32 bits.
readBits(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads numBits bits into buffer.
readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads up to 32 bits.
readBoolean(Parcel) - Static method in class com.google.android.exoplayer2.util.Util
Reads an integer from a Parcel and interprets it as a boolean, with 0 mapping to false and all other values mapping to true.
readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads the next length bytes into buffer.
readBytes(ParsableBitArray, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes into bitArray, and resets the position of bitArray to zero.
readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes into buffer at offset.
readBytes(ByteBuffer, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes into buffer.
readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
readData(FormatHolder, DecoderInputBuffer, boolean) - Method in interface com.google.android.exoplayer2.source.SampleStream
Attempts to read from the stream.
readDiscontinuity() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
readDiscontinuity() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
readDiscontinuity() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to read a discontinuity.
readDouble() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as a 64-bit floating point value.
readFloat() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a 32-bit floating point value.
readFromStream(int, DataInputStream) - Method in class com.google.android.exoplayer2.offline.DownloadAction.Deserializer
Deserializes an action from the input.
readFromStream(int, DataInputStream) - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction.SegmentDownloadActionDeserializer
 
readFromStream(DataInputStream) - Static method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Deserializes a DefaultContentMetadata from the given input stream.
readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
readFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.read(byte[], int, int), but reads the requested length in full.
readFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Equivalent to readFully(target, offset, length, false).
readingStarted() - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onReadingStarted(int, MediaPeriodId).
readInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a signed value
readInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as a signed value.
readKey(int, DataInputStream) - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction.SegmentDownloadActionDeserializer
Deserializes a key from the input.
readLine() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads a line of text.
readLittleEndianInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a signed value in little endian order.
readLittleEndianInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as a signed value in little endian order.
readLittleEndianLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as a signed value in little endian order.
readLittleEndianShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as a signed value.
readLittleEndianUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as an unsigned value in little endian order.
readLittleEndianUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as an unsigned value in little endian order.
readLittleEndianUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a little endian unsigned integer into an integer, if the top bit is a zero.
readLittleEndianUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as an unsigned value.
readLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as a signed value.
readNullTerminatedString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes as UTF-8 characters.
readNullTerminatedString() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads up to the next NUL byte (or the limit) as UTF-8 characters.
readPcrFromPacket(ParsableByteArray, int, int) - Static method in class com.google.android.exoplayer2.extractor.ts.TsUtil
Returns the PCR value read from a given TS packet.
readShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as a signed value.
readSignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads an signed Exp-Golomb-coded format integer.
readSource(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
Reads from the enabled upstream source.
readString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes as UTF-8 characters.
readString(int, Charset) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes as characters in the specified Charset.
readSynchSafeInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads a Synchsafe integer.
readUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next byte as an unsigned value.
readUnsignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads an unsigned Exp-Golomb-coded format integer.
readUnsignedFixedPoint1616() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes, returning the integer portion of the fixed point 16.16 integer.
readUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as an unsigned value.
readUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as an unsigned value.
readUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as an unsigned integer into an integer, if the top bit is a zero.
readUnsignedLongToLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as an unsigned long into a long, if the top bit is a zero.
readUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as an unsigned value.
readUtf8EncodedLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads a long value encoded by UTF-8 encoding
realtimeMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Elapsed real-time as returned by SystemClock.elapsedRealtime() at the time of the event, in milliseconds.
reason - Variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
reason - Variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The reason clipping failed.
reason - Variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
The reason the merge failed.
reason - Variable in exception com.google.android.exoplayer2.upstream.DataSourceException
The reason of this DataSourceException.
REASON_INSTANTIATION_ERROR - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
There device advertises support for the requested DRM scheme, but there was an error instantiating it.
REASON_INVALID_PERIOD_COUNT - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The wrapped source doesn't consist of a single period.
REASON_NOT_SEEKABLE_TO_START - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The wrapped source is not seekable and a non-zero clipping start position was specified.
REASON_PERIOD_COUNT_MISMATCH - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
The sources have different period counts.
REASON_START_EXCEEDS_END - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The wrapped source ends before the specified clipping start position.
REASON_UNSUPPORTED_SCHEME - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
The requested DRM scheme is unsupported by the device.
recursiveDelete(File) - Static method in class com.google.android.exoplayer2.util.Util
Recursively deletes a directory and its content.
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
reevaluateBuffer(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Re-evaluates the buffer given the playback position.
reevaluateBuffer(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Re-evaluates the buffer given the playback position.
refreshSourceInfo(Timeline, Object) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Updates timeline and manifest and notifies all listeners of the update.
register() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
Registers the receiver, meaning it will notify the listener when audio capability changes occur.
registerCustomMimeType(String, String, int) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Registers a custom MIME type.
registeredModules() - Static method in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Returns a string consisting of registered module names separated by ", ".
registerModule(String) - Static method in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Registers a module to be returned in the ExoPlayerLibraryInfo.registeredModules() string.
REJECT_PAYWALL_TYPES - Static variable in interface com.google.android.exoplayer2.upstream.HttpDataSource
A Predicate that rejects content types often used for pay-walls.
release() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Releases any resources associated with this instance.
release() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
release() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Releases the decoder.
release() - Method in class com.google.android.exoplayer2.decoder.OutputBuffer
Releases the output buffer for reuse.
release() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
release() - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
 
release() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
release() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
release() - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Releases the helper.
release() - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
release() - Method in interface com.google.android.exoplayer2.extractor.Extractor
Releases all kept resources.
release() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
release() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Stops all of the tasks and releases resources.
release() - Method in interface com.google.android.exoplayer2.Player
Releases the player.
release() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
release() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Releases the loader.
release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Releases the stream.
release(ChunkSampleStream.ReleaseCallback<T>) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Releases the stream.
release() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
release() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
release(Allocation) - Method in interface com.google.android.exoplayer2.upstream.Allocator
Releases an Allocation back to the allocator.
release(Allocation[]) - Method in interface com.google.android.exoplayer2.upstream.Allocator
Releases an array of Allocations back to the allocator.
release() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Releases the cache.
release() - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
release() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
release(Allocation) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
release(Allocation[]) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
release() - Method in class com.google.android.exoplayer2.upstream.Loader
Releases the Loader.
release(Loader.ReleaseCallback) - Method in class com.google.android.exoplayer2.upstream.Loader
Releases the Loader.
release() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Releases all allocated resources.
release() - Method in class com.google.android.exoplayer2.video.DummySurface
 
releaseChildSource(T) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Releases a child source.
releaseCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
releaseCodec() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
releaseHoleSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Releases a CacheSpan obtained from Cache.startReadWrite(String, long) which corresponded to a hole in the cache.
releaseHoleSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
releaseLicense(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Releases an offline license.
releaseOutputBuffer(O) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Releases an output buffer back to the decoder.
releaseOutputBuffer(SubtitleOutputBuffer) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
releasePeriod() - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
Releases the period.
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
releasePeriod(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaSource
Releases the period.
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
releaseSession(DrmSession<T>) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
releaseSession(DrmSession<T>) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Releases a DrmSession.
releaseSource(MediaSource.SourceInfoRefreshListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
releaseSource(MediaSource.SourceInfoRefreshListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Removes a listener for timeline and/or manifest updates and releases the source if no longer required.
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Releases the source.
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
remove() - Method in interface com.google.android.exoplayer2.offline.Downloader
Removes the media.
remove() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
remove() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
remove(Cache, String) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Removes all of the data in the cache pointed by the key.
remove(String) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to remove a metadata value.
remove(String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Removes a request property by name.
remove(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Unregister a task.
removeAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Removes an AnalyticsListener.
removeAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
removeAudioListener(AudioListener) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Removes a listener of audio events.
removeAudioListener(AudioListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
removeCallbacksAndMessages(Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
removeEventListener(MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
removeEventListener(MediaSourceEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Removes a MediaSourceEventListener from the list of listeners which are notified of media source events.
removeEventListener(MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Removes a listener from the event dispatcher.
removeEventListener(BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
removeEventListener(BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
removeListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Removes a previously added analytics event listener.
removeListener(DefaultDrmSessionEventListener) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Removes a DefaultDrmSessionEventListener from the list of drm session event listeners.
removeListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
removeListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
Unregister a listener.
removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
removeListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Unregisters a listener.
removeListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
removeListener(T) - Method in class com.google.android.exoplayer2.util.EventDispatcher
Removes a listener from the event dispatcher.
removeMediaSource(int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a MediaSource from the playlist.
removeMediaSource(int, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a MediaSource from the playlist and executes a custom action on completion.
removeMediaSourceRange(int, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a range of MediaSources from the playlist, by specifying an initial index (included) and a final index (excluded).
removeMediaSourceRange(int, int, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a range of MediaSources from the playlist, by specifying an initial index (included) and a final index (excluded), and executes a custom action on completion.
removeMessages(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
removeMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Removes a MetadataOutput.
removeQueryParameter(Uri, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Removes query parameter from an Uri, if present.
removeRange(List<T>, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Removes an indexed range from a List.
removeSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Removes a cached CacheSpan from the cache, deleting the underlying file.
removeSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
removeTextOutput(TextOutput) - Method in interface com.google.android.exoplayer2.Player.TextComponent
Removes a text output.
removeTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
removeVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
removeVideoListener(VideoListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Removes a listener of video events.
removeVideoListener(VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
render(long, long) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
render(long, long) - Method in interface com.google.android.exoplayer2.Renderer
Incrementally renders the SampleStream.
render(long, long) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
renderedFirstFrame(Surface) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
renderedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of rendered output buffers.
Renderer - Interface in com.google.android.exoplayer2
Renders media read from a SampleStream.
Renderer.State - Annotation Type in com.google.android.exoplayer2
The renderer states.
RENDERER_SUPPORT_EXCEEDS_CAPABILITIES_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has tracks mapped to it and at least one is of a supported type, but all such tracks exceed the renderer's capabilities.
RENDERER_SUPPORT_NO_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer does not have any associated tracks.
RENDERER_SUPPORT_PLAYABLE_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has tracks mapped to it, and at least one such track is playable.
RENDERER_SUPPORT_UNSUPPORTED_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has tracks mapped to it, but all are unsupported.
RendererCapabilities - Interface in com.google.android.exoplayer2
Defines the capabilities of a Renderer.
RendererConfiguration - Class in com.google.android.exoplayer2
The configuration of a Renderer.
RendererConfiguration(int) - Constructor for class com.google.android.exoplayer2.RendererConfiguration
 
rendererConfigurations - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
A RendererConfiguration for each renderer.
rendererIndex - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
If ExoPlaybackException.type is ExoPlaybackException.TYPE_RENDERER, this is the index of the renderer.
renderers - Variable in class com.google.android.exoplayer2.SimpleExoPlayer
 
RenderersFactory - Interface in com.google.android.exoplayer2
Builds Renderer instances for use by a SimpleExoPlayer.
renderOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Renders the output buffer with the specified index.
renderOutputBufferV21(MediaCodec, int, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Renders the output buffer with the specified index.
renderToEndOfStream() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
renderToEndOfStream() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Incrementally renders any remaining output.
renewLicense(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Renews an offline license.
REPEAT_MODE_ALL - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
REPEAT_MODE_ALL - Static variable in interface com.google.android.exoplayer2.Player
"Repeat All" mode to repeat the entire timeline infinitely.
REPEAT_MODE_OFF - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
REPEAT_MODE_OFF - Static variable in interface com.google.android.exoplayer2.Player
Normal playback without repetition.
REPEAT_MODE_ONE - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
REPEAT_MODE_ONE - Static variable in interface com.google.android.exoplayer2.Player
"Repeat One" mode to repeat the currently playing window infinitely.
REPEAT_TOGGLE_MODE_ALL - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
"Repeat All" button enabled.
REPEAT_TOGGLE_MODE_NONE - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
All repeat mode buttons disabled.
REPEAT_TOGGLE_MODE_ONE - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
"Repeat One" button enabled.
RepeatModeUtil - Class in com.google.android.exoplayer2.util
Util class for repeat mode handling.
RepeatModeUtil.RepeatToggleModes - Annotation Type in com.google.android.exoplayer2.util
Set of repeat toggle modes.
replaceStream(Format[], SampleStream, long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
replaceStream(Format[], SampleStream, long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Replaces the SampleStream that will be associated with this renderer.
replaceStream(Format[], SampleStream, long) - Method in interface com.google.android.exoplayer2.Renderer
Replaces the SampleStream from which samples will be consumed.
RequestProperties() - Constructor for class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
 
Requirements - Class in com.google.android.exoplayer2.scheduler
Defines a set of device state requirements.
Requirements(int, boolean, boolean) - Constructor for class com.google.android.exoplayer2.scheduler.Requirements
 
Requirements(int) - Constructor for class com.google.android.exoplayer2.scheduler.Requirements
 
Requirements.NetworkType - Annotation Type in com.google.android.exoplayer2.scheduler
Network types.
requirementsMet(RequirementsWatcher) - Method in interface com.google.android.exoplayer2.scheduler.RequirementsWatcher.Listener
Called when the requirements are met.
requirementsNotMet(RequirementsWatcher) - Method in interface com.google.android.exoplayer2.scheduler.RequirementsWatcher.Listener
Called when the requirements are not met.
RequirementsWatcher - Class in com.google.android.exoplayer2.scheduler
Watches whether the Requirements are met and notifies the RequirementsWatcher.Listener on changes.
RequirementsWatcher(Context, RequirementsWatcher.Listener, Requirements) - Constructor for class com.google.android.exoplayer2.scheduler.RequirementsWatcher
 
RequirementsWatcher.Listener - Interface in com.google.android.exoplayer2.scheduler
Notified when RequirementsWatcher instance first created and on changes whether the Requirements are met.
requiresSecureDecoderComponent(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaCrypto
 
requiresSecureDecoderComponent(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
 
requiresSecureDecryption - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Whether secure decryption is required.
reset() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Resets the processor to its unconfigured state.
reset() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Resets the sink, after which it is ready to receive buffers from a new playback position.
reset() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
reset() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.source.SampleQueue
Resets the output without clearing the upstream format.
reset(boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Resets the output.
reset() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
reset() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
reset() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
reset(byte[]) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Updates the instance to wrap data, and resets the position to zero.
reset(ParsableByteArray) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Sets this instance's data, position and limit to match the provided parsableByteArray.
reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Updates the instance to wrap data, and resets the position to zero.
reset(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Resets the position to zero and the limit to the specified value.
reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Updates the instance to wrap data, and resets the position to zero.
reset() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Sets the position and limit to zero.
reset(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Resets the wrapped data, limit and offset.
reset(OutputStream) - Method in class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
Resets this stream and uses the given output stream for writing.
reset() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Resets the instance to its initial state.
reset() - Method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
Removes all of the rotations and forces rotations to be recentered.
resetBytesRead() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Resets the number of bytes read as returned from StatsDataSource.getBytesRead() to zero.
resetForNewMediaSource() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Resets the analytics collector for a new media source.
resetPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
resetPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Resets the peek position to equal the current read position.
resetPosition(long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
resetPosition(long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
resetPosition(long) - Method in interface com.google.android.exoplayer2.Renderer
Signals to the renderer that a position discontinuity has occurred.
resetPosition(long) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Resets the clock's position.
resolve(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Performs relative resolution of a referenceUri with respect to a baseUri.
resolveSeekPositionUs(long, SeekParameters, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Resolves a seek given the requested seek position, a SeekParameters and two candidate sync points.
resolveToUri(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Like UriUtil.resolve(String, String), but returns a Uri instead of a String.
responseCode - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
The response code that was outside of the 2xx range.
responseHeaders - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
The response headers associated with the load, or an empty map if unavailable.
responseMessage - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
The http status message.
restoreKeys(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
RESULT_BUFFER_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where a buffer was read.
RESULT_CONTINUE - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
Returned by Extractor.read(ExtractorInput, PositionHolder) if the ExtractorInput passed to the next Extractor.read(ExtractorInput, PositionHolder) is required to provide data continuing from the position in the stream reached by the returning call.
RESULT_END_OF_INPUT - Static variable in class com.google.android.exoplayer2.C
A return value for methods where the end of an input was encountered.
RESULT_END_OF_INPUT - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
Returned by Extractor.read(ExtractorInput, PositionHolder) if the end of the ExtractorInput was reached.
RESULT_FORMAT_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where a format was read.
RESULT_MAX_LENGTH_EXCEEDED - Static variable in class com.google.android.exoplayer2.C
A return value for methods where the length of parsed data exceeds the maximum length allowed.
RESULT_NO_TIMESTAMP - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
 
RESULT_NOTHING_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where nothing was read.
RESULT_POSITION_OVERESTIMATED - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
 
RESULT_POSITION_UNDERESTIMATED - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
 
RESULT_SEEK - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
Returned by Extractor.read(ExtractorInput, PositionHolder) if the ExtractorInput passed to the next Extractor.read(ExtractorInput, PositionHolder) is required to provide data starting from a specified position in the stream.
RESULT_TARGET_TIMESTAMP_FOUND - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
 
retainBackBufferFromKeyframe() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
retainBackBufferFromKeyframe() - Method in interface com.google.android.exoplayer2.LoadControl
Returns whether media should be retained from the keyframe before the current playback position minus LoadControl.getBackBufferDurationUs(), rather than any sample before or at that position.
retry() - Method in interface com.google.android.exoplayer2.ExoPlayer
Retries a failed or stopped playback.
retry() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
Retries the load using the default delay.
RETRY_RESET_ERROR_COUNT - Static variable in class com.google.android.exoplayer2.upstream.Loader
Retries the load using the default delay and resets the error count.
ReusableBufferedOutputStream - Class in com.google.android.exoplayer2.util
This is a subclass of BufferedOutputStream with a ReusableBufferedOutputStream.reset(OutputStream) method that allows an instance to be re-used with another underlying output stream.
ReusableBufferedOutputStream(OutputStream) - Constructor for class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
 
ReusableBufferedOutputStream(OutputStream, int) - Constructor for class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
 
rewind() - Method in class com.google.android.exoplayer2.source.SampleQueue
Rewinds the read position to the first sample in the queue.
RIFF_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "RIFF".
rightMesh - Variable in class com.google.android.exoplayer2.video.spherical.Projection
The Mesh corresponding to the right eye.
rotationDegrees - Variable in class com.google.android.exoplayer2.Format
The clockwise rotation that should be applied to the video for it to be rendered in the correct orientation, or 0 if unknown or not applicable.
run() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
 

S

SAMPLE_RATE_NO_CHANGE - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Indicates that the output sample rate should be the same as the input.
sampleCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Number of audio samples in the frame.
sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
sampleData(ExtractorInput, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called to write sample data to the output.
sampleData(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called to write sample data to the output.
sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called when metadata associated with a sample has been extracted from the stream.
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
sampleMimeType - Variable in class com.google.android.exoplayer2.Format
The mime type of the elementary stream (i.e.
SampleQueue - Class in com.google.android.exoplayer2.source
A queue of media samples.
SampleQueue(Allocator) - Constructor for class com.google.android.exoplayer2.source.SampleQueue
 
SampleQueue.UpstreamFormatChangedListener - Interface in com.google.android.exoplayer2.source
A listener for changes to the upstream format.
sampleRate - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The audio sampling rate in Hz.
sampleRate - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Sample rate in samples per second.
sampleRate - Variable in class com.google.android.exoplayer2.Format
The audio sampling rate in Hz, or Format.NO_VALUE if unknown or not applicable.
sampleRate - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
samplesPerFrame - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
Number of samples stored in the frame.
SampleStream - Interface in com.google.android.exoplayer2.source
A stream of media samples (and associated format information).
sampleTransformation - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
One of TRANSFORMATION_*.
SANS_SERIF_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the sans-serif font family.
scaleDurationForSpeedup(long) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Returns the specified duration scaled to take into account the speedup factor of this instance, in the same units as duration.
scaleLargeTimestamp(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Scales a large timestamp.
scaleLargeTimestamps(List<Long>, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Applies Util.scaleLargeTimestamp(long, long, long) to a list of unscaled timestamps.
scaleLargeTimestampsInPlace(long[], long, long) - Static method in class com.google.android.exoplayer2.util.Util
Applies Util.scaleLargeTimestamp(long, long, long) to an array of unscaled timestamps.
schedule(Requirements, String, String) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
schedule(Requirements, String, String) - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Schedules a service to be started in the foreground when some Requirements are met.
Scheduler - Interface in com.google.android.exoplayer2.scheduler
Schedules a service to be started in the foreground when some Requirements are met.
SCHEME_DATA - Static variable in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
SchemeData(UUID, String, byte[]) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
SchemeData(UUID, String, byte[], boolean) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
SchemeData(UUID, String, String, byte[], boolean) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
schemeDataCount - Variable in class com.google.android.exoplayer2.drm.DrmInitData
schemeIdUri - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The message scheme.
schemeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData
The protection scheme type, or null if not applicable or unknown.
schemeType - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
The protection scheme type, as defined by the 'schm' box, or null if unknown.
SDK_INT - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.VERSION.SDK_INT, but in a place where it can be conveniently overridden for local testing.
searchForTimestamp(ExtractorInput, long, BinarySearchSeeker.OutputFrameHolder) - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSeeker
Searches for a given timestamp from the input.
second - Variable in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
The second seek point, or SeekMap.SeekPoints.first if there's only one seek point.
SectionPayloadReader - Interface in com.google.android.exoplayer2.extractor.ts
Reads section data.
SectionReader - Class in com.google.android.exoplayer2.extractor.ts
Reads section data packets and feeds the whole sections to a given SectionPayloadReader.
SectionReader(SectionPayloadReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.SectionReader
 
secure - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder is secure.
secure - Variable in class com.google.android.exoplayer2.video.DummySurface
Whether the surface is secure.
SECURE_MODE_NONE - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
No secure EGL surface and context required.
SECURE_MODE_PROTECTED_PBUFFER - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Creating a secure surface backed by a pixel buffer.
SECURE_MODE_SURFACELESS_CONTEXT - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Creating a surfaceless, secured EGL context.
secureDecoderRequired - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
Whether it was required that the decoder support a secure output path.
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
seek(long, long) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Notifies the extractor that a seek has occurred.
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
seek() - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Notifies the reader that a seek has occurred.
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
seek() - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Notifies the reader that a seek has occurred.
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
seekMap - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
seekMap(SeekMap) - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
seekMap(SeekMap) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Called when a SeekMap has been extracted from the stream.
SeekMap - Interface in com.google.android.exoplayer2.extractor
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
seekMap(SeekMap) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
 
SeekMap.SeekPoints - Class in com.google.android.exoplayer2.extractor
Contains one or two SeekPoints.
SeekMap.Unseekable - Class in com.google.android.exoplayer2.extractor
A SeekMap that does not support seeking.
seekOperationParams - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
SeekOperationParams(long, long, long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
 
SeekParameters - Class in com.google.android.exoplayer2
Parameters that apply to seeking.
SeekParameters(long, long) - Constructor for class com.google.android.exoplayer2.SeekParameters
 
SeekPoint - Class in com.google.android.exoplayer2.extractor
Defines a seek point in a media stream.
SeekPoint(long, long) - Constructor for class com.google.android.exoplayer2.extractor.SeekPoint
 
SeekPoints(SeekPoint) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
SeekPoints(SeekPoint, SeekPoint) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
seekTo(long) - Method in class com.google.android.exoplayer2.BasePlayer
 
seekTo(long) - Method in interface com.google.android.exoplayer2.Player
Seeks to a position specified in milliseconds in the current window.
seekTo(int, long) - Method in interface com.google.android.exoplayer2.Player
Seeks to a position specified in milliseconds in the specified window.
seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
seekToDefaultPosition() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToDefaultPosition(int) - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToDefaultPosition() - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position associated with the current window.
seekToDefaultPosition(int) - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position associated with the specified window.
seekToPosition(ExtractorInput, long, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
seekToUs(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Seeks to the specified position in microseconds.
seekToUs(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
seekToUs(long) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
seekToUs(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to seek to the specified position in microseconds.
Segment(long, DataSpec) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
Constructs a Segment.
SegmentDownloadAction - Class in com.google.android.exoplayer2.offline
SegmentDownloadAction(String, int, Uri, boolean, byte[], List<StreamKey>) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloadAction
 
SegmentDownloadAction.SegmentDownloadActionDeserializer - Class in com.google.android.exoplayer2.offline
Base class for SegmentDownloadAction Deserializers.
SegmentDownloadActionDeserializer(String, int) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloadAction.SegmentDownloadActionDeserializer
 
SegmentDownloader<M extends FilterableManifest<M>> - Class in com.google.android.exoplayer2.offline
Base class for multi segment stream downloaders.
SegmentDownloader(Uri, List<StreamKey>, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloader
 
SegmentDownloader.Segment - Class in com.google.android.exoplayer2.offline
Smallest unit of content to be downloaded.
selectAllTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called from MappingTrackSelector.selectTracks(MappedTrackInfo, int[][][], int[]) to make a track selection for each renderer, prior to overrides and disabled flags being applied.
selectAudioTrack(TrackGroupArray, int[][], int, DefaultTrackSelector.Parameters, TrackSelection.Factory) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called by #selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a TrackSelection for an audio renderer.
selectEmbeddedTrack(long, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Selects the embedded track, returning a new ChunkSampleStream.EmbeddedSampleStream from which the track's samples can be consumed.
SELECTION_FLAG_AUTOSELECT - Static variable in class com.google.android.exoplayer2.C
Indicates that the player may choose to play the track in absence of an explicit user preference.
SELECTION_FLAG_DEFAULT - Static variable in class com.google.android.exoplayer2.C
Indicates that the track should be selected if user preferences do not state otherwise.
SELECTION_FLAG_FORCED - Static variable in class com.google.android.exoplayer2.C
Indicates that the track must be displayed.
SELECTION_REASON_ADAPTIVE - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for an adaptive track selection.
SELECTION_REASON_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom SELECTION_REASON_* constants greater than or equal to this value.
SELECTION_REASON_INITIAL - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for an initial track selection.
SELECTION_REASON_MANUAL - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for an manual (i.e.
SELECTION_REASON_TRICK_PLAY - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for a trick play track selection.
SELECTION_REASON_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for selections whose reasons are unknown or unspecified.
selectionFlags - Variable in class com.google.android.exoplayer2.Format
Track selection flags.
SelectionOverride(int, int...) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
selections - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
A TrackSelectionArray containing the track selection for each renderer.
selectOtherTrack(int, TrackGroupArray, int[][], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called by #selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a TrackSelection for a renderer whose type is neither video, audio or text.
selectTextTrack(TrackGroupArray, int[][], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called by #selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a TrackSelection for a text renderer.
selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
 
selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Performs a track selection.
selectTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[]) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
selectTracks(RendererCapabilities[], TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
selectTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Given mapped track information, returns a track selection and configuration for each renderer.
selectTracks(RendererCapabilities[], TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to perform a track selection.
selectUndeterminedTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether a text track with undetermined language should be selected if no track with DefaultTrackSelector.Parameters.preferredTextLanguage is available, or if DefaultTrackSelector.Parameters.preferredTextLanguage is unset.
selectVideoTrack(TrackGroupArray, int[][], int, DefaultTrackSelector.Parameters, TrackSelection.Factory) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called by #selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a TrackSelection for a video renderer.
send() - Method in class com.google.android.exoplayer2.PlayerMessage
Sends the message.
sendEmptyMessage(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
sendEmptyMessageAtTime(int, long) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
 
sendLevel - Variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
The send level for the effect.
sendMessage(PlayerMessage) - Method in interface com.google.android.exoplayer2.PlayerMessage.Sender
Sends a message.
sendMessages(ExoPlayer.ExoPlayerMessage...) - Method in interface com.google.android.exoplayer2.ExoPlayer
sendMessages(ExoPlayer.ExoPlayerMessage...) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
sendTo(T) - Method in interface com.google.android.exoplayer2.util.EventDispatcher.Event
Sends the event to a listener.
separateColorPlaneFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
SequenceableLoader - Interface in com.google.android.exoplayer2.source
A loader that can proceed in approximate synchronization with other loaders.
SequenceableLoader.Callback<T extends SequenceableLoader> - Interface in com.google.android.exoplayer2.source
A callback to be notified of SequenceableLoader events.
serializeToStream(DownloadAction, OutputStream) - Static method in class com.google.android.exoplayer2.offline.DownloadAction
Serializes action type and data into the output.
SERIF_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the serif font family.
set(int, int[], int[], byte[], byte[], int, int, int) - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
 
set(Object, Object, int, long, long) - Method in class com.google.android.exoplayer2.Timeline.Period
Sets the data held by this period.
set(Object, Object, int, long, long, AdPlaybackState) - Method in class com.google.android.exoplayer2.Timeline.Period
Sets the data held by this period.
set(Object, long, long, boolean, boolean, long, long, int, int, long) - Method in class com.google.android.exoplayer2.Timeline.Window
Sets the data held by this window.
set(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set a metadata value.
set(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set a metadata value.
set(String, byte[]) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set a metadata value.
set(String, String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Sets the specified property value for the specified name.
set(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Sets the keys and values contained in the map.
setAdtsExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for AdtsExtractor instances created by the factory.
setAllocator(DefaultAllocator) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the DefaultAllocator used by the loader.
setAllowMixedMimeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setAllowNonSeamlessAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setAmrExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for AmrExtractor instances created by the factory.
setAudioAttributes(AudioAttributes, boolean, int) - Method in class com.google.android.exoplayer2.audio.AudioFocusManager
Sets audio attributes that should be used to manage audio focus.
setAudioAttributes(AudioAttributes) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets attributes for audio playback.
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setAudioAttributes(AudioAttributes) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
setAudioAttributes(AudioAttributes, boolean) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Sets the attributes for audio playback, used by the underlying audio track.
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
Use SimpleExoPlayer.addAnalyticsListener(AnalyticsListener) to get more detailed debug information.
setAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the audio session id.
setAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setAudioStreamType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the auxiliary effect.
setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Sets information on an auxiliary audio effect to attach to the underlying audio track.
setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setBackBuffer(int, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the back buffer duration, and whether the back buffer is retained from the previous keyframe.
setBackgroundColor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setBold(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setBufferDurationsMs(int, int, int, int) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the buffer duration parameters.
setCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Sets a listener of camera motion events.
setCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setClock(Clock) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the clock used to estimate bandwidth from data transfers.
setConstantBitrateSeekingEnabled(boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Convenience method to set whether approximate seeking using constant bitrate assumptions should be enabled for all extractors that support it.
setContent(long, Subtitle, long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
Sets the content of the output buffer, consisting of a Subtitle and associated metadata.
setContentLength(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Sets the content length for the given key.
setContentLength(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
setContentType(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
 
setContinueLoadingCheckIntervalBytes(int) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Sets the number of bytes that should be loaded between each invocation of SequenceableLoader.Callback.onContinueLoadingRequested(SequenceableLoader).
setCsdBuffers(MediaFormat, List<byte[]>) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
Sets a MediaFormat's codec specific data buffers.
setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
 
setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
setCurrentStreamFinal() - Method in interface com.google.android.exoplayer2.Renderer
Signals to the renderer that the current SampleStream will be the final one supplied before it is next disabled or reset.
setCustomCacheKey(String) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Sets the custom key that uniquely identifies the original stream.
setDefaultRequestProperty(String, String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
Deprecated.
setDefaultRequestProperty(String, String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
setDeleteAfterDelivery(boolean) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets whether the message will be deleted after delivery.
setDisabledTextTrackSelectionFlags(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Sets whether to skip silence in the input.
setEndTime(long) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets an event listener for new bandwidth estimates.
setExceedRendererCapabilitiesIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setExceedVideoConstraintsIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setExtractorsFactory(ExtractorsFactory) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Sets the factory for Extractors to process the media stream.
setFirstSampleTimestampUs(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Sets the desired result of the first call to TimestampAdjuster.adjustSampleTimestamp(long).
setFlags(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
 
setFlags(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Replaces this buffer's flags with flags.
setFontColor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setFontFamily(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setFontSize(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setFontSizeUnit(short) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setForceHighestSupportedBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setForceLowestBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setFragmentedMp4ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for FragmentedMp4Extractor instances created by the factory.
setFromMetadata(Metadata) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
Populates the holder with data parsed from ID3 Metadata.
setFromXingHeaderValue(int) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
Populates the holder with data from an MP3 Xing header, if valid and non-zero.
setHandler(Handler) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets the handler the message is delivered on.
setIndex(int) - Method in class com.google.android.exoplayer2.BaseRenderer
 
setIndex(int) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
setIndex(int) - Method in interface com.google.android.exoplayer2.Renderer
Sets the index of this renderer within the player.
setInitialBitrateEstimate(long) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the initial bitrate estimate in bits per second that should be assumed when a bandwidth estimate is unavailable.
setInitialBitrateEstimate(int, long) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the initial bitrate estimate in bits per second for a network type that should be assumed when a bandwidth estimate is unavailable and the current network connection is of the specified type.
setInitialBitrateEstimate(String) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the initial bitrate estimates to the default values of the specified country.
setInitialInputBufferSize(int) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Sets the initial size of each input buffer.
setItalic(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setKeyRequestProperty(String, String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Sets a header for key requests made by the callback.
setLibraries(String...) - Method in class com.google.android.exoplayer2.util.LibraryLoader
Overrides the names of the libraries to load.
setLimit(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Sets the limit.
setLine(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setLineAnchor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setLinethrough(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setLineType(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setListener(AudioSink.Listener) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the listener for sink events, which should be the audio renderer.
setListener(AudioSink.Listener) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
setLogLevel(int) - Static method in class com.google.android.exoplayer2.util.Log
Sets the LogLevel for ExoPlayer logcat logging.
setLogStackTraces(boolean) - Static method in class com.google.android.exoplayer2.util.Log
Sets whether stack traces of Throwables will be logged to logcat.
setMatroskaExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for MatroskaExtractor instances created by the factory.
setMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setMaxVideoFrameRate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setMaxVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setMaxVideoSizeSd() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
setMode(int, byte[]) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Sets the mode, which determines the role of sessions acquired from the instance.
setMp3ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for Mp3Extractor instances created by the factory.
setMp4ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for Mp4Extractor instances created by the factory.
setNotification(Context, int, Notification) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
Post a notification to be shown in the status bar.
setOnEventListener(ExoMediaDrm.OnEventListener<? super T>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
setOnEventListener(ExoMediaDrm.OnEventListener<? super FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super T>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setOperatingRate(float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
setOperatingRate(float) - Method in interface com.google.android.exoplayer2.Renderer
Sets the operating rate of this renderer, where 1 is the default rate, 2 is twice the default rate, 0.5 is half the default rate and so on.
setOutputSampleRateHz(int) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the sample rate for output audio, in hertz.
setParameters(DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Atomically sets the provided parameters for track selection.
setParameters(DefaultTrackSelector.ParametersBuilder) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Atomically sets the provided parameters for track selection.
setPayload(Object) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
setPitch(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the playback pitch.
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Attempts to set the playback parameters and returns the active playback parameters, which may differ from those passed in.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player
Attempts to set the playback parameters.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.util.MediaClock
Attempts to set the playback parameters and returns the active playback parameters, which may differ from those passed in.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
 
setPlaybackParams(PlaybackParams) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setPlayer(Player) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Sets the player for which data will be collected.
setPlayWhenReady(boolean) - Method in interface com.google.android.exoplayer2.Player
Sets whether playback should proceed when Player.getPlaybackState() == Player.STATE_READY.
setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setPosition(long) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets a position in the current window at which the message will be delivered.
setPosition(int, long) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets a position in a window at which the message will be delivered.
setPosition(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Sets the current bit offset.
setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Sets the reading offset in the array.
setPositionAnchor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setPositionUs(long) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
setPositionUs(long) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoder
Informs the decoder of the current playback position.
setPreferredAudioLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setPreferredTextLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setPrepareErrorListener(DeferredMediaPeriod.PrepareErrorListener) - Method in class com.google.android.exoplayer2.source.DeferredMediaPeriod
Sets a listener for preparation errors.
setPrioritizeTimeOverSizeThresholds(boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets whether the load control prioritizes buffer time constraints over buffer size constraints.
setPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the PriorityTaskManager to use.
setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
setPropertyByteArray(String, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
 
setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
setPropertyString(String, String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
 
setReadPosition(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Attempts to set the read position to the specified sample index.
setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether the renderer at the specified index is disabled.
setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
setRepeatMode(int) - Method in interface com.google.android.exoplayer2.Player
Sets the Player.RepeatMode to be used for playback.
setRepeatMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
setRequestProperty(String, String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Sets the value of a request header.
setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
setRetryPosition(long, E) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Called when reading fails and the required retry position is different from the last position.
setRotation(long, float[]) - Method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
Sets a rotation for a given timestamp.
setSampleOffsetUs(long) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples subsequently written to the sample queues.
setSampleOffsetUs(long) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples that are subsequently queued.
setSeekParameters(SeekParameters) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets the parameters that control how seek operations are performed.
setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setSeekTargetUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Sets the target time in microseconds within the stream to seek to.
setSelectionOverride(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Overrides the track selection for the renderer at the specified index.
setSelectionOverride(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
setSelectUndeterminedTextLanguage(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setShuffleModeEnabled(boolean) - Method in interface com.google.android.exoplayer2.Player
Sets whether shuffling of windows is enabled.
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setShuffleOrder(ShuffleOrder) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Sets a new shuffle order to use when shuffling the child media sources.
setShuffleOrder(ShuffleOrder, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Sets a new shuffle order to use when shuffling the child media sources.
setSlidingWindowMaxWeight(int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the maximum weight for the sliding window.
setSpeed(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the playback speed.
setStartTime(long) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setString(MediaFormat, String, String) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
Sets a MediaFormat String value.
setSupportedContentTypes(int...) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Sets the supported content types for ad media.
setTag(Object) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
Sets a tag for the media source which will be published in the Timeline of the source as tag.
setTag(Object) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Sets a tag for the media source which will be published in the Timeline of the source as Timeline.Window#tag.
setTargetBufferBytes(int) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the target buffer size in bytes.
setTargetBufferSize(int) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
setTargetClasses(String[]) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTargetId(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTargetTagName(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTargetVoice(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setText(SpannableStringBuilder) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setTextAlign(Layout.Alignment) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTextAlignment(Layout.Alignment) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
setTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setTreatLoadErrorsAsEndOfStream(boolean) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Sets whether load errors will be treated as end-of-stream signal (load errors will not be propagated).
setTsExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for DefaultTsPayloadReaderFactorys used by TsExtractor instances created by the factory.
setTsExtractorMode(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets the mode for TsExtractor instances created by the factory.
setTunnelingAudioSessionId(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setTunnelingAudioSessionId(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
setType(int) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets the message type forwarded to PlayerMessage.Target.handleMessage(int, Object).
setUnderline(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setUpstreamFormatChangeListener(SampleQueue.UpstreamFormatChangedListener) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets a listener to be notified of changes to the upstream format.
setUsage(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
 
setVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
Use SimpleExoPlayer.addAnalyticsListener(AnalyticsListener) to get more detailed debug information.
setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Sets a listener to receive video frame metadata events.
setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setVideoScalingMode(int) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the video scaling mode.
setVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Sets the Surface onto which video will be rendered.
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Sets the SurfaceHolder that holds the Surface onto which video will be rendered.
setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Sets the SurfaceView onto which video will be rendered.
setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
Sets the TextureView onto which video will be rendered.
setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setViewportSize(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setViewportSizeToPhysicalDisplaySize(Context, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setVolume(float) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the playback volume.
setVolume(float) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setVolume(float) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
Sets the audio volume, with 0 being silence and 1 being unity gain.
setVolume(float) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
setVolumeMultiplier(float) - Method in interface com.google.android.exoplayer2.audio.AudioFocusManager.PlayerControl
Called when the volume multiplier on the player should be changed.
setWidth(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
 
shouldContinueLoading(long, float) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
shouldContinueLoading(long, float) - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player to determine whether it should continue to load the source.
shouldDropBuffersToKeyframe(long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether to drop all buffers from the buffer being processed to the keyframe at or after the current playback position, if possible.
shouldDropOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether the buffer being processed should be dropped.
shouldForceRenderOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether to force rendering an output buffer.
shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
shouldStartPlayback(long, float, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
shouldStartPlayback(long, float, boolean) - Method in interface com.google.android.exoplayer2.LoadControl
Called repeatedly by the player when it's loading the source, has yet to start playback, and has the minimum amount of data necessary for playback to be started.
ShuffleOrder - Interface in com.google.android.exoplayer2.source
Shuffled order of indices.
ShuffleOrder.DefaultShuffleOrder - Class in com.google.android.exoplayer2.source
The default ShuffleOrder implementation for random shuffle order.
ShuffleOrder.UnshuffledShuffleOrder - Class in com.google.android.exoplayer2.source
A ShuffleOrder implementation which does not shuffle.
SilenceSkippingAudioProcessor - Class in com.google.android.exoplayer2.audio
An AudioProcessor that skips silence in the input stream.
SilenceSkippingAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Creates a new silence trimming audio processor.
SimpleCache - Class in com.google.android.exoplayer2.upstream.cache
A Cache implementation that maintains an in-memory representation.
SimpleCache(File, CacheEvictor) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Constructs the cache.
SimpleCache(File, CacheEvictor, byte[]) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Constructs the cache.
SimpleCache(File, CacheEvictor, byte[], boolean) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Constructs the cache.
SimpleDecoder<I extends DecoderInputBuffer,O extends OutputBuffer,E extends java.lang.Exception> - Class in com.google.android.exoplayer2.decoder
Base class for Decoders that use their own decode thread.
SimpleDecoder(I[], O[]) - Constructor for class com.google.android.exoplayer2.decoder.SimpleDecoder
 
SimpleDecoderAudioRenderer - Class in com.google.android.exoplayer2.audio
Decodes and renders audio using a SimpleDecoder.
SimpleDecoderAudioRenderer() - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioCapabilities) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioCapabilities, DrmSessionManager<ExoMediaCrypto>, boolean, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, DrmSessionManager<ExoMediaCrypto>, boolean, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
SimpleExoPlayer - Class in com.google.android.exoplayer2
An ExoPlayer implementation that uses default Renderer components.
SimpleExoPlayer(Context, RenderersFactory, TrackSelector, LoadControl, BandwidthMeter, DrmSessionManager<FrameworkMediaCrypto>, Looper) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
 
SimpleExoPlayer(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, BandwidthMeter, AnalyticsCollector.Factory, Looper) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
 
SimpleExoPlayer(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, BandwidthMeter, AnalyticsCollector.Factory, Clock, Looper) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
 
SimpleExoPlayer.VideoListener - Interface in com.google.android.exoplayer2
Deprecated.
SimpleOutputBuffer - Class in com.google.android.exoplayer2.decoder
Buffer for SimpleDecoder output.
SimpleOutputBuffer(SimpleDecoder<?, SimpleOutputBuffer, ?>) - Constructor for class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
 
SimpleSubtitleDecoder - Class in com.google.android.exoplayer2.text
Base class for subtitle parsers that use their own decode thread.
SimpleSubtitleDecoder(String) - Constructor for class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
singleMesh - Variable in class com.google.android.exoplayer2.video.spherical.Projection
Whether the left and right mesh are identical.
SinglePeriodAdTimeline - Class in com.google.android.exoplayer2.source.ads
A Timeline for sources that have ads.
SinglePeriodAdTimeline(Timeline, AdPlaybackState) - Constructor for class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
Creates a new timeline with a single period containing ads.
SinglePeriodTimeline - Class in com.google.android.exoplayer2.source
A Timeline consisting of a single period and static window.
SinglePeriodTimeline(long, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline containing a single period and a window that spans it.
SinglePeriodTimeline(long, boolean, boolean, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline containing a single period and a window that spans it.
SinglePeriodTimeline(long, long, long, long, boolean, boolean, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline with one period, and a window of known duration starting at a specified position in the period.
SinglePeriodTimeline(long, long, long, long, long, long, boolean, boolean, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline with one period, and a window of known duration starting at a specified position in the period.
SingleSampleMediaChunk - Class in com.google.android.exoplayer2.source.chunk
A BaseMediaChunk for chunks consisting of a single raw sample.
SingleSampleMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
SingleSampleMediaSource - Class in com.google.android.exoplayer2.source
Loads data at a given Uri as a single sample belonging to a single MediaPeriod.
SingleSampleMediaSource(Uri, DataSource.Factory, Format, long) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
Deprecated.
SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
Deprecated.
SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int, Handler, SingleSampleMediaSource.EventListener, int, boolean) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
Deprecated.
SingleSampleMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
Deprecated.
SingleSampleMediaSource.Factory - Class in com.google.android.exoplayer2.source
size - Variable in class com.google.android.exoplayer2.text.Cue
The size of the cue box in the writing direction specified as a fraction of the viewport size in that direction, or Cue.DIMEN_UNSET.
size() - Method in class com.google.android.exoplayer2.util.LongArray
Returns the current size of the array.
size() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Returns number of the values buffered.
sizes - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The chunk sizes, in bytes.
skip(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
skip(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.read(byte[], int, int), except the data is skipped instead of read.
skipBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Skips a single bit.
skipBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Skips a single bit.
skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Skips bits and moves current reading position forward.
skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Skips bits and moves current reading position forward.
skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Skips the next length bytes.
skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Moves the reading offset by bytes.
skipData(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
skipData(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
skipData(long) - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
skipData(long) - Method in interface com.google.android.exoplayer2.source.SampleStream
Attempts to skip to the keyframe before the specified position, or to the end of the stream if positionUs is beyond it.
skipFully(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
skipFully(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
skipFully(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.readFully(byte[], int, int, boolean), except the data is skipped instead of read.
skipFully(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.readFully(byte[], int, int), except the data is skipped instead of read.
skipInputUntilPosition(ExtractorInput, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
skipOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Skips the output buffer with the specified index.
skippedInputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of skipped input buffers.
skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of skipped output buffers.
skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.OutputBuffer
The number of buffers immediately prior to this one that were skipped in the Decoder.
skipSilence - Variable in class com.google.android.exoplayer2.PlaybackParameters
Whether to skip silence in the input.
skipSource(long) - Method in class com.google.android.exoplayer2.BaseRenderer
Attempts to skip to the keyframe before the specified position, or to the end of the stream if positionUs is beyond it.
sleep(long) - Method in interface com.google.android.exoplayer2.util.Clock
 
SlidingPercentile - Class in com.google.android.exoplayer2.util
Calculate any percentile over a sliding window of weighted values.
SlidingPercentile(int) - Constructor for class com.google.android.exoplayer2.util.SlidingPercentile
 
sneakyThrow(Throwable) - Static method in class com.google.android.exoplayer2.util.Util
A hacky method that always throws t even if t is a checked exception, and is not declared to be thrown.
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
sniff(ExtractorInput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Returns whether this extractor can extract samples from the ExtractorInput, which must provide data from the start of the stream.
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
SonicAudioProcessor - Class in com.google.android.exoplayer2.audio
An AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
SonicAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.SonicAudioProcessor
Creates a new Sonic audio processor.
sourceId(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets a source identifier for subsequent samples.
speed - Variable in class com.google.android.exoplayer2.PlaybackParameters
The factor by which playback will be sped up.
splice() - Method in class com.google.android.exoplayer2.source.SampleQueue
Indicates samples that are subsequently queued should be spliced into those already queued.
SpliceCommand - Class in com.google.android.exoplayer2.metadata.scte35
Superclass for SCTE35 splice commands.
SpliceCommand() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
True if the event with id SpliceInsertCommand.spliceEventId has been canceled.
spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
True if the event with id SpliceScheduleCommand.Event.spliceEventId has been canceled.
spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
The splice event id.
spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
The splice event id.
spliceImmediateFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Whether splicing should be done at the nearest opportunity.
SpliceInfoDecoder - Class in com.google.android.exoplayer2.metadata.scte35
Decodes splice info sections and produces splice commands.
SpliceInfoDecoder() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
 
SpliceInfoSectionReader - Class in com.google.android.exoplayer2.extractor.ts
Parses splice info sections as defined by SCTE35.
SpliceInfoSectionReader() - Constructor for class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
 
SpliceInsertCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice insert command defined in SCTE35, Section 9.3.3.
SpliceInsertCommand.ComponentSplice - Class in com.google.android.exoplayer2.metadata.scte35
Holds splicing information for specific splice insert command components.
SpliceNullCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice null command as defined in SCTE35, Section 9.3.1.
SpliceNullCommand() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
SpliceScheduleCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice schedule command as defined in SCTE35, Section 9.3.2.
SpliceScheduleCommand.ComponentSplice - Class in com.google.android.exoplayer2.metadata.scte35
Holds splicing information for specific splice schedule command components.
SpliceScheduleCommand.Event - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice event as contained in a SpliceScheduleCommand.
split(String, String) - Static method in class com.google.android.exoplayer2.util.Util
Splits a string using value.split(regex, -1).
splitAtFirst(String, String) - Static method in class com.google.android.exoplayer2.util.Util
Splits the string at the first occurrence of the delimiter regex.
splitCodecs(String) - Static method in class com.google.android.exoplayer2.util.Util
Splits a codecs sequence string, as defined in RFC 6381, into individual codec strings.
splitNalUnits(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Splits an array of NAL units.
SpsData(int, int, int, int, int, int, float, boolean, boolean, int, int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
SsaDecoder - Class in com.google.android.exoplayer2.text.ssa
A SimpleSubtitleDecoder for SSA/ASS.
SsaDecoder() - Constructor for class com.google.android.exoplayer2.text.ssa.SsaDecoder
 
SsaDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.ssa.SsaDecoder
 
StandaloneMediaClock - Class in com.google.android.exoplayer2.util
A MediaClock whose position advances with real time based on the playback parameters when started.
StandaloneMediaClock(Clock) - Constructor for class com.google.android.exoplayer2.util.StandaloneMediaClock
Creates a new standalone media clock using the given Clock implementation.
start() - Method in class com.google.android.exoplayer2.BaseRenderer
 
START - Static variable in class com.google.android.exoplayer2.extractor.SeekPoint
A SeekPoint whose time and byte offset are both set to 0.
start() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
start(Context, Class<? extends DownloadService>) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service without adding a new action.
start() - Method in interface com.google.android.exoplayer2.Renderer
Starts the renderer, meaning that calls to Renderer.render(long, long) will cause media to be rendered.
start() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
Starts watching for changes.
start() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Starts the clock.
startDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Starts the download tasks.
startFile(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Obtains a cache file into which data can be written.
startFile(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
startForeground(Context, Class<? extends DownloadService>) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service in the foreground without adding a new action.
startForegroundService(Context, Intent) - Static method in class com.google.android.exoplayer2.util.Util
Calls Context.startForegroundService(Intent) if Util.SDK_INT is 26 or higher, or Context.startService(Intent) otherwise.
startLoading(T, Loader.Callback<T>, int) - Method in class com.google.android.exoplayer2.upstream.Loader
Starts loading a Loader.Loadable.
startOffset - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
The byte offset of the start of the chapter, or C.POSITION_UNSET if not set.
startReadWrite(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
A caller should invoke this method when they require data from a given position for a given key.
startReadWrite(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
startReadWriteNonBlocking(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
startReadWriteNonBlocking(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
startTime - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue
 
startTimeMs - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
startTimeUs - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
The start time of the segment in microseconds.
startTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The start time of the media contained by the chunk, or C.TIME_UNSET if the data being loaded does not contain media samples.
startWithAction(Context, Class<? extends DownloadService>, DownloadAction, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service, adding an action to be executed.
startWrite() - Method in class com.google.android.exoplayer2.util.AtomicFile
Start a new write operation on the file.
state - Variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The state of the task.
STATE_BUFFERING - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
STATE_BUFFERING - Static variable in interface com.google.android.exoplayer2.Player
The player is not able to immediately play from its current position.
STATE_CANCELED - Static variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The task was canceled.
STATE_COMPLETED - Static variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The task completed.
STATE_DISABLED - Static variable in interface com.google.android.exoplayer2.Renderer
The renderer is disabled.
STATE_ENABLED - Static variable in interface com.google.android.exoplayer2.Renderer
The renderer is enabled but not started.
STATE_ENDED - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use Player.STATE_ENDED instead.
STATE_ENDED - Static variable in interface com.google.android.exoplayer2.Player
The player has finished playing the media.
STATE_ERROR - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session has encountered an error.
STATE_FAILED - Static variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The task failed.
STATE_IDLE - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use Player.STATE_IDLE instead.
STATE_IDLE - Static variable in interface com.google.android.exoplayer2.Player
The player does not have any media to play.
STATE_OPENED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session is open, but does not yet have the keys required for decryption.
STATE_OPENED_WITH_KEYS - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session is open and has the keys required for decryption.
STATE_OPENING - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session is being opened.
STATE_QUEUED - Static variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The task is waiting to be started.
STATE_READY - Static variable in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use Player.STATE_READY instead.
STATE_READY - Static variable in interface com.google.android.exoplayer2.Player
The player is able to immediately play from its current position.
STATE_RELEASED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session has been released.
STATE_STARTED - Static variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The task is currently started.
STATE_STARTED - Static variable in interface com.google.android.exoplayer2.Renderer
The renderer is started.
states - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The state of each ad in the ad group.
StatsDataSource - Class in com.google.android.exoplayer2.upstream
DataSource wrapper which keeps track of bytes transferred, redirected uris, and response headers.
StatsDataSource(DataSource) - Constructor for class com.google.android.exoplayer2.upstream.StatsDataSource
Creates the stats data source.
STEREO_MODE_LEFT_RIGHT - Static variable in class com.google.android.exoplayer2.C
Indicates Left-Right stereo layout, used with 360/3D/VR videos.
STEREO_MODE_MONO - Static variable in class com.google.android.exoplayer2.C
Indicates Monoscopic stereo layout, used with 360/3D/VR videos.
STEREO_MODE_STEREO_MESH - Static variable in class com.google.android.exoplayer2.C
Indicates a stereo layout where the left and right eyes have separate meshes, used with 360/3D/VR videos.
STEREO_MODE_TOP_BOTTOM - Static variable in class com.google.android.exoplayer2.C
Indicates Top-Bottom stereo layout, used with 360/3D/VR videos.
stereoMode - Variable in class com.google.android.exoplayer2.Format
The stereo layout for 360/3D/VR video, or Format.NO_VALUE if not applicable.
stereoMode - Variable in class com.google.android.exoplayer2.video.spherical.Projection
The stereo mode.
stop() - Method in class com.google.android.exoplayer2.BasePlayer
 
stop() - Method in class com.google.android.exoplayer2.BaseRenderer
 
stop() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
stop() - Method in interface com.google.android.exoplayer2.Player
Stops playback without resetting the player.
stop(boolean) - Method in interface com.google.android.exoplayer2.Player
Stops playback and optionally resets the player.
stop() - Method in interface com.google.android.exoplayer2.Renderer
Stops the renderer, transitioning it to the Renderer.STATE_ENABLED state.
stop() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
Stops watching for changes.
stop(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
stop() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Stops the clock.
stopDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Stops all of the download tasks.
store(DownloadAction...) - Method in class com.google.android.exoplayer2.offline.ActionFile
Stores DownloadActions to file.
STREAM_TYPE_ALARM - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
The default stream type used by audio renderers.
STREAM_TYPE_DTMF - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_NOTIFICATION - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_RING - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_SYSTEM - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_TYPE0 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Type 0 AC3 stream type.
STREAM_TYPE_TYPE1 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Type 1 AC3 stream type.
STREAM_TYPE_TYPE2 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Type 2 AC3 stream type.
STREAM_TYPE_UNDEFINED - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Undefined AC3 stream type.
STREAM_TYPE_USE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_VOICE_CALL - Static variable in class com.google.android.exoplayer2.C
 
StreamKey - Class in com.google.android.exoplayer2.offline
Identifies a given track by the index of the containing period, the index of the containing group within the period, and the index of the track within the group.
StreamKey(int, int) - Constructor for class com.google.android.exoplayer2.offline.StreamKey
 
StreamKey(int, int, int) - Constructor for class com.google.android.exoplayer2.offline.StreamKey
 
streamType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
streamType - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
STYLE_BOLD - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
STYLE_BOLD_ITALIC - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
STYLE_ITALIC - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
STYLE_NORMAL - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
SubMesh(int, float[], float[], int) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
 
subrange(long) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a DataSpec that represents a subrange of the data defined by this DataSpec.
subrange(long, long) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a DataSpec that represents a subrange of the data defined by this DataSpec.
SubripDecoder - Class in com.google.android.exoplayer2.text.subrip
A SimpleSubtitleDecoder for SubRip.
SubripDecoder() - Constructor for class com.google.android.exoplayer2.text.subrip.SubripDecoder
 
subsampleOffsetUs - Variable in class com.google.android.exoplayer2.Format
For samples that contain subsamples, this is an offset that should be added to subsample timestamps.
subsampleOffsetUs - Variable in class com.google.android.exoplayer2.metadata.MetadataInputBuffer
An offset that must be added to the metadata's timestamps after it's been decoded, or Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.
subsampleOffsetUs - Variable in class com.google.android.exoplayer2.text.SubtitleInputBuffer
An offset that must be added to the subtitle's event times after it's been decoded, or Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.
Subtitle - Interface in com.google.android.exoplayer2.text
A subtitle consisting of timed Cues.
SubtitleDecoder - Interface in com.google.android.exoplayer2.text
SubtitleDecoderException - Exception in com.google.android.exoplayer2.text
Thrown when an error occurs decoding subtitle data.
SubtitleDecoderException(String) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
 
SubtitleDecoderException(Exception) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
 
SubtitleDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
 
SubtitleDecoderFactory - Interface in com.google.android.exoplayer2.text
A factory for SubtitleDecoder instances.
SubtitleInputBuffer - Class in com.google.android.exoplayer2.text
SubtitleInputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleInputBuffer
 
SubtitleOutputBuffer - Class in com.google.android.exoplayer2.text
Base class for SubtitleDecoder output buffers.
SubtitleOutputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
subtractWithOverflowDefault(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the difference between two arguments, or a third argument if the result overflows.
supportsEncoding(int) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns whether this device supports playback of the specified audio encoding.
supportsFormat(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
supportsFormat(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the extent to which the renderer is capable of supporting a given format.
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
Returns whether the factory is able to instantiate a MetadataDecoder for the given Format.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the extent to which the Renderer supports a given format.
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Returns whether the factory is able to instantiate a SubtitleDecoder for the given Format.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
supportsFormat(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
supportsFormatDrm(DrmSessionManager<?>, DrmInitData) - Static method in class com.google.android.exoplayer2.BaseRenderer
Returns whether drmSessionManager supports the specified drmInitData, or true if drmInitData is null.
supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.BaseRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
supportsMixedMimeTypeAdaptation() - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the extent to which the Renderer supports adapting between supported formats that have different mime types.
supportsOutputEncoding(int) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
Returns whether the audio sink can accept audio in the specified encoding.

T

TAG - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
A tag to use when logging library information.
TAG - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
 
tag - Variable in class com.google.android.exoplayer2.Timeline.Window
A tag for the window.
target - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
Deprecated.
The target to receive the message.
targetFoundResult(long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
Returns a result to signal that the target timestamp has been found at the resultBytePosition, and the seek operation can stop.
taskId - Variable in class com.google.android.exoplayer2.offline.DownloadManager.TaskState
The unique task id.
TeeAudioProcessor - Class in com.google.android.exoplayer2.audio
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
TeeAudioProcessor(TeeAudioProcessor.AudioBufferSink) - Constructor for class com.google.android.exoplayer2.audio.TeeAudioProcessor
Creates a new tee audio processor, sending incoming data to the given TeeAudioProcessor.AudioBufferSink.
TeeAudioProcessor.AudioBufferSink - Interface in com.google.android.exoplayer2.audio
A sink for audio buffers handled by the audio processor.
TeeAudioProcessor.WavFileAudioBufferSink - Class in com.google.android.exoplayer2.audio
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
TeeDataSource - Class in com.google.android.exoplayer2.upstream
Tees data into a DataSink as the data is read.
TeeDataSource(DataSource, DataSink) - Constructor for class com.google.android.exoplayer2.upstream.TeeDataSource
 
text - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
text - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
text - Variable in class com.google.android.exoplayer2.text.Cue
The cue text, or null if this is an image cue.
TEXT_SIZE_TYPE_ABSOLUTE - Static variable in class com.google.android.exoplayer2.text.Cue
Text size is measured in number of pixels.
TEXT_SIZE_TYPE_FRACTIONAL - Static variable in class com.google.android.exoplayer2.text.Cue
Text size is measured as a fraction of the viewport size minus the view padding.
TEXT_SIZE_TYPE_FRACTIONAL_IGNORE_PADDING - Static variable in class com.google.android.exoplayer2.text.Cue
Text size is measured as a fraction of the viewport size, ignoring the view padding
TEXT_SSA - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
TEXT_VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
textAlignment - Variable in class com.google.android.exoplayer2.text.Cue
The alignment of the cue text within the cue box, or null if the alignment is undefined.
TextInformationFrame - Class in com.google.android.exoplayer2.metadata.id3
Text information ID3 frame.
TextInformationFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
TextOutput - Interface in com.google.android.exoplayer2.text
Receives text output.
TextRenderer - Class in com.google.android.exoplayer2.text
A renderer for text.
TextRenderer(TextOutput, Looper) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
 
TextRenderer(TextOutput, Looper, SubtitleDecoderFactory) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
 
TextRenderer.Output - Interface in com.google.android.exoplayer2.text
Deprecated.
textSize - Variable in class com.google.android.exoplayer2.text.Cue
The default text size for this cue's text, or Cue.DIMEN_UNSET if this cue has no default text size.
textSizeType - Variable in class com.google.android.exoplayer2.text.Cue
The default text size type for this cue's text, or Cue.TYPE_UNSET if this cue has no default text size.
TEXTURE_COORDS_PER_VERTEX - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
Number of position coordinates per vertex.
textureCoords - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
The SubMesh texture coordinates.
textureId - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
Texture ID.
TIME_END_OF_SOURCE - Static variable in class com.google.android.exoplayer2.C
Special constant representing a time corresponding to the end of a source.
TIME_UNSET - Static variable in class com.google.android.exoplayer2.C
Special constant representing an unset or unknown time or duration.
TimedValueQueue<V> - Class in com.google.android.exoplayer2.util
A utility class to keep a queue of values with timestamps.
TimedValueQueue() - Constructor for class com.google.android.exoplayer2.util.TimedValueQueue
 
TimedValueQueue(int) - Constructor for class com.google.android.exoplayer2.util.TimedValueQueue
Creates a TimedValueBuffer with the given initial buffer size.
timeline - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Timeline at the time of the event.
timeline - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The Timeline in which the seek was attempted.
timeline - Variable in class com.google.android.exoplayer2.source.ForwardingTimeline
 
Timeline - Class in com.google.android.exoplayer2
A flexible representation of the structure of media.
Timeline() - Constructor for class com.google.android.exoplayer2.Timeline
 
Timeline.Period - Class in com.google.android.exoplayer2
Holds information about a period in a Timeline.
Timeline.Window - Class in com.google.android.exoplayer2
Holds information about a window in a Timeline.
TIMELINE_CHANGE_REASON_DYNAMIC - Static variable in interface com.google.android.exoplayer2.Player
Timeline or manifest changed as a result of an dynamic update introduced by the played media.
TIMELINE_CHANGE_REASON_PREPARED - Static variable in interface com.google.android.exoplayer2.Player
Timeline and manifest changed as a result of a player initialization with new media.
TIMELINE_CHANGE_REASON_RESET - Static variable in interface com.google.android.exoplayer2.Player
Timeline and manifest changed as a result of a player reset.
timescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The track timescale, defined as the number of time units that pass in one second.
TimeSignalCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a time signal command as defined in SCTE35, Section 9.3.4.
TimestampAdjuster - Class in com.google.android.exoplayer2.util
Offsets timestamps according to an initial sample timestamp offset.
TimestampAdjuster(long) - Constructor for class com.google.android.exoplayer2.util.TimestampAdjuster
 
timestampSeeker - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
timesUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The start time of each chunk, in microseconds.
timeUs - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The time at which the sample should be presented.
timeUs - Variable in class com.google.android.exoplayer2.decoder.OutputBuffer
The presentation timestamp for the buffer, in microseconds.
timeUs - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.OutputFrameHolder
 
timeUs - Variable in class com.google.android.exoplayer2.extractor.SeekPoint
The time of the seek point, in microseconds.
timeUsToTargetTime(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
timeUsToTargetTime(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter
 
timeUsToTargetTime(long) - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekTimestampConverter
Converts a seek time in microseconds into target timestamp for the BinarySearchSeeker.
toArray() - Method in class com.google.android.exoplayer2.util.LongArray
Copies the current values into a newly allocated primitive array.
toArray(List<Integer>) - Static method in class com.google.android.exoplayer2.util.Util
Converts a list of integers to a primitive array.
toByteArray() - Method in class com.google.android.exoplayer2.offline.DownloadAction
Serializes itself into a byte array.
toByteArray(InputStream) - Static method in class com.google.android.exoplayer2.util.Util
Converts the entirety of an InputStream to a byte array.
toleranceAfterUs - Variable in class com.google.android.exoplayer2.SeekParameters
The maximum time that the actual position seeked to may exceed the requested seek position, in microseconds.
toleranceBeforeUs - Variable in class com.google.android.exoplayer2.SeekParameters
The maximum time that the actual position seeked to may precede the requested seek position, in microseconds.
toLogString(Format) - Static method in class com.google.android.exoplayer2.Format
Returns a prettier String than Format.toString(), intended for logging.
toLowerInvariant(String) - Static method in class com.google.android.exoplayer2.util.Util
Converts text to lower case using Locale.US.
toString() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
 
toString() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
toString() - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
toString() - Method in class com.google.android.exoplayer2.extractor.SeekPoint
 
toString() - Method in class com.google.android.exoplayer2.Format
 
toString() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
 
toString() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.Id3Frame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
toString() - Method in class com.google.android.exoplayer2.offline.StreamKey
 
toString() - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
toString() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
 
toString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
 
toString() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
totalBufferedDurationMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Total buffered duration from AnalyticsListener.EventTime.currentPlaybackPositionMs at the time of the event, in milliseconds.
totalCachedBytes() - Method in class com.google.android.exoplayer2.upstream.cache.CacheUtil.CachingCounters
totalSamples - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
toUpperInvariant(String) - Static method in class com.google.android.exoplayer2.util.Util
Converts text to upper case using Locale.US.
TRACE_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Whether the library was compiled with TraceUtil trace enabled.
TraceUtil - Class in com.google.android.exoplayer2.util
Calls through to Trace methods on supported API levels.
track(int, int) - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
track(int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Called by the Extractor to get the TrackOutput for a specific track.
Track - Class in com.google.android.exoplayer2.extractor.mp4
Encapsulates information describing an MP4 track.
Track(int, int, long, long, long, Format, int, TrackEncryptionBox[], int, long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Track
 
track(int, int) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
 
track(int, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
 
track(int, int) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper.TrackOutputProvider
Called to get the TrackOutput for a specific track.
Track.Transformation - Annotation Type in com.google.android.exoplayer2.extractor.mp4
The transformation to apply to samples in the track, if any.
TRACK_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.C
A type constant for audio tracks.
TRACK_TYPE_CAMERA_MOTION - Static variable in class com.google.android.exoplayer2.C
A type constant for camera motion tracks.
TRACK_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom TRACK_TYPE_* constants greater than or equal to this value.
TRACK_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
A type constant for tracks of some default type, where the type itself is unknown.
TRACK_TYPE_METADATA - Static variable in class com.google.android.exoplayer2.C
A type constant for metadata tracks.
TRACK_TYPE_NONE - Static variable in class com.google.android.exoplayer2.C
A type constant for a dummy or empty track.
TRACK_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.C
A type constant for text tracks.
TRACK_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
A type constant for tracks of unknown type.
TRACK_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.C
A type constant for video tracks.
TrackEncryptionBox - Class in com.google.android.exoplayer2.extractor.mp4
Encapsulates information parsed from a track encryption (tenc) box or sample group description (sgpd) box in an MP4 stream.
TrackEncryptionBox(boolean, String, int, byte[], int, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
 
trackFormat - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The format of the track to which this chunk belongs, or null if the chunk does not belong to a track.
trackFormat - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
The format of the track to which the data belongs.
TrackGroup - Class in com.google.android.exoplayer2.source
Defines a group of tracks exposed by a MediaPeriod.
TrackGroup(Format...) - Constructor for class com.google.android.exoplayer2.source.TrackGroup
 
TrackGroupArray - Class in com.google.android.exoplayer2.source
An array of TrackGroups exposed by a MediaPeriod.
TrackGroupArray(TrackGroup...) - Constructor for class com.google.android.exoplayer2.source.TrackGroupArray
 
TrackIdGenerator(int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
 
TrackIdGenerator(int, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
 
trackIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
The track index.
trackIndex - Variable in class com.google.android.exoplayer2.offline.TrackKey
The track index.
TrackKey - Class in com.google.android.exoplayer2.offline
Identifies a given track by the index of the containing period, the index of the containing group within the period, and the index of the track within the group.
TrackKey(int, int, int) - Constructor for class com.google.android.exoplayer2.offline.TrackKey
 
TrackOutput - Interface in com.google.android.exoplayer2.extractor
Receives track level data extracted by an Extractor.
TrackOutput.CryptoData - Class in com.google.android.exoplayer2.extractor
Holds data required to decrypt a sample.
tracks - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The indices of the selected tracks in BaseTrackSelection.group, in order of decreasing bandwidth.
tracks - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
TrackSelection - Interface in com.google.android.exoplayer2.trackselection
A track selection consisting of a static subset of selected tracks belonging to a TrackGroup, and a possibly varying individual selected track from the subset.
TrackSelection.Factory - Interface in com.google.android.exoplayer2.trackselection
Factory for TrackSelection instances.
TrackSelectionArray - Class in com.google.android.exoplayer2.trackselection
An array of TrackSelections.
TrackSelectionArray(TrackSelection...) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionArray
 
trackSelectionData - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
Optional data associated with the selection of the track to which this chunk belongs.
trackSelectionData - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
Optional data associated with the selection of the track to which the data belongs.
trackSelectionReason - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
One of the C SELECTION_REASON_* constants if the chunk belongs to a track.
trackSelectionReason - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
One of the C SELECTION_REASON_* constants if the data belongs to a track.
TrackSelector - Class in com.google.android.exoplayer2.trackselection
The component of an ExoPlayer responsible for selecting tracks to be consumed by each of the player's Renderers.
TrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelector
 
TrackSelector.InvalidationListener - Interface in com.google.android.exoplayer2.trackselection
Notified when selections previously made by a TrackSelector are no longer valid.
TrackSelectorResult - Class in com.google.android.exoplayer2.trackselection
The result of a TrackSelector operation.
TrackSelectorResult(RendererConfiguration[], TrackSelection[], Object) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectorResult
 
trackType - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
One of the C TRACK_TYPE_* constants if the data corresponds to media of a specific type.
transferEnded() - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that a transfer ended.
transferInitializing(DataSpec) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that data transfer for the specified DataSpec is being initialized.
TransferListener - Interface in com.google.android.exoplayer2.upstream
A listener of data transfer events.
transferStarted(DataSpec) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that data transfer for the specified DataSpec started.
TRANSFORMATION_CEA608_CDAT - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
A transformation for caption samples in cdat atoms.
TRANSFORMATION_NONE - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
A no-op sample transformation.
trim() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Hints to the allocator that it should make a best effort to release any excess Allocations.
trim() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
TRUEHD_RECHUNK_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
The number of samples to store in each output chunk when rechunking TrueHD streams.
TRUEHD_SYNCFRAME_PREFIX_LENGTH - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
The number of bytes that must be parsed from a TrueHD syncframe to calculate the sample count.
TS_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AAC_ADTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AAC_LATM - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_DVBSUBS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_E_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H262 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H264 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H265 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_HDMV_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_ID3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_MPA - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_MPA_LSF - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_SPLICE_INFO - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_SYNC_BYTE - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from the MPEG-2 TS container format.
TsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int, TimestampAdjuster, TsPayloadReader.Factory) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor.Mode - Annotation Type in com.google.android.exoplayer2.extractor.ts
Modes for the extractor.
TsPayloadReader - Interface in com.google.android.exoplayer2.extractor.ts
Parses TS packet payload data.
TsPayloadReader.DvbSubtitleInfo - Class in com.google.android.exoplayer2.extractor.ts
Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
TsPayloadReader.EsInfo - Class in com.google.android.exoplayer2.extractor.ts
Holds information associated with a PMT entry.
TsPayloadReader.Factory - Interface in com.google.android.exoplayer2.extractor.ts
Factory of TsPayloadReader instances.
TsPayloadReader.TrackIdGenerator - Class in com.google.android.exoplayer2.extractor.ts
Generates track ids for initializing TsPayloadReaders' TrackOutputs.
TsUtil - Class in com.google.android.exoplayer2.extractor.ts
Utilities method for extracting MPEG-TS streams.
TtmlDecoder - Class in com.google.android.exoplayer2.text.ttml
A SimpleSubtitleDecoder for TTML supporting the DFXP presentation profile.
TtmlDecoder() - Constructor for class com.google.android.exoplayer2.text.ttml.TtmlDecoder
 
tunneling - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports tunneling.
TUNNELING_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer does not support tunneled output.
TUNNELING_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
TUNNELING_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer supports tunneled output.
tunnelingAudioSessionId - Variable in class com.google.android.exoplayer2.RendererConfiguration
The audio session id to use for tunneling, or C.AUDIO_SESSION_ID_UNSET if tunneling should not be enabled.
tunnelingAudioSessionId - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
The audio session id to use when tunneling, or C.AUDIO_SESSION_ID_UNSET if tunneling is disabled.
Tx3gDecoder - Class in com.google.android.exoplayer2.text.tx3g
Tx3gDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
Sets up a new Tx3gDecoder with default values.
type - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
The type of the playback failure.
type - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
type - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
type - Variable in class com.google.android.exoplayer2.offline.DownloadAction.Deserializer
 
type - Variable in class com.google.android.exoplayer2.offline.DownloadAction
The type of the action.
type - Variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
The AdsMediaSource.AdLoadException.Type of the ad load exception.
type - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The type of the chunk.
type - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
type - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
The type of the data.
TYPE_AD - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when an ad failed to load.
TYPE_AD_GROUP - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when an ad group failed to load.
TYPE_ALL_ADS - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when all ad groups failed to load.
TYPE_CLOSE - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
TYPE_DASH - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for DASH manifests.
TYPE_HLS - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for HLS manifests.
TYPE_OPEN - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for files other than DASH, HLS or Smooth Streaming manifests.
TYPE_READ - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
TYPE_RENDERER - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error occurred in a Renderer.
TYPE_SOURCE - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error occurred loading data from a MediaSource.
TYPE_SS - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for Smooth Streaming manifests.
TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error was an unexpected RuntimeException.
TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when an unexpected error occurred while loading ads.
TYPE_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
An unset anchor or line type value.
typeface - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
The preferred typeface.

U

UdpDataSource - Class in com.google.android.exoplayer2.upstream
A UDP DataSource.
UdpDataSource() - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
 
UdpDataSource(int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
Constructs a new instance.
UdpDataSource(int, int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
Constructs a new instance.
UdpDataSource(TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
UdpDataSource(TransferListener, int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
UdpDataSource(TransferListener, int, int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
UdpDataSource.UdpDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an error is encountered when trying to read from a UdpDataSource.
UdpDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.UdpDataSource.UdpDataSourceException
 
uid - Variable in class com.google.android.exoplayer2.Timeline.Period
A unique identifier for the period.
underestimatedResult(long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
Returns a result to signal that the current position in the input stream underestimates the true position of the target frame, and the BinarySearchSeeker should modify its BinarySearchSeeker.SeekOperationParams's floor timestamp and byte position using the given values.
unescapeFileName(String) - Static method in class com.google.android.exoplayer2.util.Util
Unescapes an escaped file or directory name back to its original value.
unescapeStream(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Unescapes data up to the specified limit, replacing occurrences of [0, 0, 3] with [0, 0].
UnexpectedLoaderException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.Loader.UnexpectedLoaderException
 
UnhandledFormatException(int, int, int) - Constructor for exception com.google.android.exoplayer2.audio.AudioProcessor.UnhandledFormatException
 
uniqueProgramId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
The unique program id as defined in SCTE35, Section 9.3.3.
uniqueProgramId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
The unique program id as defined in SCTE35, Section 9.3.2.
UnrecognizedInputFormatException - Exception in com.google.android.exoplayer2.source
Thrown if the input format was not recognized.
UnrecognizedInputFormatException(String, Uri) - Constructor for exception com.google.android.exoplayer2.source.UnrecognizedInputFormatException
 
unregister() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
Unregisters the receiver, meaning it will no longer notify the listener when audio capability changes occur.
Unseekable(long) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
Unseekable(long, long) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
UnshuffledShuffleOrder(int) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
Creates an instance with a specified length.
UNSPECIFIED - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
UnsupportedDrmException - Exception in com.google.android.exoplayer2.drm
Thrown when the requested DRM scheme is not supported.
UnsupportedDrmException(int) - Constructor for exception com.google.android.exoplayer2.drm.UnsupportedDrmException
 
UnsupportedDrmException(int, Exception) - Constructor for exception com.google.android.exoplayer2.drm.UnsupportedDrmException
 
UnsupportedDrmException.Reason - Annotation Type in com.google.android.exoplayer2.drm
The reason for the exception.
update(byte[], int, int, byte[], int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
 
updateClipping(long, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
Updates the clipping start/end times for this period, in microseconds.
updateDroppedBufferCounters(int) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Updates decoder counters to reflect that droppedBufferCount additional buffers were dropped.
updateInPlace(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
 
updateOutputFormatForTime(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Polls the pending output format queue for a given buffer timestamp.
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
updateSelectedTrack(long, long, long) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Updates the selected track for sources that load media in discrete MediaChunks.
upstreamDiscarded(int, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onUpstreamDiscarded(int, MediaPeriodId, MediaLoadData).
upstreamDiscarded(MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Dispatches #onUpstreamDiscarded(int, MediaPeriodId, MediaLoadData).
uptimeMillis() - Method in interface com.google.android.exoplayer2.util.Clock
 
uri - Variable in class com.google.android.exoplayer2.offline.DownloadAction
The uri being downloaded or removed.
uri - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
The Uri from which data is being read.
uri - Variable in exception com.google.android.exoplayer2.source.UnrecognizedInputFormatException
The Uri from which the unrecognized data was read.
uri - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The source from which data should be read.
uris - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The URI of each ad in the ad group.
UriUtil - Class in com.google.android.exoplayer2.util
Utility methods for manipulating URIs.
url - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
UrlLinkFrame - Class in com.google.android.exoplayer2.metadata.id3
Url link ID3 frame.
UrlLinkFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
usage - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
USAGE_ALARM - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANCE_ACCESSIBILITY - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANCE_NAVIGATION_GUIDANCE - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANCE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANT - Static variable in class com.google.android.exoplayer2.C
 
USAGE_GAME - Static variable in class com.google.android.exoplayer2.C
 
USAGE_MEDIA - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_COMMUNICATION_DELAYED - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_COMMUNICATION_INSTANT - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_COMMUNICATION_REQUEST - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_EVENT - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_RINGTONE - Static variable in class com.google.android.exoplayer2.C
 
USAGE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
 
USAGE_VOICE_COMMUNICATION - Static variable in class com.google.android.exoplayer2.C
 
USAGE_VOICE_COMMUNICATION_SIGNALLING - Static variable in class com.google.android.exoplayer2.C
 
USE_TRACK_COLOR_SETTINGS - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
Use color setting specified by the track and fallback to default caption style.
USER_DATA_IDENTIFIER_GA94 - Static variable in class com.google.android.exoplayer2.text.cea.CeaUtil
 
USER_DATA_TYPE_CODE_MPEG_CC - Static variable in class com.google.android.exoplayer2.text.cea.CeaUtil
 
usToMs(long) - Static method in class com.google.android.exoplayer2.C
Converts a time in microseconds to the corresponding time in milliseconds, preserving C.TIME_UNSET and C.TIME_END_OF_SOURCE values.
usToPts(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
Converts a timestamp in microseconds to a 90 kHz clock timestamp.
utcSpliceTime - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
utcSpliceTime - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Represents the time of the signaled splice event as the number of seconds since 00 hours UTC, January 6th, 1980, with the count of intervening leap seconds included.
UTF16_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the UTF-16 charset.
UTF8_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the UTF-8 charset.
Util - Class in com.google.android.exoplayer2.util
Miscellaneous utility methods.
UUID_NIL - Static variable in class com.google.android.exoplayer2.C
The Nil UUID as defined by RFC4122.

V

validateWebvttHeaderLine(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Reads and validates the first line of a WebVTT file.
value - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The value for the event.
value - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
VERSION - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
The version of the library expressed as a string, for example "1.2.3".
version - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
MPEG audio header version.
version - Variable in class com.google.android.exoplayer2.offline.DownloadAction.Deserializer
 
version - Variable in class com.google.android.exoplayer2.offline.DownloadAction
The action version.
VERSION_INT - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
The version of the library expressed as an integer, for example 1002003.
VERSION_SLASHY - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
The version of the library expressed as "ExoPlayerLib/" + VERSION.
vertices - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
The SubMesh vertices.
VIDEO_H263 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_H264 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_H265 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MP4V - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MPEG2 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_SCALING_MODE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
A default video scaling mode for MediaCodec-based Renderers.
VIDEO_SCALING_MODE_SCALE_TO_FIT - Static variable in class com.google.android.exoplayer2.C
 
VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING - Static variable in class com.google.android.exoplayer2.C
 
VIDEO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
VIDEO_STREAM_MASK - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
VIDEO_TEXTURE_ID - Static variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
Texture ID for video frames.
VIDEO_UNKNOWN - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_VC1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_VP8 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_VP9 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VideoFrameMetadataListener - Interface in com.google.android.exoplayer2.video
A listener for metadata corresponding to video frame being rendered.
VideoFrameReleaseTimeHelper - Class in com.google.android.exoplayer2.video
Makes a best effort to adjust frame release timestamps for a smoother visual result.
VideoFrameReleaseTimeHelper() - Constructor for class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
Constructs an instance that smooths frame release timestamps but does not align them with the default display's vsync signal.
VideoFrameReleaseTimeHelper(Context) - Constructor for class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
Constructs an instance that smooths frame release timestamps and aligns them with the default display's vsync signal.
VideoListener - Interface in com.google.android.exoplayer2.video
A listener for metadata corresponding to video being rendered.
VideoRendererEventListener - Interface in com.google.android.exoplayer2.video
Listener of video Renderer events.
VideoRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.video
Dispatches events to a VideoRendererEventListener.
videoSizeChanged(int, int, int, float) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
viewportHeight - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Viewport height in pixels.
viewportOrientationMayChange - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether the viewport orientation may change during playback.
viewportWidth - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Viewport width in pixels.

W

w(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
w(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
waitUntilInitialized() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Blocks the calling thread until this adjuster is initialized.
warmDecoderInfoCache(String, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Optional call to warm the codec cache for a given mime type.
WAVE_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "WAVE".
WavExtractor - Class in com.google.android.exoplayer2.extractor.wav
Extracts data from WAV byte streams.
WavExtractor() - Constructor for class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
WavFileAudioBufferSink(String) - Constructor for class com.google.android.exoplayer2.audio.TeeAudioProcessor.WavFileAudioBufferSink
Creates a new audio buffer sink that writes to .wav files with the given prefix.
WavUtil - Class in com.google.android.exoplayer2.audio
Utilities for handling WAVE files.
WebvttCssStyle - Class in com.google.android.exoplayer2.text.webvtt
Style object of a Css style block in a Webvtt file.
WebvttCssStyle() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
WebvttCssStyle.FontSizeUnit - Annotation Type in com.google.android.exoplayer2.text.webvtt
Font size unit enum.
WebvttCssStyle.StyleFlags - Annotation Type in com.google.android.exoplayer2.text.webvtt
Style flag enum.
WebvttCue - Class in com.google.android.exoplayer2.text.webvtt
A representation of a WebVTT cue.
WebvttCue(CharSequence) - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCue
 
WebvttCue(long, long, CharSequence) - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCue
 
WebvttCue(long, long, CharSequence, Layout.Alignment, float, int, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCue
 
WebvttCue.Builder - Class in com.google.android.exoplayer2.text.webvtt
Builder for WebVTT cues.
WebvttCueParser - Class in com.google.android.exoplayer2.text.webvtt
Parser for WebVTT cues.
WebvttCueParser() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
 
WebvttDecoder - Class in com.google.android.exoplayer2.text.webvtt
A SimpleSubtitleDecoder for WebVTT.
WebvttDecoder() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
 
WebvttParserUtil - Class in com.google.android.exoplayer2.text.webvtt
Utility methods for parsing WebVTT data.
WIDEVINE_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the Widevine DRM scheme.
WidevineUtil - Class in com.google.android.exoplayer2.drm
Utility methods for Widevine.
width - Variable in class com.google.android.exoplayer2.Format
The width of the video in pixels, or Format.NO_VALUE if unknown or not applicable.
width - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
width - Variable in class com.google.android.exoplayer2.video.AvcConfig
 
width - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
window - Variable in class com.google.android.exoplayer2.BasePlayer
 
Window() - Constructor for class com.google.android.exoplayer2.Timeline.Window
 
windowColor - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
The preferred window color.
windowColor - Variable in class com.google.android.exoplayer2.text.Cue
The fill color of the window.
windowColorSet - Variable in class com.google.android.exoplayer2.text.Cue
Specifies whether or not the Cue.windowColor property is set.
windowIndex - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Window index in the timeline this event belongs to, or the prospective window index if the timeline is not yet known and empty.
windowIndex - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The index of the window being seeked to.
windowIndex - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
The timeline window index reported with the events.
windowIndex - Variable in class com.google.android.exoplayer2.Timeline.Period
The index of the window to which this period belongs.
windowSequenceNumber - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
The sequence number of the window in the buffered sequence of windows this media period is part of.
windowStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The window's start time in milliseconds since the epoch, or C.TIME_UNSET if unknown or not applicable.
withAdCount(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the ad count set to count.
withAdCount(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the number of ads in adGroupIndex resolved to adCount.
withAdDurationsUs(long[]) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the specified ad durations, in microseconds.
withAdDurationsUs(long[][]) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad durations, in microseconds.
withAdLoadError(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad marked as having a load error.
withAdResumePositionUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad resume position, in microseconds.
withAdState(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the specified ad set to the specified state.
withAdUri(Uri, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the specified uri set for the specified ad, and the ad marked as AdPlaybackState.AD_STATE_AVAILABLE.
withAdUri(int, int, Uri) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad URI.
withAllAdsSkipped() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns an instance with all unavailable and available ads marked as skipped.
withContentDurationUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified content duration, in microseconds.
withParameters(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Creates a view of the event dispatcher with pre-configured window index, media period id, and media time offset.
withPlayedAd(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad marked as played.
withSkippedAd(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad marked as skipped.
withSkippedAdGroup(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with all ads in the specified ad group skipped (except for those already marked as played or in the error state).
withUri(Uri) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a copy of this DataSpec with the specified Uri.
write(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
write(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
write(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
write(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.DataSink
Consumes the provided data.
writeBoolean(Parcel, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Writes a boolean to a Parcel.
WriteException(int) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.WriteException
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.Format
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.Metadata
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
writeToParcel(Parcel) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.source.TrackGroup
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.video.ColorInfo
 
writeToStream(DataOutputStream) - Method in class com.google.android.exoplayer2.offline.DownloadAction
Serializes itself into the output.
writeToStream(DataOutputStream) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloadAction
 
writeToStream(DataOutputStream) - Method in class com.google.android.exoplayer2.offline.SegmentDownloadAction
 
writeToStream(DataOutputStream) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Serializes itself to a DataOutputStream.

X

XmlPullParserUtil - Class in com.google.android.exoplayer2.util
XmlPullParser utility methods.
A B C D E F G H I K L M N O P Q R S T U V W X 
Skip navigation links