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
Facilitates the extraction of AC-3 samples from elementary audio files formatted as 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 (E-)AC-3 syncframes, which are access units in (E-)AC-3 bitstreams.
Ac3Util.Ac3SyncFrameInfo - Class in com.google.android.exoplayer2.audio
Holds sample format information as presented by a syncframe header.
accessibilityChannel - Variable in class com.google.android.exoplayer2.Format
The Accessibility channel, or Format.NO_VALUE if not known or applicable.
accessibilityDescriptors - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Accessibility descriptors in the adaptation set.
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.
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
 
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
 
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
 
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
 
AdaptationSet - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a set of interchangeable encoded versions of a media content component.
AdaptationSet(int, int, List<Representation>, List<Descriptor>, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
 
adaptationSetIndex - Variable in class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
adaptationSets - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The adaptation sets belonging to the period.
adaptive - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports seamless resolution switches.
ADAPTIVE_NOT_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer can adapt between formats, but may suffer a brief discontinuity (~50-100ms) when adaptation occurs.
ADAPTIVE_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer does not support adaptation between formats.
ADAPTIVE_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer can seamlessly adapt between formats.
ADAPTIVE_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
AdaptiveMediaSourceEventListener - Interface in com.google.android.exoplayer2.source
Interface for callbacks to be notified of adaptive MediaSource events.
AdaptiveMediaSourceEventListener.EventDispatcher - Class in com.google.android.exoplayer2.source
Dispatches events to a AdaptiveMediaSourceEventListener.
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, int, long, long, long, float) - 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.
addCallback(VideoAdPlayer.VideoAdPlayerCallback) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
addFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Adds the flag to this buffer's flags.
addListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
Register a listener to receive events from the player.
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Registers a listener to receive events from the playlist tracker.
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
 
addMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Appends a MediaSource to the playlist.
addMediaSource(int, MediaSource) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Adds a MediaSource to the playlist.
addMediaSources(Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Appends multiple MediaSources to the playlist.
addMediaSources(int, Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Adds multiple MediaSources to the playlist.
addMetadataOutput(MetadataRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Registers an output to receive metadata events.
addSample(int, float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
Adds a new weighted value.
addTextOutput(TextRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Registers an output to receive text events.
addVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Adds a listener to receive video events.
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.
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 sample 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.
AdtsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Facilitates the extraction of AAC samples from elementary audio files formatted as AAC with ADTS headers.
AdtsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
AdtsExtractor(long) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
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
 
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.
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_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_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
 
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.
ASPECT_RATIO_IDC_VALUES - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Aspect ratios indexed by aspect_ratio_idc, in H.264 and H.265 SPSs.
AspectRatioFrameLayout - Class in com.google.android.exoplayer2.ui
A FrameLayout that resizes itself to match a specified aspect ratio.
AspectRatioFrameLayout(Context) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
AspectRatioFrameLayout(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
AspectRatioFrameLayout.ResizeMode - Annotation Type in com.google.android.exoplayer2.ui
Resize modes for AspectRatioFrameLayout.
Assertions - Class in com.google.android.exoplayer2.util
Provides methods for asserting the truth of expressions and properties.
ASSERTIONS_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Whether the library was compiled with Assertions checks enabled.
AssetDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a local asset.
AssetDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
 
AssetDataSource(Context, TransferListener<? super AssetDataSource>) - 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.
attemptMerge(RangedUri, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Attempts to merge this RangedUri with another and an optional common base uri.
AUDIO_AAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_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_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.
AudioCapabilitiesReceiver - Class in com.google.android.exoplayer2.audio
Receives broadcast events indicating changes to the device's audio capabilities, notifying a AudioCapabilitiesReceiver.Listener when audio capability changes occur.
AudioCapabilitiesReceiver(Context, AudioCapabilitiesReceiver.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
 
AudioCapabilitiesReceiver.Listener - Interface in com.google.android.exoplayer2.audio
Listener notified when audio capabilities change.
AudioDecoderException - Exception in com.google.android.exoplayer2.audio
Thrown when an audio decoder error occurs.
AudioDecoderException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
 
AudioDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
 
AudioProcessor - Interface in com.google.android.exoplayer2.audio
Interface for audio processors.
AudioProcessor.UnhandledFormatException - Exception in com.google.android.exoplayer2.audio
Exception thrown when a processor can't be configured for a given input audio format.
AudioRendererEventListener - Interface in com.google.android.exoplayer2.audio
Listener of audio Renderer events.
AudioRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.audio
Dispatches events to a AudioRendererEventListener.
audios - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The list of demuxed audios declared by the playlist.
audioSessionId(int) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
AudioTrack - Class in com.google.android.exoplayer2.audio
Plays audio data.
AudioTrack(AudioCapabilities, AudioProcessor[], AudioTrack.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioTrack
 
AudioTrack.ConfigurationException - Exception in com.google.android.exoplayer2.audio
Thrown when a failure occurs configuring the track.
AudioTrack.InitializationException - Exception in com.google.android.exoplayer2.audio
Thrown when a failure occurs initializing an AudioTrack.
AudioTrack.InvalidAudioTrackTimestampException - Exception in com.google.android.exoplayer2.audio
Thrown when AudioTrack.getTimestamp(android.media.AudioTimestamp) returns a spurious timestamp, if AudioTrack#failOnSpuriousAudioTimestamp is set.
AudioTrack.Listener - Interface in com.google.android.exoplayer2.audio
Listener for audio track events.
AudioTrack.WriteException - Exception in com.google.android.exoplayer2.audio
Thrown when a failure occurs writing to an AudioTrack.
audioTrackState - Variable in exception com.google.android.exoplayer2.audio.AudioTrack.InitializationException
The state as reported by AudioTrack.getState().
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
 
autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
availabilityStartTime - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
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
 
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, int) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
 
BaseRenderer - Class in com.google.android.exoplayer2
An abstract base class suitable for most Renderer implementations.
BaseRenderer(int) - Constructor for class com.google.android.exoplayer2.BaseRenderer
 
BaseTrackSelection - Class in com.google.android.exoplayer2.trackselection
An abstract base class suitable for most TrackSelection implementations.
BaseTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
baseUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
The base uri.
baseUrl - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The base URL of the representation.
beginSection(String) - Static method in class com.google.android.exoplayer2.util.TraceUtil
Writes a trace message to indicate that a given section of code has begun.
BehindLiveWindowException - Exception in com.google.android.exoplayer2.source
Thrown when a live playback falls behind the available media window.
BehindLiveWindowException() - Constructor for exception com.google.android.exoplayer2.source.BehindLiveWindowException
 
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.
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
 
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) for the specified period of time.
block() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Blocks until the condition is opened.
blockingSendMessages(ExoPlayer.ExoPlayerMessage...) - Method in interface com.google.android.exoplayer2.ExoPlayer
Variant of ExoPlayer.sendMessages(ExoPlayerMessage...) that blocks until after the messages have been delivered.
blockingSendMessages(ExoPlayer.ExoPlayerMessage...) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
bottomFieldPicOrderInFramePresentFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
breakDuration - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
breakDuration - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
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.
buildAacAudioSpecificConfig(int, int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Builds a simple AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
buildAacLcAudioSpecificConfig(int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Builds a simple HE-AAC LC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
buildAdaptationSet(int, int, List<Representation>, List<Descriptor>, List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
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.
Builder() - Constructor for class com.google.android.exoplayer2.audio.AudioAttributes.Builder
Creates a new builder for AudioAttributes.
buildFormat(String, String, int, int, float, int, int, int, String, int, List<Descriptor>, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildMediaPresentationDescription(long, long, long, boolean, long, long, long, UtcTimingElement, Uri, List<Period>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildMetadataRenderers(Context, MetadataRenderer.Output, 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.
buildPeriod(String, long, List<AdaptationSet>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildPsshAtom(UUID, byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Builds a PSSH atom for a given UUID containing the given scheme specific data.
buildRangedUri(String, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildRawResourceUri(int) - Static method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
Builds a Uri for the specified raw resource identifier.
buildRepresentation(DashManifestParser.RepresentationInfo, String, ArrayList<DrmInitData.SchemeData>, ArrayList<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildRequestUri(int, int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Builds a uri for requesting the specified chunk of the specified track.
buildSegmentList(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, List<RangedUri>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildSegmentTemplate(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, UrlTemplate, UrlTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildSegmentTimelineElement(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildSingleSegmentBase(RangedUri, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildTextRenderers(Context, TextRenderer.Output, Looper, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds text renderers for use by the player.
buildUri(String, int, int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Constructs a Uri from the template, substituting in the provided arguments.
buildUtcTimingElement(String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildVideoRenderers(Context, 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
 
byterangeLength - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The segment's byte range length, as defined by #EXT-X-BYTERANGE, or C.LENGTH_UNSET if no byte range is specified.
byterangeOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The segment's byte range offset, as defined by #EXT-X-BYTERANGE.
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() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
 
bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
bytesLoaded() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the number of bytes loaded.
bytesRead() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Returns the number of bytes that have been read since the most recent call to OkHttpDataSource.open(DataSpec).
bytesRead() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
Returns the total number of bytes that have been read or skipped.
bytesRead() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the number of bytes that have been read since the most recent call to DefaultHttpDataSource.open(DataSpec).
bytesRemaining() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Returns the number of bytes that are still to be read for the current DataSpec.
bytesRemaining() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the number of bytes that are still to be read for the current DataSpec.
bytesSkipped() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Returns the number of bytes that have been skipped since the most recent call to OkHttpDataSource.open(DataSpec).
bytesSkipped() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the number of bytes that have been skipped since the most recent call to DefaultHttpDataSource.open(DataSpec).

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.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.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) - 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, 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.
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, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when IOException is encountered when writing data into sink.
CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
 
CacheDataSinkFactory - Class in com.google.android.exoplayer2.upstream.cache
A DataSink.Factory that produces CacheDataSink.
CacheDataSinkFactory(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
 
CacheDataSinkFactory(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
 
CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
A DataSource that reads and writes a Cache.
CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, 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.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(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
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
 
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.
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.
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.
canReconfigureCodec(MediaCodec, boolean, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Determines whether the existing MediaCodec should be reconfigured for a new format by sending codec specific initialization data at the start of the next input buffer.
canReconfigureCodec(MediaCodec, boolean, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
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.
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) - Constructor for class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
CeaOutputBuffer - Class in com.google.android.exoplayer2.text.cea
A SubtitleOutputBuffer for CeaDecoders.
CeaOutputBuffer(CeaDecoder) - Constructor for class com.google.android.exoplayer2.text.cea.CeaOutputBuffer
 
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.
CHANNEL_OUT_7POINT1_SURROUND - Static variable in class com.google.android.exoplayer2.C
 
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.Ac3SyncFrameInfo
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.
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.
checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
children - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
Chunk - Class in com.google.android.exoplayer2.source.chunk
An abstract base class for Loader.Loadable implementations that load chunks of data required for the playback of streams.
Chunk(DataSource, DataSpec, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
 
chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
The chunk.
chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
ChunkedTrackBlacklistUtil - Class in com.google.android.exoplayer2.source.chunk
Helper class for blacklisting tracks in a TrackSelection when 404 (Not Found) and 410 (Gone) HTTP response codes are encountered.
ChunkExtractorWrapper - Class in com.google.android.exoplayer2.source.chunk
An Extractor wrapper for loading chunks containing a single track.
ChunkExtractorWrapper(Extractor, 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.
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[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, int, AdaptiveMediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
ChunkSampleStream.EmbeddedSampleStream - Class in com.google.android.exoplayer2.source.chunk
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.text.SubtitleOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Clears all request properties.
clearAllDefaultRequestProperties() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
Deprecated.
clearAllDefaultRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
clearAllKeyRequestProperties() - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears all headers for key requests made by the callback.
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears all request headers that were set by HttpDataSource.setRequestProperty(String, String).
clearAndSet(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Removes all properties previously existing and sets the keys and values of the map.
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.
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(MetadataRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears the value of a request header.
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Clears a track selection override for the specified renderer and TrackGroupArray.
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Clears all track selection overrides for the specified renderer.
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Clears all track selection overrides for all renderers.
clearTextOutput(TextRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
clearVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Clears any Surface, SurfaceHolder, SurfaceView or TextureView currently set on the player.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Clears the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Clears the SurfaceHolder that holds the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Clears the SurfaceView onto which video is being rendered if it matches the one passed.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Clears the TextureView onto which video is being rendered if it matches the one passed.
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) - 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.
ClippingMediaSource(MediaSource, long, long, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source.
Clock - Interface in com.google.android.exoplayer2.util
An interface through which system clocks can be read.
close() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
close() - Method in 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 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.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
 
CodecMaxValues(int, int, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
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.
ColorParser() - Constructor for class com.google.android.exoplayer2.util.ColorParser
 
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.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.ext.ffmpeg - package com.google.android.exoplayer2.ext.ffmpeg
 
com.google.android.exoplayer2.ext.flac - package com.google.android.exoplayer2.ext.flac
 
com.google.android.exoplayer2.ext.gvr - package com.google.android.exoplayer2.ext.gvr
 
com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
 
com.google.android.exoplayer2.ext.mediasession - package com.google.android.exoplayer2.ext.mediasession
 
com.google.android.exoplayer2.ext.okhttp - package com.google.android.exoplayer2.ext.okhttp
 
com.google.android.exoplayer2.ext.opus - package com.google.android.exoplayer2.ext.opus
 
com.google.android.exoplayer2.ext.rtmp - package com.google.android.exoplayer2.ext.rtmp
 
com.google.android.exoplayer2.ext.vp9 - package com.google.android.exoplayer2.ext.vp9
 
com.google.android.exoplayer2.extractor - package com.google.android.exoplayer2.extractor
 
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.source - package com.google.android.exoplayer2.source
 
com.google.android.exoplayer2.source.chunk - package com.google.android.exoplayer2.source.chunk
 
com.google.android.exoplayer2.source.dash - package com.google.android.exoplayer2.source.dash
 
com.google.android.exoplayer2.source.dash.manifest - package com.google.android.exoplayer2.source.dash.manifest
 
com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
 
com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
 
com.google.android.exoplayer2.source.smoothstreaming - package com.google.android.exoplayer2.source.smoothstreaming
 
com.google.android.exoplayer2.source.smoothstreaming.manifest - package com.google.android.exoplayer2.source.smoothstreaming.manifest
 
com.google.android.exoplayer2.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.ssa - package com.google.android.exoplayer2.text.ssa
 
com.google.android.exoplayer2.text.subrip - package com.google.android.exoplayer2.text.subrip
 
com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
 
com.google.android.exoplayer2.text.tx3g - package com.google.android.exoplayer2.text.tx3g
 
com.google.android.exoplayer2.text.webvtt - package com.google.android.exoplayer2.text.webvtt
 
com.google.android.exoplayer2.trackselection - package com.google.android.exoplayer2.trackselection
 
com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
 
com.google.android.exoplayer2.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
 
commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
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
 
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
 
compareTo(RepresentationKey) - Method in class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
compareTo(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.SubtitleInputBuffer
 
compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
 
compile(String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Compile an instance from the provided template string.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
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
 
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
 
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
 
ConditionVariable - Class in com.google.android.exoplayer2.util
A 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.AudioTrack.ConfigurationException
 
ConfigurationException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioTrack.ConfigurationException
 
configure(int, int, int) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Configures the processor to process input audio with the specified format.
configure(String, int, int, int, int) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Configures (or reconfigures) the audio track.
configure(String, int, int, int, int, int[]) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Configures (or reconfigures) the audio track.
configure(int, int, int) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
configure(int, int, int) - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Configures a newly created MediaCodec.
configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
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.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.
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, int, 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(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.MappingTrackSelector.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<? super ContentDataSource>) - 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
 
contentId - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
Identifies the piece of content to which this Representation belongs.
contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
The content length, or C.LENGTH_UNSET if unknown.
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.
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.hls.HlsMediaPeriod
 
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to continue loading.
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Attempts to continue loading.
copy(List<RepresentationKey>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
Creates a copy of this manifest which includes only the representations identified by the given keys.
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except for the start time, the discontinuity sequence and hasDiscontinuitySequence values.
copyWithContainerInfo(String, String, int, int, int, int, String) - Method in class com.google.android.exoplayer2.Format
 
copyWithDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format
 
copyWithEndTag() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except that an end tag is added.
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
 
copyWithMediaTimeOffsetMs(long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
copyWithMetadata(Metadata) - Method in class com.google.android.exoplayer2.Format
 
copyWithPeriodIndex(int) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Returns a copy of this period identifier but with newPeriodIndex as its period index.
copyWithSchemeType(String) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Returns a copy of the DrmInitData instance whose DrmInitData.SchemeDatas have been updated to have the specified scheme type.
copyWithSchemeType(String) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns a copy of the DrmInitData.SchemeData instance with the given scheme type.
copyWithSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format
 
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.
createAudioContainerFormat(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
 
createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TrackEncryptionBox[]) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
 
createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TrackEncryptionBox[]) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource.Factory
 
createContainerFormat(String, String, String, String, int, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, long, boolean, boolean) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
 
createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
 
createDataSink() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
 
createDataSink() - Method in interface com.google.android.exoplayer2.upstream.DataSink.Factory
Creates a DataSink instance.
createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
 
createDataSource(int) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
createDataSource(int) - Method in interface com.google.android.exoplayer2.source.hls.HlsDataSourceFactory
Creates a DataSource for the given data type.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
Creates a DataSource instance.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
createDecoder(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
Creates a MetadataDecoder for the given Format.
createDecoder(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Creates a SubtitleDecoder for the given Format.
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.
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.
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
 
createImageSampleFormat(String, String, String, 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(UUID, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
createMediaCrypto(UUID, byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
createMediaPlaylistHlsUrl(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
Creates an HLS url from a given http url.
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.ext.ima.ImaAdsMediaSource
 
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, Allocator) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 
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.hls.HlsMediaSource
 
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
 
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextRenderer.Output, MetadataRenderer.Output) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
 
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextRenderer.Output, MetadataRenderer.Output) - Method in interface com.google.android.exoplayer2.RenderersFactory
Builds the Renderer instances for a SimpleExoPlayer.
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
 
createSingleVariantMasterPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Creates a playlist with a single variant.
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
createTempDirectory(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates an empty directory in the directory returned by Context.getCacheDir().
createTextContainerFormat(String, String, String, String, int, int, String) - Static method in class com.google.android.exoplayer2.Format
 
createTextContainerFormat(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.MpegAudioReader
 
createTrackSelection(TrackGroup, int...) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
createTrackSelection(TrackGroup, int...) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
 
createTrackSelection(TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
Creates an selection from this override.
createTrackSelection(TrackGroup, int...) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
createTrackSelection(TrackGroup, int...) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection.Factory
Creates a new selection.
createVideoContainerFormat(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.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.dash.manifest.RepresentationKey
 
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, 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.
CURRENT_POSITION_NOT_SET - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
Returned by AudioTrack.getCurrentPositionUs(boolean) when the position is not set.

D

DashChunkSource - Interface in com.google.android.exoplayer2.source.dash
An ChunkSource for DASH streams.
DashChunkSource.Factory - Interface in com.google.android.exoplayer2.source.dash
 
DashManifest - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a DASH media presentation description (mpd).
DashManifest(long, long, long, boolean, long, long, long, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
A parser of media presentation description files.
DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Equivalent to calling new DashManifestParser(null).
DashManifestParser(String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
DashMediaSource - Class in com.google.android.exoplayer2.source.dash
A DASH MediaSource.
DashMediaSource(DashManifest, DashChunkSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Constructs an instance to play a given DashManifest, which must be static.
DashMediaSource(DashManifest, DashChunkSource.Factory, int, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Constructs an instance to play a given DashManifest, which must be static.
DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Constructs an instance to play the manifest at a given Uri, which may be dynamic or static.
DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, int, long, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Constructs an instance to play the manifest at a given Uri, which may be dynamic or static.
DashMediaSource(Uri, DataSource.Factory, ParsingLoadable.Parser<? extends DashManifest>, DashChunkSource.Factory, int, long, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
Constructs an instance to play the manifest at a given Uri, which may be dynamic or static.
DashSegmentIndex - Interface in com.google.android.exoplayer2.source.dash
Indexes the segments within a media stream.
DashUtil - Class in com.google.android.exoplayer2.source.dash
Utility methods for DASH streams.
DashWrappingSegmentIndex - Class in com.google.android.exoplayer2.source.dash
An implementation of DashSegmentIndex that wraps a ChunkIndex parsed from a media stream.
DashWrappingSegmentIndex(ChunkIndex) - Constructor for class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
data - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The buffer's data, or null if no data has been set.
data - Variable in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
 
data - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The initialization data.
data - Variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
data - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
data - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
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_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_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
 
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.source.chunk.Chunk
The DataSpec that defines the data to be loaded.
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
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.
DEAFULT_SOCKET_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
The default socket timeout, in milliseconds.
DebugTextViewHelper - Class in com.google.android.exoplayer2.ui
A helper class for periodically updating a TextView with debug information obtained from a SimpleExoPlayer.
DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
decode(I, O, boolean) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Decodes the inputBuffer and stores any decoded output in outputBuffer.
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
decode(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(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
 
Decoder<I,O,E extends Exception> - Interface in com.google.android.exoplayer2.decoder
A media decoder.
DecoderCounters - Class in com.google.android.exoplayer2.decoder
Maintains decoder event counts, for debugging purposes only.
DecoderCounters() - Constructor for class com.google.android.exoplayer2.decoder.DecoderCounters
 
decoderCounters - Variable in class com.google.android.exoplayer2.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.
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.
DEFAULT - Static variable in class com.google.android.exoplayer2.RendererConfiguration
The default configuration.
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 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_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_BOTTOM_PADDING_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
The default bottom padding to apply when Cue.line is Cue.DIMEN_UNSET, as a fraction of the viewport height.
DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default duration of media that must be buffered for playback to resume after a rebuffer, in milliseconds.
DEFAULT_BUFFER_FOR_PLAYBACK_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.
DEFAULT_BUFFER_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil
Default buffer size to be used while caching.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
The default connection timeout, in milliseconds.
DEFAULT_CONTROL_DISPATCHER - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
Default PlaybackControlView.ControlDispatcher that dispatches operations to the player without modification.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
The default fast forward increment, in milliseconds.
DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
The default fast forward increment, in milliseconds.
DEFAULT_LIVE_PRESENTATION_DELAY_FIXED_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
A fixed default presentation delay for live streams.
DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
The default presentation delay for live streams.
DEFAULT_LIVE_PRESENTATION_DELAY_PREFER_MANIFEST_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
A constant indicating that the presentation delay for live streams should be set to DashManifest.suggestedPresentationDelay if specified by the manifest, or DashMediaSource.DEFAULT_LIVE_PRESENTATION_DELAY_FIXED_MS otherwise.
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_INITIAL_BITRATE - 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_QUEUE_SIZE - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
DEFAULT_MAX_WEIGHT - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
The default maximum weight for the sliding window.
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.source.dash.DashMediaSource
The default minimum number of times to retry loading data prior to failing.
DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.hls.HlsMediaSource
The default minimum number of times to retry loading data prior to failing.
DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.SingleSampleMediaSource
The default minimum number of times to retry loading data prior to failing.
DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
The default minimum number of times to retry loading data prior to failing.
DEFAULT_MIN_LOADABLE_RETRY_COUNT_LIVE - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
The default minimum number of times to retry loading prior to failing for live streams.
DEFAULT_MIN_LOADABLE_RETRY_COUNT_ON_DEMAND - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
The default minimum number of times to retry loading prior to failing for on-demand streams.
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_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
The default read timeout, in milliseconds.
DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
The default repeat toggle modes.
DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
The default repeat toggle modes.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
The default rewind increment, in milliseconds.
DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
The default rewind increment, in milliseconds.
DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
The default show timeout, in milliseconds.
DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
A default size in bytes for a text buffer.
DEFAULT_TEXT_SIZE_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
The default fractional text size.
DEFAULT_TRACK_BLACKLIST_MS - Static variable in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
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.
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.
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
 
DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener, int, Clock) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
DefaultDashChunkSource - Class in com.google.android.exoplayer2.source.dash
A default DashChunkSource implementation.
DefaultDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, DataSource, long, int, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
DefaultDashChunkSource.Factory - Class in com.google.android.exoplayer2.source.dash
 
DefaultDashChunkSource.RepresentationHolder - Class in com.google.android.exoplayer2.source.dash
Holds information about a single Representation.
DefaultDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource that supports multiple URI schemes.
DefaultDataSource(Context, TransferListener<? super DataSource>, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance, optionally configured to follow cross-protocol redirects.
DefaultDataSource(Context, TransferListener<? super DataSource>, 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, TransferListener<? super DataSource>, 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.
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<? super DataSource>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
DefaultDataSourceFactory(Context, TransferListener<? super DataSource>, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
DefaultDrmSessionManager<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
A DrmSessionManager that supports playbacks using MediaDrm.
DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>, Handler, DefaultDrmSessionManager.EventListener) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
DefaultDrmSessionManager.EventListener - Interface in com.google.android.exoplayer2.drm
Listener of DefaultDrmSessionManager events.
DefaultDrmSessionManager.Mode - Annotation Type in com.google.android.exoplayer2.drm
Determines the action to be done after a session acquired.
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) FLAC (only available if the FLAC extension is built and included)
DefaultExtractorsFactory() - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
DefaultHlsDataSourceFactory - Class in com.google.android.exoplayer2.source.hls
Default implementation of HlsDataSourceFactory.
DefaultHlsDataSourceFactory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
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>, TransferListener<? super DefaultHttpDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
DefaultHttpDataSource(String, Predicate<String>, TransferListener<? super DefaultHttpDataSource>, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
DefaultHttpDataSource(String, Predicate<String>, TransferListener<? super DefaultHttpDataSource>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
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<? super DataSource>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
Constructs a DefaultHttpDataSourceFactory.
DefaultHttpDataSourceFactory(String, TransferListener<? super DataSource>, 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.initializationVectorSize 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
Constructs a new instance, using the DEFAULT_* constants defined in this class.
DefaultLoadControl(DefaultAllocator, int, int, long, long) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Constructs a new instance.
DefaultLoadControl(DefaultAllocator, int, int, long, long, PriorityTaskManager) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Constructs a new instance.
DefaultPlaybackController - Class in com.google.android.exoplayer2.ext.mediasession
A default implementation of MediaSessionConnector.PlaybackController.
DefaultPlaybackController() - Constructor for class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
Creates a new instance.
DefaultPlaybackController(long, long) - Constructor for class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
Creates a new instance with the given fast forward and rewind increments.
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, DrmSessionManager<FrameworkMediaCrypto>, int) - 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.
DefaultSsChunkSource - Class in com.google.android.exoplayer2.source.smoothstreaming
A default SsChunkSource implementation.
DefaultSsChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, DataSource, TrackEncryptionBox[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
DefaultSsChunkSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
 
DefaultTimeBar - Class in com.google.android.exoplayer2.ui
A time bar that shows a current position, buffered position, duration and ad markers.
DefaultTimeBar(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
Creates a new time bar.
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 does not support adaptive track selection.
DefaultTrackSelector(BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Constructs an instance that supports adaptive track selection.
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.Parameters - Class in com.google.android.exoplayer2.trackselection
Constraint parameters for DefaultTrackSelector.
DefaultTsPayloadReaderFactory - Class in com.google.android.exoplayer2.extractor.ts
Default implementation for TsPayloadReader.Factory.
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.
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.Metadata
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
describeContents() - Method in class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
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.TextInformationFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
Descriptor - Class in com.google.android.exoplayer2.source.dash.manifest
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
Descriptor(String, String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
descriptorBytes - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
DEVICE - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.DEVICE, but in a place where it can be conveniently overridden for local testing.
DEVICE_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 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.video.VideoFrameReleaseTimeHelper
Disables the helper.
disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
disableTunneling() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Disables tunneling.
discardBuffer(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
discardBuffer(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
discardBuffer(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Discards buffered media up to the specified position.
discardEmbeddedTracksTo(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Discards buffered media for embedded tracks, 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.
discontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The discontinuity sequence number of the first media segment in the playlist, as defined by #EXT-X-DISCONTINUITY-SEQUENCE.
dispatchDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.SubtitleView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Called to process media key events.
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Called to process media key events.
dispatchSeekTo(Player, int, long) - Method in interface com.google.android.exoplayer2.ui.PlaybackControlView.ControlDispatcher
Dispatches a Player.seekTo(int, long) operation.
dispatchSetPlayWhenReady(Player, boolean) - Method in interface com.google.android.exoplayer2.ui.PlaybackControlView.ControlDispatcher
Dispatches a Player.setPlayWhenReady(boolean) operation.
dispatchSetRepeatMode(Player, int) - Method in interface com.google.android.exoplayer2.ui.PlaybackControlView.ControlDispatcher
Dispatches a Player.setRepeatMode(int) operation.
displayHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
displayWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
DO_NOT_OFFSET - Static variable in class com.google.android.exoplayer2.util.TimestampAdjuster
A special firstSampleTimestampUs value indicating that presentation timestamps should not be offset.
DONT_RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
 
DONT_RETRY_FATAL - Static variable in class com.google.android.exoplayer2.upstream.Loader
 
downloadLicense(DrmInitData) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Downloads an offline license.
downstreamFormatChanged(int, Format, int, Object, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
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(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.
droppedFrames(int, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
droppedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of dropped output buffers.
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.
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
 
duration - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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.
durationUs - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The duration of the track in microseconds, or C.TIME_UNSET if unknown.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The total duration of the playlist in microseconds.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The duration of the segment in microseconds, as defined by #EXTINF.
durationUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The overall presentation duration of the media in microseconds, or C.TIME_UNSET if the duration is unknown.
durationUs - Variable in class com.google.android.exoplayer2.Timeline.Period
The duration of this period in microseconds, or C.TIME_UNSET if unknown.
durationUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The duration of this window in microseconds, or C.TIME_UNSET if unknown.
durationUs() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
 
DvbDecoder - Class in com.google.android.exoplayer2.text.dvb
A SimpleSubtitleDecoder for DVB Subtitles.
DvbDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.dvb.DvbDecoder
 
DvbSubtitleInfo(String, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
dvbSubtitleInfos - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
DvbSubtitleReader - Class in com.google.android.exoplayer2.extractor.ts
Parses DVB subtitle data and extracts individual frames.
DvbSubtitleReader(List<TsPayloadReader.DvbSubtitleInfo>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
dvrWindowLengthUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The length of the trailing window for a live broadcast in microseconds, or C.TIME_UNSET if the stream is not live or if the window length is unspecified.
dynamic - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
DynamicConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
Concatenates multiple MediaSources.
DynamicConcatenatingMediaSource() - Constructor for class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 

E

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.
elapsedRealtime() - Method in interface com.google.android.exoplayer2.util.Clock
 
ElementaryStreamReader - Interface in com.google.android.exoplayer2.extractor.ts
Extracts individual samples from an elementary media stream, preserving original order.
elementId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
EmbeddedSampleStream(ChunkSampleStream<T>, SampleQueue, int) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
EMPTY - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
The empty array.
EMPTY - Static variable in class com.google.android.exoplayer2.Timeline
An empty timeline.
EMPTY_BUFFER - Static variable in interface com.google.android.exoplayer2.audio.AudioProcessor
An empty, direct ByteBuffer.
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 interface com.google.android.exoplayer2.Renderer
Enables the renderer to consume from the specified SampleStream.
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.AudioTrack
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 class com.google.android.exoplayer2.audio.AudioTrack
Enables tunneling.
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 samples to trim from the start of the decoded audio stream.
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 samples to trim from the end of the decoded audio stream.
ENCODING_AC3 - 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
 
encryptedBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
encryptedBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of encrypted blocks in the encryption pattern, 0 if pattern encryption does not apply.
encryptionIV - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The encryption initialization vector as defined by #EXT-X-KEY, or null if the segment is not encrypted.
encryptionKey - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The encryption key associated with the sample.
encryptionKeyUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The encryption key uri as defined by #EXT-X-KEY, or null if the segment is not encrypted.
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.
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.
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 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.drm.DrmInitData
 
equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
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.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.PlaybackParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.RendererConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
 
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.TrackSelectionArray
 
equals(Object) - Method in class com.google.android.exoplayer2.video.ColorInfo
 
errorCode - Variable in exception com.google.android.exoplayer2.audio.AudioTrack.WriteException
errorCode - Variable in exception com.google.android.exoplayer2.drm.DecryptionException
A component specific error code.
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.
EventDispatcher(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
 
EventDispatcher(Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
EventDispatcher(Handler, AdaptiveMediaSourceEventListener, long) - Constructor for class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
EventDispatcher(Handler, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
 
EventMessage - Class in com.google.android.exoplayer2.metadata.emsg
An Event Message (emsg) as defined in ISO 23009-1.
EventMessage(String, String, long, long, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
EventMessageDecoder - Class in com.google.android.exoplayer2.metadata.emsg
Decodes Event Message (emsg) atoms, as defined in ISO 23009-1.
EventMessageDecoder() - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
events - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
 
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
Whether to exceed video constraints when no selection can be made otherwise.
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
Executes a key request.
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
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 - Interface in com.google.android.exoplayer2.drm
 
ExoMediaDrm.OnEventListener<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
 
ExoMediaDrm.ProvisionRequest - Interface 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
A component of an ExoPlayer that can receive messages on the playback thread.
ExoPlayer.ExoPlayerMessage - Class in com.google.android.exoplayer2
Defines a message and a target ExoPlayer.ExoPlayerComponent to receive it.
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(ExoPlayer.ExoPlayerComponent, 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
 
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
 
ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, Handler, ExtractorMediaSource.EventListener, String) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
 
ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, int, Handler, ExtractorMediaSource.EventListener, String, int) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
 
ExtractorMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
Listener of ExtractorMediaSource events.
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 Extractors.
EXTRAS_PITCH - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
 

F

FACTORY - Static variable in class com.google.android.exoplayer2.ext.flac.FlacExtractor
Factory that returns one extractor which is a FlacExtractor.
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.dash.DefaultDashChunkSource.Factory
 
Factory(DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
 
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
 
Factory(BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
Factory(BandwidthMeter, int, int, int, int, float) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
 
Factory(int, Object) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
 
factory - Variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
 
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 that produces DummyDataSource.
failOnSpuriousAudioTimestamp - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
fastForwardIncrementMs - Variable in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
FfmpegAudioRenderer - Class in com.google.android.exoplayer2.ext.ffmpeg
Decodes and renders audio using FFmpeg.
FfmpegAudioRenderer() - Constructor for class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
FfmpegAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
FfmpegDecoderException - Exception in com.google.android.exoplayer2.ext.ffmpeg
Thrown when an FFmpeg decoder error occurs.
FfmpegLibrary - Class in com.google.android.exoplayer2.ext.ffmpeg
Configures and queries the underlying native library.
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<? super FileDataSource>) - 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<? super FileDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.FileDataSourceFactory
 
filename - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
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.
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
Factory for FixedTrackSelection instances.
FlacDecoderException - Exception in com.google.android.exoplayer2.ext.flac
Thrown when an Flac decoder error occurs.
FlacExtractor - Class in com.google.android.exoplayer2.ext.flac
Facilitates the extraction of data from the FLAC container format.
FlacExtractor() - Constructor for class com.google.android.exoplayer2.ext.flac.FlacExtractor
 
FlacLibrary - Class in com.google.android.exoplayer2.ext.flac
Configures and queries the underlying native library.
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
 
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
 
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
 
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_CEA608_TRACK - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to indicate that the extractor should output a CEA-608 text track.
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_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
 
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
 
FLAG_IGNORE_SPLICE_INFO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
FLAG_OVERRIDE_CAPTION_DESCRIPTORS - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
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_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.SonicAudioProcessor
 
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.ext.gvr.GvrAudioProcessor
 
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
 
FlvExtractor - Class in com.google.android.exoplayer2.extractor.flv
Facilitates the extraction of data from the FLV container format.
FlvExtractor() - Constructor for class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
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 - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The format of the representation.
format - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
Format information associated with the HLS url.
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 capability.
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 the drm scheme used 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.
FormatHolder - Class in com.google.android.exoplayer2
Holds a Format.
FormatHolder() - Constructor for class com.google.android.exoplayer2.FormatHolder
 
formats - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
FragmentedMp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
Facilitates the extraction of data from the fragmented mp4 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) - 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.
frameSize - Variable in class com.google.android.exoplayer2.audio.Ac3Util.Ac3SyncFrameInfo
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.
FrameworkMediaDrm - Class in com.google.android.exoplayer2.drm
An ExoMediaDrm implementation that wraps the framework MediaDrm.

G

GAPLESS_INFO_ID3_FRAME_PREDICATE - Static variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
A Id3Decoder.FramePredicate suitable for use when decoding Metadata that will be passed to GaplessInfoHolder.setFromMetadata(Metadata).
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 AudioTrack session identifier.
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
Retrieves data for a given DRM scheme, specified by its UUID.
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(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.
getActiveQueueItemId(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Gets the id of the currently active queue item, or MediaSessionCompat.QueueItem#UNKNOWN_ID if the active item is unknown.
getActiveQueueItemId(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
getAdaptationSetIndex(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Period
Returns the index of the first adaptation set of a given type, or C.INDEX_UNSET if no adaptation set of the specified type exists.
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.Timeline.Period
Returns the index of the next unplayed ad group after positionUs.
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.
getAdjuster(int) - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.
getAdProgress() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
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.
getAttributeValue(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 class com.google.android.exoplayer2.SimpleExoPlayer
Returns the attributes for audio playback.
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.
getAudioSessionId() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns the audio session identifier, or C.AUDIO_SESSION_ID_UNSET if not set.
getAudioStreamType() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
getAudioUsageForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.AudioUsage corresponding to the specified C.StreamType.
getBitrateEstimate() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Returns the estimated bandwidth in bits/sec, or BandwidthMeter.NO_ESTIMATE if an estimate is not available.
getBitrateEstimate() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
getBufferedPercentage() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the percentage in the current window up to which data is buffered, or 0 if no estimate is available.
getBufferedPercentage() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the position in the current window 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.hls.HlsMediaPeriod
 
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.
getBuildConfig() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns the configuration string with which the underlying library was built if available, or null otherwise.
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.
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.
getCachedBytes(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.
getCachedBytes(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
 
getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns a cache key for the representation if a custom cache key or content id has been provided and there is only single segment.
getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
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 interface com.google.android.exoplayer2.Renderer
Returns the capabilities of the renderer.
getChunkDurationUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Returns the duration of the specified chunk.
getChunkIndex(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
Obtains the index of the chunk corresponding to a given time.
getChunkIndex(long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Returns the index of the chunk that contains the specified time.
getChunkSource() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Returns the ChunkSource used by this stream.
getCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
getCodecInfo() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
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.
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).
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.
getConnection() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Returns the current connection, or null if the source is not currently opened.
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
 
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
 
getContentProgress() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
getContentType(Format) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
getControllerAutoShow() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
getControllerHideOnTouch() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns whether the playback controls are hidden by touch events.
getControllerShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns the playback controls timeout.
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
 
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 window, in milliseconds.
getCurrentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Returns the playback position in the stream starting at zero, in microseconds, or AudioTrack.CURRENT_POSITION_NOT_SET if it is not yet available.
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
 
getCustomAction() - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CustomActionProvider
Returns a PlaybackStateCompat.CustomAction which will be published to the media session by the connector or null if this action should not be published at the given player state.
getCustomAction() - Method in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
 
getData() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
 
getData() - Method in interface 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.
getDecoderInfo(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getDecoderInfo(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns a MediaCodecInfo for a given format.
getDecoderInfo(String, boolean) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
Selects a decoder to instantiate for a given mime type.
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(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.
getDefaultArtwork() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns the default artwork to display.
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.
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 interface com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
 
getDefaultUrl() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
 
getDequeueOutputBufferTimeoutUs() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the maximum time to block whilst waiting for a decoded output buffer.
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 window 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.ChunkIndex
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
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.extractor.wav.WavExtractor
 
getDurationUs() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the duration of the chunk in microseconds.
getDurationUs(int, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the duration of a segment.
getDurationUs(int, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getDurationUs(int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
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.
getEndTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns the result of adding the duration of the playlist to its start time.
getError() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
getError() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns the cause of the error state.
getErrorMessage(ExoPlaybackException) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.ErrorMessageProvider
Returns a pair consisting of an error code and a user readable error message for a given exception.
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
 
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 first adjusted sample timestamp in microseconds.
getFirstSegmentNum() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the segment number of the first segment.
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
getFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the specified flag has been set on this buffer.
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.
getFrameworkMediaFormatV16() - Method in class com.google.android.exoplayer2.Format
Returns a MediaFormat representation of this format.
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.
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.source.dash.manifest.Representation
Returns an index if the representation provides one directly, or null otherwise.
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
 
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.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.
getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns a RangedUri defining the location of the representation's segment index, or null if the representation provides an index directly.
getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
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
 
getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
Returns the RangedUri defining the location of initialization data for a given representation, or null if no initialization data exists.
getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
getInitializationUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns a RangedUri defining the location of the representation's initialization data, or null if no initialization data exists.
getInputByteCount() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Returns the number of bytes of input queued since the last call to SonicAudioProcessor.flush().
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
getKeyRequest(byte[], byte[], String, int, HashMap<String, String>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
 
getKeyRequest(byte[], byte[], String, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
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 adjusted timestamp.
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.
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.
getMasterPlaylist() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the master playlist.
getMaxChannelCount() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns the maximum number of channels the device can play at the same time.
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 interface com.google.android.exoplayer2.Renderer
If the renderer advances its own playback position then this method returns a corresponding MediaClock.
getMediaCrypto() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
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.
getMediaDescription(int) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
Gets the MediaDescriptionCompat for a given timeline window index.
getMediaFormat(Format, MediaCodecVideoRenderer.CodecMaxValues, boolean, int) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns the framework MediaFormat that should be used to configure the decoder when playing media in the specified input format.
getMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Derives a mimeType from a codec identifier, as defined in RFC 6381.
getMediaSource(int) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Returns the MediaSource at a specified index.
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
 
getNextChunk(MediaChunk, long, ChunkHolder) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Returns the next chunk to load.
getNextChunk(MediaChunk, long, ChunkHolder) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
getNextChunk(MediaChunk, long, ChunkHolder) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
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.
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
 
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.hls.HlsMediaPeriod
 
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) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the period after the period at index periodIndex depending on the repeatMode.
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(int, int) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the window after the window at index windowIndex depending on the repeatMode.
getOfflineLicenseKeySetId() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
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.
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.SonicAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Returns the output most recently passed to BaseMediaChunk.init(BaseMediaChunkOutput).
getOutputByteCount() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Returns the number of bytes of output dequeued since the last call to SonicAudioProcessor.flush().
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.SonicAudioProcessor
 
getOutputChannelCount() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
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.SonicAudioProcessor
 
getOutputEncoding() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
getOutputFormat() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
Returns the format of audio buffers output by the decoder.
getOutputFormat() - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
getOutputFormat() - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
getOverlayFrameLayout() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Gets the overlay FrameLayout, which can be populated with UI elements to show on top of the player.
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.
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) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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.
getPeriodCount() - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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.
getPeriodDurationMs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
getPeriodDurationUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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 (periodIndex, 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
getPlaybackLooper() - Method in interface com.google.android.exoplayer2.ExoPlayer
Gets the Looper associated with the playback thread.
getPlaybackLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.AudioTrack
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
 
getPlayedAdCount(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the number of ads that have been played in the specified ad group in the period.
getPlayer() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Returns the Player currently being controlled by this view, or null if no player is set.
getPlayer() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns the player currently set on this view, or null if no player is set.
getPlaylistSnapshot(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the most recent snapshot available of the playlist referenced by the provided HlsMasterPlaylist.HlsUrl.
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(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
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(long) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
getPosition(long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
getPosition(long) - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Maps a seek position in microseconds to a corresponding position (byte offset) in the stream from which data can be provided to the extractor.
getPosition(long) - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
getPosition(long) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
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.
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.
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
getPresentationTimeOffsetUs() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
Returns the presentation time offset, in microseconds.
getPreviousWindowIndex(int, int) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the window before the window at index windowIndex depending on the repeatMode.
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.
getRendererCount() - Method in interface com.google.android.exoplayer2.Player
Returns the number of renderers.
getRendererCount() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
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 in the track groups 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
 
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
 
getRepeatToggleModes() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Returns which repeat toggle modes are enabled.
getResizeMode() - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Returns the resize mode.
getResponseHeaders() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Returns the headers provided in the response, or null if response headers are unavailable.
getResult() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the loaded object, or null if an object has not been loaded.
getSampleDescriptionEncryptionBox(int) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
Returns the TrackEncryptionBox for the given sample description index.
getSampleFormats() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
Returns the sample Formats most recently output by the extractor, or null.
getSeekMap() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
Returns the SeekMap most recently output by the extractor, or null.
getSegmentCount(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the number of segments in the index, or DashSegmentIndex.INDEX_UNBOUNDED.
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getSegmentCount() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
getSegmentDurationUs(int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
getSegmentEndTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentNum(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns getFirstSegmentNum() if the index has no segments or if the given media time is earlier than the start of the first segment.
getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
getSegmentStartTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
getSegmentUrl(int) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns a RangedUri defining the location of a segment.
getSegmentUrl(int) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getSegmentUrl(int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentUrl(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getSegmentUrl(Representation, int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
Returns a RangedUri defining the location of a segment for the given index in the given representation.
getSegmentUrl(Representation, int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
getSegmentUrl(Representation, int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
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.MappingTrackSelector
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.
getShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Returns the playback controls timeout.
getSize() - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Returns the number of media sources in the playlist.
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.
getSpeedAdjustedDurationUs(long) - Method in class com.google.android.exoplayer2.PlaybackParameters
Scales the millisecond duration timeMs by the playback speed, returning the result in microseconds.
getStartTimeUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Returns the start time of the specified chunk.
getState() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getState() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
getState() - Method in interface com.google.android.exoplayer2.drm.DrmSession
getState() - Method in interface com.google.android.exoplayer2.Renderer
Returns the current state of the renderer.
getStream() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getStream() - Method in interface com.google.android.exoplayer2.Renderer
Returns the SampleStream being consumed, or null if the renderer is disabled.
getStreamTypeForAudioUsage(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.StreamType corresponding to the specified C.AudioUsage.
getStringForTime(StringBuilder, Formatter, long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the specified millisecond time formatted as a string.
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.
getSubtitleView() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Gets the SubtitleView.
getSupportedPlaybackActions(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
getSupportedPlaybackActions(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
Returns the actions which are supported by the controller.
getSupportedPrepareActions() - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
Returns the actions which are supported by the preparer.
getSupportedQueueEditorActions(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
getSupportedQueueNavigatorActions(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Returns the actions which are supported by the navigator.
getSupportedQueueNavigatorActions(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
getTimestampOffsetUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the offset between the input of TimestampAdjuster.adjustSampleTimestamp(long) and its output.
getTimeUs(int) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the start time of a segment.
getTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
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
Returns the extent to which an individual track is supported by the renderer.
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() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getTrackGroups() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
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.
getTrackType() - Method in class com.google.android.exoplayer2.BaseRenderer
 
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
Returns the best level of support obtained from MappingTrackSelector.MappedTrackInfo.getRendererSupport(int) for all renderers of the specified track type.
getUnassociatedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns TrackGroups not mapped to any renderer.
getUnexpectedException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_UNEXPECTED.
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.ext.okhttp.OkHttpDataSource
 
getUri() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
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 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.PriorityDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
getUseArtwork() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns whether artwork is displayed if present in the media.
getUseController() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Returns whether the playback controls can be shown.
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.
getVersion() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns the version of the underlying library if available, or null otherwise.
getVersion() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Returns the version of the underlying library if available, or null otherwise.
getVersion() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns the version of the underlying library if available, or null otherwise.
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 class com.google.android.exoplayer2.SimpleExoPlayer
Returns the video scaling mode.
getVideoSurfaceView() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Gets the view onto which video is rendered.
getVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Returns the audio volume, with 0 being silence and 1 being unity gain.
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.SinglePeriodTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.Timeline
Returns the number of windows in the timeline.
getWrappedMediaCrypto() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
 
getWriteIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the current absolute write index.
group - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The selected TrackGroup.
groupIndex - Variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
 
groups - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
The track groups that were provided to the TrackSelector.
GvrAudioProcessor - Class in com.google.android.exoplayer2.ext.gvr
An AudioProcessor that uses GvrAudioSurround to provide binaural rendering of surround sound and ambisonic soundfields.
GvrAudioProcessor() - Constructor for class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
Creates a new GVR audio processor.

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
 
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
 
handleBuffer(ByteBuffer, long) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Attempts to process data from a ByteBuffer, starting from its current position and ending at its limit (exclusive).
handleDiscontinuity() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Signals to the audio track that the next buffer is discontinuous with the previous buffer.
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(int, Object) - Method in interface com.google.android.exoplayer2.ExoPlayer.ExoPlayerComponent
Handles a message delivered to the component.
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
hasDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-DISCONTINUITY-SEQUENCE tag.
hasEndTag - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-ENDLIST tag.
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.drm.DrmInitData
 
hashCode() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
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.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.PlaybackParameters
 
hashCode() - Method in class com.google.android.exoplayer2.RendererConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
 
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.TrackSelectionArray
 
hashCode() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
hasIndependentSegmentsTag - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-INDEPENDENT-SEGMENTS tag.
hasNextSample() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns whether a sample is available to be read.
hasPendingData() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Returns whether the audio track has more data pending that will be played back.
hasPlayedAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns whether the ad group at index adGroupIndex has been played.
hasProgramDateTime - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains a #EXT-X-PROGRAM-DATE-TIME tag.
hasReadStreamToEnd() - Method in class com.google.android.exoplayer2.BaseRenderer
 
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.MappingTrackSelector
Returns whether there is an override for the specified renderer and TrackGroupArray.
hdrStaticInfo - Variable in class com.google.android.exoplayer2.video.ColorInfo
HdrStaticInfo as defined in CTA-861.3.
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.
hide() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Hides the controller.
hideController() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Hides the playback controls.
HlsDataSourceFactory - Interface in com.google.android.exoplayer2.source.hls
Creates DataSources for HLS playlists, encryption and media chunks.
HlsManifest - Class in com.google.android.exoplayer2.source.hls
Holds a master playlist along with a snapshot of one of its media playlists.
HlsMasterPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS master playlist.
HlsMasterPlaylist(String, List<String>, List<HlsMasterPlaylist.HlsUrl>, List<HlsMasterPlaylist.HlsUrl>, List<HlsMasterPlaylist.HlsUrl>, Format, List<Format>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
HlsMasterPlaylist.HlsUrl - Class in com.google.android.exoplayer2.source.hls.playlist
Represents a url in an HLS master playlist.
HlsMediaPeriod - Class in com.google.android.exoplayer2.source.hls
A MediaPeriod that loads an HLS stream.
HlsMediaPeriod(HlsPlaylistTracker, HlsDataSourceFactory, int, AdaptiveMediaSourceEventListener.EventDispatcher, Allocator) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
HlsMediaPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS media playlist.
HlsMediaPlaylist(int, String, List<String>, long, long, boolean, int, int, int, long, boolean, boolean, boolean, HlsMediaPlaylist.Segment, List<HlsMediaPlaylist.Segment>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
HlsMediaPlaylist.PlaylistType - Annotation Type in com.google.android.exoplayer2.source.hls.playlist
Type of the playlist as defined by #EXT-X-PLAYLIST-TYPE.
HlsMediaPlaylist.Segment - Class in com.google.android.exoplayer2.source.hls.playlist
Media segment reference.
HlsMediaSource - Class in com.google.android.exoplayer2.source.hls
An HLS MediaSource.
HlsMediaSource(Uri, DataSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
HlsMediaSource(Uri, DataSource.Factory, int, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
HlsMediaSource(Uri, HlsDataSourceFactory, int, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
HlsPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS playlist.
HlsPlaylist(String, List<String>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
 
HlsPlaylistParser - Class in com.google.android.exoplayer2.source.hls.playlist
HLS playlists parsing logic.
HlsPlaylistParser() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
 
HlsPlaylistTracker - Class in com.google.android.exoplayer2.source.hls.playlist
Tracks playlists linked to a provided playlist url.
HlsPlaylistTracker(Uri, HlsDataSourceFactory, AdaptiveMediaSourceEventListener.EventDispatcher, int, HlsPlaylistTracker.PrimaryPlaylistListener) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
 
HlsPlaylistTracker.PlaylistEventListener - Interface in com.google.android.exoplayer2.source.hls.playlist
Called on playlist loading events.
HlsPlaylistTracker.PlaylistResetException - Exception in com.google.android.exoplayer2.source.hls.playlist
Thrown when the media sequence of a new snapshot indicates the server has reset.
HlsPlaylistTracker.PlaylistStuckException - Exception in com.google.android.exoplayer2.source.hls.playlist
Thrown when a playlist is considered to be stuck due to a server side error.
HlsPlaylistTracker.PrimaryPlaylistListener - Interface in com.google.android.exoplayer2.source.hls.playlist
Listener for primary playlist changes.
HlsUrl(String, Format) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
 
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
 

I

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.PrivFrame
 
id - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or AdaptationSet.ID_UNSET if not specified.
id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
The identifier, or null.
id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The period identifier, if one exists.
id - Variable in class com.google.android.exoplayer2.Timeline.Period
An identifier for the period.
id - Variable in class com.google.android.exoplayer2.Timeline.Window
An identifier for the window.
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
 
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
 
ID_UNSET - Static variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Value of AdaptationSet.id indicating no value is set.=
identifier - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
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
 
ImaAdsLoader - Class in com.google.android.exoplayer2.ext.ima
Loads ads using the IMA SDK.
ImaAdsLoader(Context, Uri) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Creates a new IMA ads loader.
ImaAdsLoader(Context, Uri, ImaSdkSettings) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Creates a new IMA ads loader.
ImaAdsMediaSource - Class in com.google.android.exoplayer2.ext.ima
A MediaSource that inserts ads linearly with a provided content media source using the Interactive Media Ads SDK for ad loading and tracking.
ImaAdsMediaSource(MediaSource, DataSource.Factory, ImaAdsLoader, ViewGroup) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
ImaAdsMediaSource(MediaSource, DataSource.Factory, ImaAdsLoader, ViewGroup, Handler, ImaAdsMediaSource.AdsListener) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
ImaAdsMediaSource.AdsListener - Interface in com.google.android.exoplayer2.ext.ima
Listener for events relating to ad loading.
inbandEventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The in-band event streams in the representation.
INDEX_UNBOUNDED - Static variable in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
 
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) - 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.
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.ext.flac.FlacExtractor
 
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) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
Initializes the extractor to output to the provided TrackOutput, and configures it to receive data from a new chunk.
init(TrackSelector.InvalidationListener) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to initialize the selector.
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
 
InitializationException(int, int, int, int) - Constructor for exception com.google.android.exoplayer2.audio.AudioTrack.InitializationException
 
initializationSegment - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The initialization segment, as defined by #EXT-X-MAP.
initializationVectorSize - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
The initialization vector size in bytes for the samples in the corresponding sample group.
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
 
invalidate() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Calls TrackSelector.InvalidationListener.onTrackSelectionsInvalidated() to invalidate all previously generated track selections.
InvalidAudioTrackTimestampException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioTrack.InvalidAudioTrackTimestampException
 
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
 
isActive() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns whether the processor is configured and active.
isActive() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
isActive() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
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.
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() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.flac.FlacLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns whether the underlying library is available, loading it if necessary.
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
 
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 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 interface com.google.android.exoplayer2.Player
Returns whether the current window is dynamic, or false if the Timeline is empty.
isCurrentWindowDynamic() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
isCurrentWindowSeekable() - Method in interface com.google.android.exoplayer2.Player
Returns whether the current window is seekable, or false if the Timeline is empty.
isCurrentWindowSeekable() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
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.Timeline
Returns whether the timeline is empty.
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.
isEncrypted - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
Whether the segment is encrypted, as defined by #EXT-X-KEY.
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 class com.google.android.exoplayer2.audio.AudioTrack
Returns whether all buffers passed to AudioTrack.handleBuffer(ByteBuffer, long) have been completely processed and played.
isEnded() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
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.ext.gvr.GvrAudioProcessor
 
isEnded() - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
isEnded() - Method in interface com.google.android.exoplayer2.Renderer
Whether the renderer is ready for the ExoPlayer instance to transition to ExoPlayer.STATE_ENDED.
isEnded() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
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.
isExplicit() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns true if segments are defined explicitly by the index.
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
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.
isHighBitDepthSupported() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns true if the underlying libvpx library supports high bit depth.
isHoleSpan() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Returns whether this is a hole CacheSpan.
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) - Method in class com.google.android.exoplayer2.Timeline
Returns whether the given period is the last period of the timeline depending on the repeatMode.
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').
isLive() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns whether this is live content.
isLive - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
Whether the manifest describes a live presentation still in progress.
isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
 
isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
isLoadCanceled() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
Returns whether the load has been canceled.
isLoadCanceled() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
 
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.
isNewerThan(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns whether this playlist is newer than other.
isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
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
 
isPassthroughSupported(String) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Returns whether it's possible to play audio in the specified format using encoded passthrough.
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
 
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.ext.vp9.LibvpxVideoRenderer
 
isReady() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
isReady() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
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
 
isRepeatModeEnabled(int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
Verifies whether a given repeatMode is enabled in the bitmask enabledModes.
isRoot - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
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.ChunkIndex
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
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() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
isSeekable - Variable in class com.google.android.exoplayer2.Timeline.Window
Whether it's possible to seek within this window.
isSnapshotValid(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns whether the snapshot of the playlist referenced by the provided HlsMasterPlaylist.HlsUrl is valid, meaning all the segments referenced by the playlist are expected to be available.
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.
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.
isText(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Whether the top-level type of mimeType is text.
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.
isVisible() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Returns whether the controller is currently visible.
iv - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 

K

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.
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
 

L

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 - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
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.
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
 
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.dash.manifest.RangedUri
The length of the range, or C.LENGTH_UNSET to indicate that the range is unbounded.
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.MappingTrackSelector.MappedTrackInfo
The number of renderers to which tracks are mapped.
length - Variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
 
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 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.
LibflacAudioRenderer - Class in com.google.android.exoplayer2.ext.flac
Decodes and renders audio using the native Flac decoder.
LibflacAudioRenderer() - Constructor for class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
LibflacAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
LibopusAudioRenderer - Class in com.google.android.exoplayer2.ext.opus
Decodes and renders audio using the native Opus decoder.
LibopusAudioRenderer() - Constructor for class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
LibopusAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
LibopusAudioRenderer(Handler, AudioRendererEventListener, DrmSessionManager<ExoMediaCrypto>, boolean, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
LibraryLoader - Class in com.google.android.exoplayer2.util
Configurable loader for native libraries.
LibraryLoader(String...) - Constructor for class com.google.android.exoplayer2.util.LibraryLoader
 
LibvpxVideoRenderer - Class in com.google.android.exoplayer2.ext.vp9
Decodes and renders video using the native VP9 decoder.
LibvpxVideoRenderer(boolean, long) - Constructor for class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
LibvpxVideoRenderer(boolean, long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
LibvpxVideoRenderer(boolean, long, Handler, VideoRendererEventListener, int, DrmSessionManager<ExoMediaCrypto>, boolean) - Constructor for class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
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() - 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() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
 
loadAd(String) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
loadCanceled(DataSpec, int, long, long, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
loadCanceled(DataSpec, int, int, Format, int, Object, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
loadChunkIndex(DataSource, Representation) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization and index data for the representation and returns the ChunkIndex.
loadCompleted(DataSpec, int, long, long, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
loadCompleted(DataSpec, int, int, Format, int, Object, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
LoadControl - Interface in com.google.android.exoplayer2
Controls buffering of media.
loadDrmInitData(DataSource, DashManifest) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads DrmInitData for a given manifest.
loadDrmInitData(DataSource, Period) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization data for the representation and returns the sample Format.
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.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, int, long, long, long, IOException, boolean) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
loadError(DataSpec, int, int, Format, int, Object, long, long, long, long, long, IOException, boolean) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
loadManifest(DataSource, String) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads a DASH manifest.
loadSampleFormat(DataSource, Representation) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization data for the representation and returns the sample Format.
loadStarted(DataSpec, int, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
loadStarted(DataSpec, int, int, Format, int, Object, long, long, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
location - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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
 
lookAheadCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The number of fragments in a lookahead, or SsManifest.UNSET_LOOKAHEAD if the lookahead is unspecified.
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

majorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The client manifest major version.
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.
MappingTrackSelector.SelectionOverride - Class in com.google.android.exoplayer2.trackselection
A track selection override.
masterPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
The master playlist of an HLS stream.
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 a Matroska or WebM file.
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_POSITION_FOR_SEEK_TO_PREVIOUS - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
The maximum number of windows that can be shown in a multi-window time bar.
maxBlockSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
maxConsecutiveDroppedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The maximum number of dropped output buffers without an interleaving rendered output buffer.
maxDecodedFrameSize() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
 
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.
maxHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
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.
maxQueueSize - Variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
maxVideoBitrate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Maximum video bitrate.
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.
maxWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
maybeBlacklistTrack(TrackSelection, int, Exception) - Static method in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
maybeBlacklistTrack(TrackSelection, int, Exception, long) - Static method in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
Blacklists trackSelectionIndex in trackSelection for blacklistDurationMs if calling ChunkedTrackBlacklistUtil.shouldBlacklist(Exception) for e returns true.
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.
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.dash.DefaultDashChunkSource
 
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.source.smoothstreaming.DefaultSsChunkSource
 
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.
maybeThrowPlaylistRefreshError(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
If the playlist is having trouble refreshing the playlist referenced by the given HlsMasterPlaylist.HlsUrl, this method throws the underlying error.
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
maybeThrowPrepareError() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Throws an error that's preventing the period from becoming prepared.
maybeThrowPrimaryPlaylistRefreshError() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
If the tracker is having trouble refreshing the master playlist or the primary playlist, this method throws the underlying error.
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
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
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
maybeThrowStreamError() - Method in class com.google.android.exoplayer2.BaseRenderer
 
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, int) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaChunk
 
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 AudioTrack.
MediaCodecAudioRenderer(MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(MediaCodecSelector, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener, AudioCapabilities, AudioProcessor...) - 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) - 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.
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.
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.
MediaPeriodId(int) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Creates a media period identifier for the specified period in the timeline.
MediaPeriodId(int, int, int) - 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.
mediaPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
A snapshot of a media playlist referred to by HlsManifest.masterPlaylist.
mediaSequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The media sequence number of the first media segment in the playlist, as defined by #EXT-X-MEDIA-SEQUENCE.
mediaSession - Variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
The wrapped MediaSessionCompat.
MediaSessionConnector - Class in com.google.android.exoplayer2.ext.mediasession
Connects a MediaSessionCompat to a Player.
MediaSessionConnector(MediaSessionCompat) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Creates an instance.
MediaSessionConnector(MediaSessionCompat, MediaSessionConnector.PlaybackController) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Creates an instance.
MediaSessionConnector(MediaSessionCompat, MediaSessionConnector.PlaybackController, boolean) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Creates an instance.
MediaSessionConnector.CustomActionProvider - Interface in com.google.android.exoplayer2.ext.mediasession
Provides a PlaybackStateCompat.CustomAction to be published and handles the action when sent by a media controller.
MediaSessionConnector.ErrorMessageProvider - Interface in com.google.android.exoplayer2.ext.mediasession
Converts an exception into an error code and a user readable error message.
MediaSessionConnector.PlaybackController - Interface in com.google.android.exoplayer2.ext.mediasession
Interface to which playback actions are delegated.
MediaSessionConnector.PlaybackPreparer - Interface in com.google.android.exoplayer2.ext.mediasession
Interface to which playback preparation actions are delegated.
MediaSessionConnector.QueueEditor - Interface in com.google.android.exoplayer2.ext.mediasession
Handles media session queue edits.
MediaSessionConnector.QueueNavigator - Interface in com.google.android.exoplayer2.ext.mediasession
Handles queue navigation actions, and updates the media session queue by calling MediaSessionCompat.setQueue().
MediaSource - Interface in com.google.android.exoplayer2.source
Defines and provides media to be played by an ExoPlayer.
MediaSource.Listener - Interface in com.google.android.exoplayer2.source
Listener for source events.
MediaSource.MediaPeriodId - Class in com.google.android.exoplayer2.source
Identifier for a MediaPeriod.
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.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.
message - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
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
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.
MetadataDecoderException - Exception in com.google.android.exoplayer2.metadata
Thrown when an error occurs decoding metadata.
MetadataDecoderException(String) - Constructor for exception com.google.android.exoplayer2.metadata.MetadataDecoderException
 
MetadataDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.metadata.MetadataDecoderException
 
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
 
MetadataRenderer - Class in com.google.android.exoplayer2.metadata
A renderer for metadata.
MetadataRenderer(MetadataRenderer.Output, Looper) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
 
MetadataRenderer(MetadataRenderer.Output, Looper, MetadataDecoderFactory) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
 
MetadataRenderer.Output - Interface in com.google.android.exoplayer2.metadata
Receives output from a MetadataRenderer.
MICROS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of microseconds in one second.
mimeType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.Ac3SyncFrameInfo
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 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.
MIN_RETRY_COUNT_DEFAULT_FOR_MEDIA - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
Value for minLoadableRetryCount that causes the loader to retry ExtractorMediaSource.DEFAULT_MIN_LOADABLE_RETRY_COUNT_LIVE times for live streams and ExtractorMediaSource.DEFAULT_MIN_LOADABLE_RETRY_COUNT_ON_DEMAND for on-demand streams.
minBlockSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
minBufferTime - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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).
minorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The client manifest minor version.
minUpdatePeriod - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
MissingFieldException(String) - Constructor for exception com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.MissingFieldException
 
mode - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
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.DynamicConcatenatingMediaSource
Moves an existing MediaSource within the playlist.
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 an MP3 file.
Mp3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Constructs a new Mp3Extractor.
Mp3Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Constructs a new Mp3Extractor.
Mp3Extractor(int, long) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Constructs a new 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 an unfragmented MP4 file.
Mp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
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
 
MSG_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom MSG_* constants greater than or equal to this value.
MSG_SET_AUDIO_ATTRIBUTES - Static variable in class com.google.android.exoplayer2.C
MSG_SET_OUTPUT_BUFFER_RENDERER - Static variable in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
MSG_SET_SCALING_MODE - Static variable in class com.google.android.exoplayer2.C
MSG_SET_SURFACE - Static variable in class com.google.android.exoplayer2.C
MSG_SET_VOLUME - Static variable in class com.google.android.exoplayer2.C
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.
MultiSegmentBase(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
MultiSegmentRepresentation(String, long, Format, String, SegmentBase.MultiSegmentBase, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
muxedAudioFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The format of the audio muxed in the variants.
muxedCaptionFormats - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The format of the closed captions declared by the playlist.

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.
name - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
NANOS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of nanoseconds in one second.
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, DefaultDrmSessionManager.EventListener) - 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(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.
newInstance(String, long, Format, String, SegmentBase) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Constructs a new instance.
newInstance(String, long, Format, String, SegmentBase, List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Constructs a new instance.
newInstance(String, long, Format, String, SegmentBase, List<Descriptor>, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Constructs a new instance.
newInstance(String, long, Format, String, long, long, long, long, List<Descriptor>, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
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, DefaultDrmSessionManager.EventListener) - 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, 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
Creates a SimpleExoPlayer instance.
newSimpleInstance(RenderersFactory, TrackSelector, LoadControl) - 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, DefaultDrmSessionManager.EventListener) - 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.
NO_ESTIMATE - Static variable in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Indicates no bandwidth estimate is available.
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.
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 5646 language code.
NOT_CACHED - Static variable in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
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

OfflineLicenseHelper<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
Helper class to download, renew and release offline licenses.
OfflineLicenseHelper(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
OggExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
OkHttpDataSource - Class in com.google.android.exoplayer2.ext.okhttp
An HttpDataSource that delegates to Square's Call.Factory.
OkHttpDataSource(Call.Factory, String, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
OkHttpDataSource(Call.Factory, String, Predicate<String>, TransferListener<? super OkHttpDataSource>) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
OkHttpDataSource(Call.Factory, String, Predicate<String>, TransferListener<? super OkHttpDataSource>, CacheControl, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
OkHttpDataSourceFactory - Class in com.google.android.exoplayer2.ext.okhttp
OkHttpDataSourceFactory(Call.Factory, String, TransferListener<? super DataSource>) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
 
OkHttpDataSourceFactory(Call.Factory, String, TransferListener<? super DataSource>, CacheControl) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
 
onAdClicked() - Method in interface com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource.AdsListener
Called when the user clicks through an ad (for example, following a 'learn more' link).
onAddQueueItem(Player, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback#onAddQueueItem(MediaDescriptionCompat description).
onAddQueueItem(Player, MediaDescriptionCompat, int) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback#onAddQueueItem(MediaDescriptionCompat description, int index).
onAdError(AdErrorEvent) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onAdEvent(AdEvent) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onAdLoadError(IOException) - Method in interface com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource.AdsListener
Called if there was an error loading ads.
onAdsManagerLoaded(AdsManagerLoadedEvent) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onAdTapped() - Method in interface com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource.AdsListener
Called when the user taps a non-clickthrough part of an ad.
onAttachedToWindow() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
 
onAudioCapabilitiesChanged(AudioCapabilities) - Method in interface com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver.Listener
Called when the audio capabilities change.
onAudioDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when a decoder is created.
onAudioDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the renderer is disabled.
onAudioEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the renderer is enabled.
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 interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the audio session is set.
onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioTrack.Listener
Called when the audio track has been initialized with a newly generated audio session id.
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.
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 interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when an AudioTrack underrun occurs.
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
 
onBandwidthSample(int, long, long) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener
Called periodically to indicate that bytes have been transferred.
onBytesTransferred(Object, int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onBytesTransferred(S, 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.
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
 
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.
onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
onChunkLoadError(Chunk, boolean, Exception) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Called when the ChunkSampleStream encounters an error loading a chunk obtained from this source.
onChunkLoadError(Chunk, boolean, Exception) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
onChunkLoadError(Chunk, boolean, Exception) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
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
 
onCommand(String, Bundle, ResultReceiver) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback#onCommand(String, Bundle, ResultReceiver).
onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
onContinueLoadingRequested(HlsSampleStreamWrapper) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
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.
onCues(List<Cue>) - Method in interface com.google.android.exoplayer2.text.TextRenderer.Output
Called each time there is a change in the Cues.
onCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
 
onCurrentWindowIndexChanged(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Called when the current window index changed.
onCurrentWindowIndexChanged(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onCustomAction(String, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CustomActionProvider
Called when a custom action provided by this provider is sent to the media session.
onCustomAction(String, Bundle) - Method in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
 
onDetachedFromWindow() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
 
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.ext.vp9.LibvpxVideoRenderer
 
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.text.TextRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onDownstreamFormatChanged(int, Format, int, Object, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
Called when a downstream format change occurs (i.e.
onDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onDrmKeysLoaded() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionManager.EventListener
Called each time keys are loaded.
onDrmKeysRemoved() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionManager.EventListener
Called each time offline keys are removed.
onDrmKeysRestored() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionManager.EventListener
Called each time offline keys are restored.
onDrmSessionManagerError(Exception) - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionManager.EventListener
Called when a drm error occurs.
onDroppedFrames(int, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called to report the number of frames dropped by the renderer.
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.ext.vp9.LibvpxVideoRenderer
 
onEnabled(boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
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
onFastForward(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
onFastForward(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
See MediaSessionCompat.Callback#onFastForward().
onInitializeAccessibilityEvent(AccessibilityEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
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
 
onKeyDown(int, KeyEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onLayout(boolean, int, int, int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onLoadCanceled(DataSpec, int, int, Format, int, Object, long, long, long, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
Called when a load is canceled.
onLoadCanceled(Chunk, long, long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadCanceled(ParsingLoadable<HlsPlaylist>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
 
onLoadCanceled(ParsingLoadable<SsManifest>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
onLoadCanceled(T, long, long, boolean) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load has been canceled.
onLoadCompleted(DataSpec, int, int, Format, int, Object, long, long, long, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
Called when a load ends.
onLoadCompleted(Chunk, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadCompleted(ParsingLoadable<HlsPlaylist>, long, long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
 
onLoadCompleted(ParsingLoadable<SsManifest>, long, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
onLoadCompleted(T, long, long) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load has completed.
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(DataSpec, int, int, Format, int, Object, long, long, long, long, long, IOException, boolean) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
Called when a load error occurs.
onLoadError(Chunk, long, long, IOException) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadError(IOException) - Method in interface com.google.android.exoplayer2.source.ExtractorMediaSource.EventListener
Called when an error occurs loading media data.
onLoadError(ParsingLoadable<HlsPlaylist>, long, long, IOException) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
 
onLoadError(int, IOException) - Method in interface com.google.android.exoplayer2.source.SingleSampleMediaSource.EventListener
Called when an error occurs loading media data.
onLoadError(ParsingLoadable<SsManifest>, long, long, IOException) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
onLoadError(T, long, long, IOException) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load encounters an error.
onLoadingChanged(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the player starts or stops loading the source.
onLoadingChanged(boolean) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onLoadStarted(DataSpec, int, int, Format, int, Object, long, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
Called when a load begins.
onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onMetadata(Metadata) - Method in interface com.google.android.exoplayer2.metadata.MetadataRenderer.Output
Called each time there is a metadata associated with current playback time.
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
 
onPause(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
onPause(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
See MediaSessionCompat.Callback#onPause().
onPlay(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
onPlay(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
See MediaSessionCompat.Callback#onPlay().
onPlaybackParametersChanged(PlaybackParameters) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onPlaybackParametersChanged(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the current playback parameters change.
onPlaybackParametersChanged(PlaybackParameters) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onPlayerError(ExoPlaybackException) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when an error occurs.
onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
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(boolean, int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onPlaylistBlacklisted(HlsMasterPlaylist.HlsUrl, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlaylistBlacklisted(HlsMasterPlaylist.HlsUrl, long) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
Called if an error is encountered while loading a playlist.
onPlaylistChanged() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlaylistChanged() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
Called a playlist changes.
onPlaylistRefreshRequired(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPositionDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioTrack.Listener
Called when the audio track handles a buffer whose timestamp is discontinuous with the last buffer handled since it was reset.
onPositionDiscontinuity() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onPositionDiscontinuity() - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when a position discontinuity occurs without a change to the timeline.
onPositionDiscontinuity() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
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.ext.vp9.LibvpxVideoRenderer
 
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.text.TextRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onPrepare() - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback#onPrepare().
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(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
onPrepared() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPrepared(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaPeriod.Callback
Called when preparation completes.
onPrepareFromMediaId(String, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback#onPrepareFromMediaId(String, Bundle).
onPrepareFromSearch(String, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback#onPrepareFromSearch(String, Bundle).
onPrepareFromUri(Uri, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback#onPrepareFromUri(Uri, Bundle).
onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PrimaryPlaylistListener
Called when the primary playlist changes.
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when an output buffer is successfully processed.
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
 
onReleased() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onReleased() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when released.
onRemoveQueueItem(Player, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback#onRemoveQueueItem(MediaDescriptionCompat description).
onRemoveQueueItemAt(Player, int) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback#onRemoveQueueItemAt(int index).
onRenderedFirstFrame() - Method in interface com.google.android.exoplayer2.SimpleExoPlayer.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.
onRepeatModeChanged(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onRepeatModeChanged(int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the value of Player.getRepeatMode() changes.
onRepeatModeChanged(int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onRewind(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
onRewind(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
See MediaSessionCompat.Callback#onRewind().
onScrubMove(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user moves the scrubber.
onScrubStart(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user starts moving the scrubber.
onScrubStop(TimeBar, long, boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user stops moving the scrubber.
onSeekTo(Player, long) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
onSeekTo(Player, long) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
See MediaSessionCompat.Callback#onSeekTo(long).
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.
onSetRating(Player, RatingCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback#onSetRating(RatingCompat).
onSetShuffleModeEnabled(Player, boolean) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback#onSetShuffleModeEnabled(boolean).
onSetShuffleModeEnabled(Player, boolean) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSizeChanged(int, int, int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onSkipToNext(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback#onSkipToNext().
onSkipToNext(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSkipToPrevious(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback#onSkipToPrevious().
onSkipToPrevious(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSkipToQueueItem(Player, long) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback#onSkipToQueueItem(long).
onSkipToQueueItem(Player, long) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSourceInfoRefreshed(Timeline, Object) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
onSourceInfoRefreshed(long, boolean) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
onSourceInfoRefreshed(Timeline, Object) - Method in interface com.google.android.exoplayer2.source.MediaSource.Listener
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
 
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.ext.vp9.LibvpxVideoRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
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
 
onStop(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
onStop(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackController
See MediaSessionCompat.Callback#onStop().
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 class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
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.video.MediaCodecVideoRenderer
 
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
 
onSynced() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
 
onTimelineChanged(Timeline, Object) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onTimelineChanged(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Called when the timeline of the player has changed.
onTimelineChanged(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onTimelineChanged(Timeline, Object) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the timeline and/or manifest has been refreshed.
onTimelineChanged(Timeline, Object) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
onTrackballEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.Player.EventListener
Called when the available or selected tracks change.
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 
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(Object) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferEnd(S) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer ends.
onTransferStart(Object, DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferStart(S, DataSpec) - 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.AudioTrack.Listener
Called when the audio track underruns.
onUpstreamDiscarded(int, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
Called when data is removed from the back of a media buffer, typically so that it can be re-buffered in a different format.
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 interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a decoder is created.
onVideoDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the renderer is disabled.
onVideoEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the renderer is enabled.
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 interface com.google.android.exoplayer2.SimpleExoPlayer.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.
onVisibilityChange(int) - Method in interface com.google.android.exoplayer2.ui.PlaybackControlView.VisibilityListener
Called when the visibility changes.
open(DataSpec) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
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 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.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
 
OpusDecoderException - Exception in com.google.android.exoplayer2.ext.opus
Thrown when an Opus decoder error occurs.
opusGetVersion() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
 
opusIsSecureDecodeSupported() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
 
OpusLibrary - Class in com.google.android.exoplayer2.ext.opus
Configures and queries the underlying native library.
outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
OutputBuffer - Class in com.google.android.exoplayer2.decoder
Output buffer decoded by a Decoder.
OutputBuffer() - Constructor for class com.google.android.exoplayer2.decoder.OutputBuffer
 
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.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.MpegAudioReader
 
Parameters() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Default parameters.
Parameters(String, String, boolean, boolean, int, int, int, boolean, boolean, int, int, boolean) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
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.source.dash.manifest.DashManifestParser
 
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
 
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
 
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
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 AC-3 syncframe.
parseAdaptationSet(XmlPullParser, String, SegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseAdaptationSetChild(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses children of AdaptationSet elements not specifically parsed elsewhere.
parseAudioChannelConfiguration(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseBaseUrl(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseCea608AccessibilityChannel(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseCea708AccessibilityChannel(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseContentProtection(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a ContentProtection element.
parseContentType(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseCssColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
Parses a CSS color expression.
parseDateTime(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseDescriptor(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a Descriptor from an element.
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
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.
parseDuration(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
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.
parseFrameRate(XmlPullParser, float) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseInitialization(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseInt(XmlPullParser, String, int) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseLong(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseMediaPresentationDescription(XmlPullParser, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parsePercentage(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a percentage string.
parsePeriod(XmlPullParser, String, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
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.
parseRangedUrl(XmlPullParser, String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseRepresentation(XmlPullParser, String, String, String, int, int, float, int, int, String, int, List<Descriptor>, SegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
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
 
parseRole(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a Role element.
parseSchemeSpecificData(byte[], UUID) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the scheme specific data from a PSSH atom.
parseSegmentBase(XmlPullParser, SegmentBase.SingleSegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentList(XmlPullParser, SegmentBase.SegmentList) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentTemplate(XmlPullParser, SegmentBase.SegmentTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentTimeline(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentUrl(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
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.
parseString(XmlPullParser, String, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
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.
parseTtmlColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
Parses a TTML color expression.
parseUrlTemplate(XmlPullParser, String, UrlTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseUtcTiming(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseUuid(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the UUID 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.Parser<T> - Interface in com.google.android.exoplayer2.upstream
Parses an object from loaded data.
pause() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Pauses playback.
pauseAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
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.
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.
performAccessibilityAction(int, Bundle) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
Period - Class in com.google.android.exoplayer2.source.dash.manifest
Encapsulates media content components over a contiguous period of time.
Period(String, long, List<AdaptationSet>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
 
Period() - Constructor for class com.google.android.exoplayer2.Timeline.Period
 
periodIndex - Variable in class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
periodIndex - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
The timeline period index.
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
 
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 Format.NO_VALUE if unknown or not applicable.
play() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Starts or resumes playing audio if the audio track has been initialized.
playAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
PlaybackControlView - Class in com.google.android.exoplayer2.ui
A view for controlling Player instances.
PlaybackControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
 
PlaybackControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
 
PlaybackControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
 
PlaybackControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
 
PlaybackControlView.ControlDispatcher - Interface in com.google.android.exoplayer2.ui
Dispatches operations to the Player.
PlaybackControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified about changes of the visibility of the UI control.
PlaybackParameters - Class in com.google.android.exoplayer2
The parameters that apply to playback.
PlaybackParameters(float, float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
Creates new playback parameters.
playbackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
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.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.
PLAYLIST_TYPE_EVENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_VOD - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
playlistType - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The type of the playlist.
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 class com.google.android.exoplayer2.audio.AudioTrack
Plays out remaining audio.
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.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_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.
postBody - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Body for a POST request, null otherwise.
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 of false value for a given input.
preferredAudioLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
The preferred language for audio, as well as for forced text tracks as defined by RFC 5646.
preferredTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
The preferred language for text tracks as defined by RFC 5646.
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(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.hls.HlsMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Prepares this media period asynchronously.
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Starts preparation of the source.
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
prepareSource(ExoPlayer, boolean, MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
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.
presentationTimeOffsetUs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The offset of the presentation timestamps in the media stream relative to media time.
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) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Processes an output media buffer.
processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
programSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
programSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
projectionData - Variable in class com.google.android.exoplayer2.Format
The projection data for 360/VR video, or null if not applicable.
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.
protectionElement - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
Content protection information, or null if the content is not protected.
ProtectionElement(UUID, byte[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
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
 
PsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Facilitates the extraction of data from the MPEG-2 TS 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
 
ptsTime - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
ptsToUs(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
Converts a value in MPEG-2 timestamp units to the corresponding value in microseconds.

Q

queryKeyStatus() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
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(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.SonicAudioProcessor
 
queueEndOfStream() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
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.SonicAudioProcessor
 
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
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.
RangedUri - Class in com.google.android.exoplayer2.source.dash.manifest
Defines a range of data located at a reference uri.
RangedUri(String, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Constructs an ranged uri.
RawCcExtractor - Class in com.google.android.exoplayer2.extractor.rawcc
Extracts CEA data from a RawCC file.
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<? super RawResourceDataSource>) - 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.ext.flac.FlacExtractor
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
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 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.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(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads up to 32 bits.
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.hls.HlsMediaPeriod
 
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.
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).
readInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a signed value
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 an 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.
readShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as an 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
reason - Variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
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_PERIOD_COUNT_MISMATCH - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
The merge failed because the sources have different period counts.
REASON_UNSUPPORTED_SCHEME - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
The requested DRM scheme is unsupported by the device.
REASON_WINDOWS_ARE_DYNAMIC - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
The merge failed because one of the sources being merged has a dynamic window.
recursiveDelete(File) - Static method in class com.google.android.exoplayer2.util.Util
Recursively deletes a directory and its content.
refreshPlaylist(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Triggers a playlist refresh and whitelists it.
register() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
Registers the receiver, meaning it will notify the listener when audio capability changes occur.
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.
relativeDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The number of #EXT-X-DISCONTINUITY tags in the playlist before the segment.
relativeStartTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The start time of the segment in microseconds, relative to the start of the playlist.
release() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Releases all resources associated with this instance.
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.ext.flac.FlacExtractor
 
release() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Releases the loader.
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 interface com.google.android.exoplayer2.Player
Releases the player.
release() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
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() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
release() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Releases the playlist tracker.
release() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
release() - Method in class com.google.android.exoplayer2.text.cea.CeaOutputBuffer
 
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 class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
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.video.DummySurface
 
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.ext.ima.ImaAdsMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
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
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
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() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
 
releaseSource() - Method in interface com.google.android.exoplayer2.source.MediaSource
Releases the source.
releaseSource() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
releaseSource() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
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.HttpDataSource.RequestProperties
Removes a request property by name.
remove(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Unregister a task.
removeCallback(VideoAdPlayer.VideoAdPlayerCallback) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
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(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Unregisters a listener.
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
 
removeMediaSource(int) - Method in class com.google.android.exoplayer2.source.DynamicConcatenatingMediaSource
Removes a MediaSource from the playlist.
removeMetadataOutput(MetadataRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Removes a metadata output.
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(TextRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Removes a text output.
removeVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Removes a listener of video events.
render(long, long) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
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
 
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_SUPPORT_EXCEEDS_CAPABILITIES_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has associated tracks and at least one is of a supported type, but all of the tracks whose types are supported 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 associated tracks and can play at least one of them.
RENDERER_SUPPORT_UNSUPPORTED_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has associated tracks, but all are of unsupported types.
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, to be used with the selections.
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.
RepeatModeActionProvider - Class in com.google.android.exoplayer2.ext.mediasession
Provides a custom action for toggling repeat modes.
RepeatModeActionProvider(Context, Player) - Constructor for class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
Creates a new instance.
RepeatModeActionProvider(Context, Player, int) - Constructor for class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
Creates a new instance enabling the given repeat toggle modes.
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.
replaceManifestUri(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
Manually replaces the manifest Uri.
replaceStream(Format[], SampleStream, long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
replaceStream(Format[], SampleStream, long) - Method in interface com.google.android.exoplayer2.Renderer
Replaces the SampleStream from which samples will be consumed.
representation - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
Representation - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH representation.
Representation.MultiSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH representation consisting of multiple segments.
Representation.SingleSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH representation consisting of a single segment.
representationHolders - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
representationIndex - Variable in class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
RepresentationKey - Class in com.google.android.exoplayer2.source.dash.manifest
Uniquely identifies a Representation in a DashManifest.
RepresentationKey(int, int, int) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
representations - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Representations in the adaptation set.
RequestProperties() - Constructor for class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
 
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 initial state.
reset() - Method in class com.google.android.exoplayer2.audio.AudioTrack
Releases the underlying audio track asynchronously.
reset() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
Resets the provider.
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.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(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.
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 interface com.google.android.exoplayer2.Renderer
Signals to the renderer that a position discontinuity has occurred.
RESIZE_MODE_FILL - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The specified aspect ratio is ignored.
RESIZE_MODE_FIT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Either the width or height is decreased to obtain the desired aspect ratio.
RESIZE_MODE_FIXED_HEIGHT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The height is fixed and the width is increased or decreased to obtain the desired aspect ratio.
RESIZE_MODE_FIXED_WIDTH - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The width is fixed and the height is increased or decreased to obtain the desired aspect ratio.
RESIZE_MODE_ZOOM - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Either the width or height is increased to obtain the desired aspect ratio.
resolve(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Performs relative resolution of a referenceUri with respect to a baseUri.
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.
resolveUri(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Returns the resolved Uri represented by the instance.
resolveUriString(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Returns the resolved uri represented by the instance as a string.
responseCode - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
The response code that was outside of the 2xx range.
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_NOTHING_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where nothing was read.
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.
resumeAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
 
RETRY_RESET_ERROR_COUNT - Static variable in class com.google.android.exoplayer2.upstream.Loader
 
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
 
REVISION_ID_DEFAULT - Static variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
A default value for Representation.revisionId.
revisionId - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
Identifies the revision of the content.
rewind() - Method in class com.google.android.exoplayer2.source.SampleQueue
Rewinds the read position to the first sample in the queue.
rewindIncrementMs - Variable in class com.google.android.exoplayer2.ext.mediasession.DefaultPlaybackController
 
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 Format.NO_VALUE if unknown or not applicable.
RtmpDataSource - Class in com.google.android.exoplayer2.ext.rtmp
A Real-Time Messaging Protocol (RTMP) DataSource.
RtmpDataSource() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
RtmpDataSource(TransferListener<? super RtmpDataSource>) - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
RtmpDataSourceFactory - Class in com.google.android.exoplayer2.ext.rtmp
RtmpDataSourceFactory() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
 
RtmpDataSourceFactory(TransferListener<? super RtmpDataSource>) - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
 
run() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
 

S

sampleCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.Ac3SyncFrameInfo
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.Ac3SyncFrameInfo
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.
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.
SchemeData(UUID, String, String, byte[]) - 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.
schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
The scheme URI.
schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
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.
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.
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.ext.flac.FlacExtractor
 
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.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(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.Unseekable - Class in com.google.android.exoplayer2.extractor
A SeekMap that does not support seeking.
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(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
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.
seekToDefaultPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
seekToDefaultPosition(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
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.hls.HlsMediaPeriod
 
seekToUs(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to seek to the specified position in microseconds.
Segment(String, long, long) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
Segment(String, long, int, long, boolean, String, String, long, long) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
SegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
An approximate representation of a SegmentBase manifest element.
SegmentBase(RangedUri, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
 
SegmentBase.MultiSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase that consists of multiple segments.
SegmentBase.SegmentList - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase.MultiSegmentBase that uses a SegmentList to define its segments.
SegmentBase.SegmentTemplate - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase.MultiSegmentBase that uses a SegmentTemplate to define its segments.
SegmentBase.SegmentTimelineElement - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a timeline segment from the MPD's SegmentTimeline list.
SegmentBase.SingleSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase that defines a single segment.
segmentIndex - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
SegmentList(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, List<RangedUri>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
segments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The list of segments in the playlist.
SegmentTemplate(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, UrlTemplate, UrlTemplate) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
SegmentTimelineElement(long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement
 
selectAudioTrack(TrackGroupArray, int[][], DefaultTrackSelector.Parameters, TrackSelection.Factory) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
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(TrackSelection.Factory, int, int...) - Constructor for class com.google.android.exoplayer2.trackselection.MappingTrackSelector.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 DefaultTrackSelector.selectTracks(RendererCapabilities[], TrackGroupArray[], int[][][]) 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
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.hls.HlsMediaPeriod
 
selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Performs a track selection.
selectTracks(RendererCapabilities[], TrackGroupArray[], int[][][]) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
selectTracks(RendererCapabilities[], TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
selectTracks(RendererCapabilities[], TrackGroupArray[], int[][][]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Given an array of renderer capabilities and the TrackGroupArrays mapped to each of them, provides a TrackSelection per renderer.
selectTracks(RendererCapabilities[], TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to perform a track selection.
selectVideoTrack(RendererCapabilities, TrackGroupArray, int[][], DefaultTrackSelector.Parameters, TrackSelection.Factory) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
sendMessages(ExoPlayer.ExoPlayerMessage...) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sends messages to their target components.
sendMessages(ExoPlayer.ExoPlayerMessage...) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
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.
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, long[], int[], int[], int[], long[][], long) - 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.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.
setAdGroupTimesMs(long[], boolean[], int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setAdGroupTimesMs(long[], boolean[], int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the times of ad groups and whether each ad group has been played.
setApplyEmbeddedFontSizes(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets whether font sizes embedded within the cues should be applied.
setApplyEmbeddedStyles(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets whether styling embedded within the cues should be applied.
setAspectRatio(float) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Sets the aspect ratio that this view should satisfy.
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Sets the attributes for audio playback.
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the attributes for audio playback, used by the underlying audio track.
setAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets a listener to receive debug events from the audio renderer.
setAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Sets the audio session id.
setAudioStreamType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setBottomPaddingFraction(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the bottom padding fraction to apply when Cue.line is Cue.DIMEN_UNSET, as a fraction of the view's remaining height after its top and bottom padding have been subtracted.
setBufferedPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setBufferedPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the buffered position.
setClipping(long, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
Sets the clipping start/end times for this period, in microseconds.
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
 
setControlDispatcher(PlaybackControlView.ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
setControlDispatcher(PlaybackControlView.ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
setControllerAutoShow(boolean) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
setControllerHideOnTouch(boolean) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets whether the playback controls are hidden by touch events.
setControllerShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets the playback controls timeout.
setControllerVisibilityListener(PlaybackControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
setCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the cues to be displayed by the view.
setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
 
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.
setDefaultArtwork(Bitmap) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets the default artwork to display if useArtwork is true and no artwork is present in the media.
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
setDuration(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setDuration(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the duration.
setEnabled(boolean) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setEnabled(boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar
 
setErrorMessageProvider(MediaSessionConnector.ErrorMessageProvider) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets the fast forward increment in milliseconds.
setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets the fast forward increment in milliseconds.
setFirstSampleTimestampUs(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Sets the desired result of the first call to TimestampAdjuster.adjustSampleTimestamp(long).
setFixedTextSize(int, float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Set the text size to a given unit and value.
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.
setFractionalTextSize(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to be a fraction of the view's remaining height after its top and bottom padding have been subtracted.
setFractionalTextSize(float, boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to be a fraction of the height of this view.
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.
setIndex(int) - Method in class com.google.android.exoplayer2.BaseRenderer
 
setIndex(int) - Method in interface com.google.android.exoplayer2.Renderer
Sets the index of this renderer within the player.
setInitialInputBufferSize(int) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Sets the initial size of each input buffer.
setKeyCountIncrement(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setKeyCountIncrement(int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the position increment for key presses and accessibility actions, as a number of increments that divide the duration of the media.
setKeyRequestProperty(String, String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Sets a header for key requests made by the callback.
setKeyTimeIncrement(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setKeyTimeIncrement(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the position increment for key presses and accessibility actions, in milliseconds.
setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Override the names of the FFmpeg native libraries.
setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.flac.FlacLibrary
Override the names of the Flac native libraries.
setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Override the names of the Opus native libraries.
setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Override the names of the Vpx native libraries.
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.
setListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the listener for the scrubbing events.
setMatroskaExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for MatroskaExtractor instances created by the factory.
setMetadataOutput(MetadataRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
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.
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
 
setOutputBuffer(VpxOutputBuffer) - Method in interface com.google.android.exoplayer2.ext.vp9.VpxOutputBufferRenderer
Sets the output buffer to be rendered.
setOutputBuffer(VpxOutputBuffer) - Method in class com.google.android.exoplayer2.ext.vp9.VpxVideoSurfaceView
 
setParameters(DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Atomically sets the provided parameters for track selection.
setPitch(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the playback pitch.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.AudioTrack
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.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, MediaSessionConnector.PlaybackPreparer, MediaSessionConnector.CustomActionProvider...) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the player to be connected to the media session.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets the Player to control.
setPlayer(SimpleExoPlayer) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Set the SimpleExoPlayer to use.
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.ui.DefaultTimeBar
 
setPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the current position.
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.
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.
setPositionUs(long) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Sets the clock's position.
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
 
setQueueEditor(MediaSessionConnector.QueueEditor) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the MediaSessionConnector.QueueEditor to handle queue edits sent by the media controller.
setQueueNavigator(MediaSessionConnector.QueueNavigator) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the MediaSessionConnector.QueueNavigator to handle queue navigation actions ACTION_SKIP_TO_NEXT, ACTION_SKIP_TO_PREVIOUS, ACTION_SKIP_TO_QUEUE_ITEM and ACTION_SET_SHUFFLE_MODE_ENABLED.
setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Sets whether the renderer at the specified index is disabled.
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
 
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets which repeat toggle modes are enabled.
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets which repeat toggle modes are enabled.
setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
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.
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Sets the resize mode.
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets the resize mode.
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.
setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets the rewind increment in milliseconds.
setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets the rewind increment in milliseconds.
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.
setSelectionOverride(int, TrackGroupArray, MappingTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Overrides the track selection for the renderer at the specified index.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Sets the playback controls timeout.
setSpeed(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the playback speed.
setStyle(CaptionStyleCompat) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the caption style.
setTargetBufferSize(int) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
setTextOutput(TextRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
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.MappingTrackSelector
Enables or disables tunneling.
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
 
setUseArtwork(boolean) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets whether artwork is displayed if present in the media.
setUseController(boolean) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Sets whether the playback controls can be shown.
setUserDefaultStyle() - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the caption style to be equivalent to the one returned by CaptioningManager.getUserStyle(), or to a default style before API level 19.
setUserDefaultTextSize() - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to one derived from CaptioningManager.getFontScale(), or to a default size before API level 19.
setVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets a listener to receive debug events from the video renderer.
setVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the video scaling mode.
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the Surface onto which video will be rendered.
setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the SurfaceHolder that holds the Surface onto which video will be rendered.
setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the SurfaceView onto which video will be rendered.
setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the TextureView onto which video will be rendered.
setVisibility(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
setVisibilityListener(PlaybackControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
setVolume(float) - Method in class com.google.android.exoplayer2.audio.AudioTrack
Sets the playback volume.
setVolume(float) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Sets the audio volume, with 0 being silence and 1 being unity gain.
shouldBlacklist(Exception) - Static method in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
shouldContinueLoading(long) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
shouldContinueLoading(long) - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player to determine whether it should continue to load the source.
shouldDropOutputBuffer(long, long, long, long) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
Returns whether the current frame should be dropped.
shouldDropOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether the buffer being processed should be dropped.
shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
shouldStartPlayback(long, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
shouldStartPlayback(long, boolean) - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player to determine whether sufficient media is buffered for playback to be started or resumed.
show() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
Shows the playback controls.
showController() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Shows the playback controls.
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 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
 
SimpleExoPlayer - Class in com.google.android.exoplayer2
An ExoPlayer implementation that uses default Renderer components.
SimpleExoPlayer(RenderersFactory, TrackSelector, LoadControl) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
 
SimpleExoPlayer.VideoListener - Interface in com.google.android.exoplayer2
A listener for video rendering information from a SimpleExoPlayer.
SimpleExoPlayerView - Class in com.google.android.exoplayer2.ui
A high level view for SimpleExoPlayer media playbacks.
SimpleExoPlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
SimpleExoPlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
SimpleExoPlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
 
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
 
SinglePeriodTimeline - Class in com.google.android.exoplayer2.source
A Timeline consisting of a single period and static window.
SinglePeriodTimeline(long, boolean) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline of one period of known duration, and a static window starting at zero and extending to that duration.
SinglePeriodTimeline(long, long, long, long, boolean, boolean) - 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) - 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, int, 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
 
SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int, Handler, SingleSampleMediaSource.EventListener, int) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
SingleSampleMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
Listener of SingleSampleMediaSource events.
SingleSegmentBase(RangedUri, long, long, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
 
SingleSegmentBase() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
 
SingleSegmentRepresentation(String, long, Format, String, SegmentBase.SingleSegmentBase, List<Descriptor>, String, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
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.
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.
skipOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Skips the output buffer with the specified index.
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.
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.ext.flac.FlacExtractor
 
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 the speed/pitch of audio.
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
 
spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
spliceImmediateFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
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.
splitNalUnits(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Splits an array of NAL units.
SpsData(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
 
SsChunkSource - Interface in com.google.android.exoplayer2.source.smoothstreaming
A ChunkSource for SmoothStreaming.
SsChunkSource.Factory - Interface in com.google.android.exoplayer2.source.smoothstreaming
 
SsManifest - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Represents a SmoothStreaming manifest.
SsManifest(int, int, long, long, long, int, boolean, SsManifest.ProtectionElement, SsManifest.StreamElement[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
SsManifest.ProtectionElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Represents a protection element containing a single header.
SsManifest.StreamElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Represents a StreamIndex element.
SsManifestParser - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Parses SmoothStreaming client manifests.
SsManifestParser() - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
 
SsManifestParser.MissingFieldException - Exception in com.google.android.exoplayer2.source.smoothstreaming.manifest
Thrown if a required field is missing.
SsMediaSource - Class in com.google.android.exoplayer2.source.smoothstreaming
A SmoothStreaming MediaSource.
SsMediaSource(SsManifest, SsChunkSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
Constructs an instance to play a given SsManifest, which must not be live.
SsMediaSource(SsManifest, SsChunkSource.Factory, int, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
Constructs an instance to play a given SsManifest, which must not be live.
SsMediaSource(Uri, DataSource.Factory, SsChunkSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
Constructs an instance to play the manifest at a given Uri, which may be live or on-demand.
SsMediaSource(Uri, DataSource.Factory, SsChunkSource.Factory, int, long, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
Constructs an instance to play the manifest at a given Uri, which may be live or on-demand.
SsMediaSource(Uri, DataSource.Factory, ParsingLoadable.Parser<? extends SsManifest>, SsChunkSource.Factory, int, long, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
Constructs an instance to play the manifest at a given Uri, which may be live or on-demand.
StandaloneMediaClock - Class in com.google.android.exoplayer2.util
A MediaClock whose position advances with real time based on the playback parameters when started.
StandaloneMediaClock() - Constructor for class com.google.android.exoplayer2.util.StandaloneMediaClock
Creates a new standalone media clock.
start() - Method in class com.google.android.exoplayer2.BaseRenderer
 
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 - Variable in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
The (zero based) index of the first byte of the range.
start() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Starts tracking all the playlists related to the provided Uri.
start() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Starts periodic updates of the TextView.
start() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Starts the clock.
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
 
startLoading(T, Loader.Callback<T>, int) - Method in class com.google.android.exoplayer2.upstream.Loader
Starts loading a Loader.Loadable.
startMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The start time of the period in milliseconds.
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.
startOffsetUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The start offset in microseconds, as defined by #EXT-X-START.
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
 
startTimeMs - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
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.
startTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The start time of the playlist in playback timebase in microseconds.
startWrite() - Method in class com.google.android.exoplayer2.util.AtomicFile
Start a new write operation on the file.
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_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_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_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 interface com.google.android.exoplayer2.Renderer
The renderer is started.
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.
stop() - Method in class com.google.android.exoplayer2.BaseRenderer
 
stop() - Method in interface com.google.android.exoplayer2.Player
Stops playback.
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.SimpleExoPlayer
 
stop() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
Stops periodic updates of the TextView.
stop() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Stops the clock.
stopAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
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_USE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_VOICE_CALL - Static variable in class com.google.android.exoplayer2.C
 
StreamElement(String, String, int, String, long, String, int, int, int, int, String, Format[], List<Long>, long) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
streamElements - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The contained stream elements.
streamType - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
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(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
 
subtitles - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The list of subtitles declared by the playlist.
SubtitleView - Class in com.google.android.exoplayer2.ui
A view for displaying subtitle Cues.
SubtitleView(Context) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
 
SubtitleView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
 
subType - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
suggestedPresentationDelay - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
supplementalProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Supplemental properties in the adaptation set.
supportsEncoding(int) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns whether this device supports playback of the specified audio encoding.
supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
 
supportsFormat(String) - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns whether the underlying library supports the specified MIME type.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
supportsFormat(MediaCodecSelector, 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 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, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.BaseRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
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.
switchTargetView(SimpleExoPlayer, SimpleExoPlayerView, SimpleExoPlayerView) - Static method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
Switches the view targeted by a given SimpleExoPlayer.
synchronize(MediaClock) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Synchronizes this clock with the current state of clock.

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
 
tagDataSize - Variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
tags - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
The list of tags in the playlist.
tagTimestampUs - Variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
tagType - Variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
target - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
The target to receive the message.
targetDurationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The target duration in microseconds, as defined by #EXT-X-TARGETDURATION.
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.text.Cue
The cue text, or null if this is an image cue.
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
 
TextRenderer - Class in com.google.android.exoplayer2.text
A renderer for text.
TextRenderer(TextRenderer.Output, Looper) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
 
TextRenderer(TextRenderer.Output, Looper, SubtitleDecoderFactory) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
 
TextRenderer.Output - Interface in com.google.android.exoplayer2.text
Receives output from a TextRenderer.
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.
TimeBar - Interface in com.google.android.exoplayer2.ui
Interface for time bar views that can display a playback position, buffered position, duration and ad markers, and that have a listener for scrubbing (seeking) events.
TimeBar.OnScrubListener - Interface in com.google.android.exoplayer2.ui
Listener for scrubbing events.
timeline - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The Timeline in which the seek was attempted.
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.
TimelineQueueNavigator - Class in com.google.android.exoplayer2.ext.mediasession
An abstract implementation of the MediaSessionConnector.QueueNavigator that maps the windows of a Player's Timeline to the media session queue.
TimelineQueueNavigator(MediaSessionCompat) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
Creates an instance for a given MediaSessionCompat.
TimelineQueueNavigator(MediaSessionCompat, int) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
Creates an instance for a given MediaSessionCompat and maximum queue size.
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.
timescale - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
timeShiftBufferDepth - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
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
 
TimestampAdjusterProvider - Class in com.google.android.exoplayer2.source.hls
Provides TimestampAdjuster instances for use during HLS playbacks.
TimestampAdjusterProvider() - Constructor for class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
 
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.
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(InputStream) - Static method in class com.google.android.exoplayer2.util.Util
Converts the entirety of an InputStream to a byte array.
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.Format
 
toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.RepresentationKey
 
toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
toString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
 
toString() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
totalCachedBytes() - Method in class com.google.android.exoplayer2.upstream.cache.CacheUtil.CachingCounters
totalSamples - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
 
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 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.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_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_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.
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
 
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.MappingTrackSelector.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
The result of a TrackSelector operation.
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.
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.
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(TrackGroupArray, TrackSelectionArray, Object, RendererConfiguration[]) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectorResult
 
TransferListener<S> - Interface in com.google.android.exoplayer2.upstream
A listener of data transfer events.
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
 
TS_STREAM_TYPE_AAC - 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
 
TsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Facilitates the extraction of 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.
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.
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 class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The protection scheme type, or null if not applicable or unknown.
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.source.chunk.Chunk
The type of the chunk.
type - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
The type of the adaptation set.
type - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
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_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_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(TransferListener<? super UdpDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
 
UdpDataSource(TransferListener<? super UdpDataSource>, int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
 
UdpDataSource(TransferListener<? super UdpDataSource>, 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.
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
 
uniqueProgramId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
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
 
UNSET - Static variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Value for unset media period identifiers.
UNSET_LOOKAHEAD - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
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
 
updateInPlace(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
 
updateManifest(DashManifest, int) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource
 
updateManifest(DashManifest, int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
updateManifest(SsManifest) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
updateManifest(SsManifest) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource
 
updateOrientation(float, float, float, float) - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
Updates the listener head orientation.
updateSelectedTrack(long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
updateSelectedTrack(long) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
updateSelectedTrack(long) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
updateSelectedTrack(long) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Updates the selected track.
upstreamDiscarded(int, long, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
 
uri - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
The uri of the single segment.
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.
UriUtil - Class in com.google.android.exoplayer2.util
Utility methods for manipulating URIs.
url - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
The http url from which the media playlist can be obtained.
url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The url of the segment.
url - Variable in exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
The url of the reset playlist.
url - Variable in exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistStuckException
The url of the stuck playlist.
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
 
UrlTemplate - Class in com.google.android.exoplayer2.source.dash.manifest
A template from which URLs can be built.
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_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.
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 value in microseconds to the corresponding values in MPEG-2 timestamp units.
utcSpliceTime - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
utcSpliceTime - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
 
utcTiming - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
UtcTimingElement - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a UTCTiming element.
UtcTimingElement(String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
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 - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
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
 
value - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
The value, or null.
value - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
variants - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The list of variants declared by the playlist.
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.source.hls.playlist.HlsMediaPlaylist
The compatibility version, as defined by #EXT-X-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.
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_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_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
 
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.
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.
VpxDecoderException - Exception in com.google.android.exoplayer2.ext.vp9
Thrown when a libvpx decoder error occurs.
vpxIsSecureDecodeSupported() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
 
VpxLibrary - Class in com.google.android.exoplayer2.ext.vp9
Configures and queries the underlying native library.
VpxOutputBufferRenderer - Interface in com.google.android.exoplayer2.ext.vp9
Renders the VpxOutputBuffer.
VpxVideoSurfaceView - Class in com.google.android.exoplayer2.ext.vp9
A GLSurfaceView extension that scales itself to the given aspect ratio.
VpxVideoSurfaceView(Context) - Constructor for class com.google.android.exoplayer2.ext.vp9.VpxVideoSurfaceView
 
VpxVideoSurfaceView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ext.vp9.VpxVideoSurfaceView
 

W

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.
WavExtractor - Class in com.google.android.exoplayer2.extractor.wav
Extractor to extract samples from a WAV byte stream.
WavExtractor() - Constructor for class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
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() - 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 exception com.google.android.exoplayer2.IllegalSeekPositionException
The index of the window being seeked to.
windowIndex - Variable in class com.google.android.exoplayer2.Timeline.Period
The index of the window to which this period belongs.
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.
withAllowMixedMimeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided mixed mime adaptiveness allowance.
withAllowNonSeamlessAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided seamless adaptiveness allowance.
withExceedRendererCapabilitiesIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided exceedRendererCapabilitiesIfNecessary value.
withExceedVideoConstraintsIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided exceedVideoConstraintsIfNecessary value.
withMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided max video bitrate.
withMaxVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided max video size.
withMaxVideoSizeSd() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Equivalent to withMaxVideoSize(1279, 719).
withoutVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Equivalent to withMaxVideoSize(Integer.MAX_VALUE, Integer.MAX_VALUE).
withoutViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Equivalent to withViewportSize(Integer.MAX_VALUE, Integer.MAX_VALUE, true).
withPreferredAudioLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided preferred language for audio and forced text tracks.
withPreferredTextLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided preferred language for text tracks.
withViewportSize(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance with the provided viewport size.
withViewportSizeFromContext(Context, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance where the viewport size is obtained from the provided Context.
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.
WriteException(int) - Constructor for exception com.google.android.exoplayer2.audio.AudioTrack.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.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.dash.manifest.RepresentationKey
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.video.ColorInfo
 

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