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

A

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

B

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

C

C - Class in com.google.android.exoplayer2
Defines constants used by the library.
C.AudioAllowedCapturePolicy - Annotation Type in com.google.android.exoplayer2
Capture policies for audio attributes.
C.AudioContentType - Annotation Type in com.google.android.exoplayer2
Content types for audio attributes.
C.AudioFlags - Annotation Type in com.google.android.exoplayer2
Flags for audio attributes.
C.AudioUsage - Annotation Type in com.google.android.exoplayer2
Usage types for audio attributes.
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.CryptoType - Annotation Type in com.google.android.exoplayer2
Types of crypto implementation.
C.DataType - Annotation Type in com.google.android.exoplayer2
Represents a type of data.
C.Encoding - Annotation Type in com.google.android.exoplayer2
Represents an audio encoding, or an invalid or unset value.
C.FormatSupport - Annotation Type in com.google.android.exoplayer2
Level of renderer support for a format.
C.NetworkType - Annotation Type in com.google.android.exoplayer2
Network connection type.
C.PcmEncoding - Annotation Type in com.google.android.exoplayer2
Represents a PCM audio encoding, or an invalid or unset value.
C.Projection - Annotation Type in com.google.android.exoplayer2
Video projection types.
C.RoleFlags - Annotation Type in com.google.android.exoplayer2
Track role flags.
C.SelectionFlags - Annotation Type in com.google.android.exoplayer2
Track selection flags.
C.SelectionReason - Annotation Type in com.google.android.exoplayer2
Represents a reason for selection.
C.SpatializationBehavior - Annotation Type in com.google.android.exoplayer2
Represents the behavior affecting whether spatialization will be used.
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.TrackType - Annotation Type in com.google.android.exoplayer2
Represents a type of media track.
C.VideoChangeFrameRateStrategy - Annotation Type in com.google.android.exoplayer2
C.VideoOutputMode - Annotation Type in com.google.android.exoplayer2
Video decoder output modes.
C.VideoScalingMode - Annotation Type in com.google.android.exoplayer2
Video scaling modes for MediaCodec-based renderers.
C.WakeMode - Annotation Type in com.google.android.exoplayer2
Mode specifying whether the player should hold a WakeLock and a WifiLock.
cache() - Method in class com.google.android.exoplayer2.upstream.cache.CacheWriter
Caches the requested data, skipping any that's already cached.
Cache - Interface in com.google.android.exoplayer2.upstream.cache
A cache that supports partial caching of resources.
CACHE_IGNORED_REASON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Cache ignored due to a cache related error.
CACHE_IGNORED_REASON_UNSET_LENGTH - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Cache ignored due to a request with an unset length.
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.
CacheAsserts - Class in com.google.android.exoplayer2.testutil
Assertion methods for Cache.
CacheAsserts.RequestSet - Class in com.google.android.exoplayer2.testutil
Defines a set of data requests.
CACHED_TO_END - Static variable in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
Writes data into a cache.
CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Constructs an instance using CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when an IOException is encountered when writing data to the sink.
CacheDataSink.Factory - Class in com.google.android.exoplayer2.upstream.cache
CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
 
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, @com.google.android.exoplayer2.upstream.cache.CacheDataSource.Flags int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, @com.google.android.exoplayer2.upstream.cache.CacheDataSource.Flags int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, @com.google.android.exoplayer2.upstream.cache.CacheDataSource.Flags int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource.CacheIgnoredReason - Annotation Type in com.google.android.exoplayer2.upstream.cache
Reasons the cache may be ignored.
CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
Listener of CacheDataSource events.
CacheDataSource.Factory - Class in com.google.android.exoplayer2.upstream.cache
CacheDataSource.Flags - Annotation Type in com.google.android.exoplayer2.upstream.cache
Flags controlling the CacheDataSource's behavior.
CachedRegionTracker - Class in com.google.android.exoplayer2.upstream
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.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(String, Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheKeyFactory - Interface in com.google.android.exoplayer2.upstream.cache
Factory for cache keys.
CacheSpan - Class in com.google.android.exoplayer2.upstream.cache
Defines a span of data that may or may not be cached (as indicated by CacheSpan.isCached).
CacheSpan(String, long, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
Creates a hole CacheSpan which isn't cached, has no last touch timestamp and no file associated.
CacheSpan(String, long, long, long, File) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
Creates a CacheSpan.
CacheWriter - Class in com.google.android.exoplayer2.upstream.cache
Caching related utility methods.
CacheWriter(CacheDataSource, DataSpec, byte[], CacheWriter.ProgressListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheWriter
 
CacheWriter.ProgressListener - Interface in com.google.android.exoplayer2.upstream.cache
Receives progress updates during cache operations.
calculateNextSearchBytePosition(long, long, long, long, long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
Returns the next position in the stream to search for target frame, given [floorBytePosition, ceilingBytePosition), with corresponding [floorTimePosition, ceilingTimePosition).
calculateTargetBufferBytes(Renderer[], ExoTrackSelection[]) - Method in class com.google.android.exoplayer2.DefaultLoadControl
Calculate target buffer size in bytes based on the selected tracks.
CameraMotionListener - Interface in com.google.android.exoplayer2.video.spherical
Listens camera motion.
CameraMotionRenderer - Class in com.google.android.exoplayer2.video.spherical
A Renderer that parses the camera motion track.
CameraMotionRenderer() - Constructor for class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
canAdvertiseSession() - Method in class com.google.android.exoplayer2.BasePlayer
Returns whether the player can be used to advertise a media session.
canAdvertiseSession() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Calls Player.canAdvertiseSession() on the delegate and returns the result.
canAdvertiseSession() - Method in interface com.google.android.exoplayer2.Player
Returns whether the player can be used to advertise a media session.
canBlockReload - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Whether the server supports blocking playlist reload.
cancel() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
 
cancel() - Method in interface com.google.android.exoplayer2.offline.Downloader
Permanently cancels the downloading by this downloader.
cancel() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
cancel() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
cancel() - Method in class com.google.android.exoplayer2.PlayerMessage
Cancels the message delivery.
cancel() - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
cancel() - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Cancels anything that was previously scheduled, or else does nothing.
cancel() - Method in class com.google.android.exoplayer2.transformer.Transformer
Cancels the transformation that is currently in progress, if any.
cancel() - Method in class com.google.android.exoplayer2.upstream.cache.CacheWriter
Cancels this writer's caching operation.
cancel(boolean) - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
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 class com.google.android.exoplayer2.testutil.FakeMediaChunk
 
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.
cancelWork() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Cancels any work being done by RunnableFutureTask.doWork().
canReadBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Returns whether it's possible to read n bits starting from the current offset.
canReadExpGolombCodedNum() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Returns whether it is possible to read an Exp-Golomb-coded integer starting from the current offset.
canReplace(DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns whether this DrmInitData.SchemeData can be used to replace other.
canReuseCodec(Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Evaluates whether it's possible to reuse an instance of this decoder that's currently decoding oldFormat to decode newFormat instead.
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Evaluates whether the existing MediaCodec can be kept for a new Format, and if it can whether it requires reconfiguration.
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Evaluates whether the existing decoder can be reused for a new Format.
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Evaluates whether the existing decoder can be reused for a new Format.
canSelectFormat(Format, int, long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Called when updating the selected track to determine whether a candidate track can be selected.
canSkipDateRanges - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Whether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.
capabilities - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The capabilities of the decoder, like the profiles/levels it supports, or null if not known.
capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the capacity of the array, which may be larger than the limit.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
The CLOSED-CAPTIONS value as defined in the EXT-X-STREAM-INF tag, or null if the CLOSED-CAPTIONS attribute is not present.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant
The caption rendition group referenced by this variant, or null.
CaptionStyleCompat - Class in com.google.android.exoplayer2.ui
A compatibility wrapper for CaptioningManager.CaptionStyle.
CaptionStyleCompat(int, int, int, @com.google.android.exoplayer2.ui.CaptionStyleCompat.EdgeType int, int, Typeface) - Constructor for class com.google.android.exoplayer2.ui.CaptionStyleCompat
 
CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.ui
The type of edge, which may be none.
captureFrameRate - Variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
The capture frame rate, in fps, or C.RATE_UNSET if it is unknown.
CapturingAudioSink - Class in com.google.android.exoplayer2.testutil
A ForwardingAudioSink that captures configuration, discontinuity and buffer events.
CapturingAudioSink(AudioSink) - Constructor for class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
CapturingRenderersFactory - Class in com.google.android.exoplayer2.testutil
A RenderersFactory that captures interactions with the audio and video MediaCodecAdapter instances.
CapturingRenderersFactory(Context) - Constructor for class com.google.android.exoplayer2.testutil.CapturingRenderersFactory
 
castNonNull(T) - Static method in class com.google.android.exoplayer2.util.Util
Casts a nullable variable to a non-null variable without runtime null check.
castNonNullTypeArray(T[]) - Static method in class com.google.android.exoplayer2.util.Util
Casts a nullable type array to a non-null type array without runtime null check.
CastPlayer - Class in com.google.android.exoplayer2.ext.cast
Player implementation that communicates with a Cast receiver app.
CastPlayer(CastContext) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Creates a new cast player.
CastPlayer(CastContext, MediaItemConverter) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Creates a new cast player.
CastPlayer(CastContext, MediaItemConverter, long, long) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Creates a new cast player.
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, long) - Constructor for class com.google.android.exoplayer2.text.cea.Cea608Decoder
Constructs an instance.
Cea708Decoder - Class in com.google.android.exoplayer2.text.cea
A SubtitleDecoder for CEA-708 (also known as "EIA-708").
Cea708Decoder(int, List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
CeaUtil - Class in com.google.android.exoplayer2.extractor
Utility methods for handling CEA-608/708 messages.
ceilDivide(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Divides a numerator by a denominator, returning the ceiled result.
ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Divides a numerator by a denominator, returning the ceiled result.
CENC_TYPE_cbc1 - Static variable in class com.google.android.exoplayer2.C
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cbcs - Static variable in class com.google.android.exoplayer2.C
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cenc - Static variable in class com.google.android.exoplayer2.C
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cens - Static variable in class com.google.android.exoplayer2.C
"cens" scheme type name as defined in ISO/IEC 23001-7:2016.
channelCount - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
The number of channels.
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
The number of interleaved channels.
channelCount - Variable in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
channelCount - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
channelCount - Variable in class com.google.android.exoplayer2.Format
The number of audio channels, or Format.NO_VALUE if unknown or not applicable.
channelDescriptionResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channelId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channelImportance - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channelNameResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channels - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Number of audio channels in the frame.
channels - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Number of audio channels.
channels - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
The audio_channels field.
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
 
checkAndPeekStreamMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Peeks the FLAC stream marker.
checkAndReadFrameHeader(ParsableByteArray, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Checks whether the given FLAC frame header is valid and, if so, reads it and writes the frame first sample number in sampleNumberHolder.
checkArgument(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if expression evaluates to false.
checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if expression evaluates to false.
checkCleartextTrafficPermitted(MediaItem...) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether it may be possible to load the URIs of the given media items based on the network security policy's cleartext traffic permissions.
checkContainerInput(boolean, String) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
If expression is false, throws a container malformed ParserException with the given message.
checkFrameHeaderFromPeek(ExtractorInput, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Checks whether the given FLAC frame header is valid and, if so, writes the frame first sample number in sampleNumberHolder.
checkGlError() - Static method in class com.google.android.exoplayer2.util.GlUtil
Collects all OpenGL errors that occurred since this method was last called and throws a GlUtil.GlException with the combined error message.
checkGlException(boolean, String) - Static method in class com.google.android.exoplayer2.util.GlUtil
Throws a GlUtil.GlException with the given message if expression evaluates to false.
checkInBounds() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Verifies that the iterator points to a valid element.
checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IndexOutOfBoundsException if index falls outside the specified bounds.
checkInitialization() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Checks whether the cache was initialized successfully.
checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if the calling thread is not the application's main thread.
checkNotEmpty(String) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the requirements are met.
checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkStateNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if reference is null.
checkStateNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if reference is null.
children - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
The chunk.
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, @com.google.android.exoplayer2.C.DataType int, Format, @com.google.android.exoplayer2.C.SelectionReason int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
 
chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
ChunkExtractor - Interface in com.google.android.exoplayer2.source.chunk
Extracts samples and track Formats from chunks.
ChunkExtractor.Factory - Interface in com.google.android.exoplayer2.source.chunk
Creates ChunkExtractor instances.
ChunkExtractor.TrackOutputProvider - Interface in com.google.android.exoplayer2.source.chunk
Provides TrackOutput instances to be written to during extraction.
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 - Variable in class com.google.android.exoplayer2.source.chunk.MediaChunk
The chunk index, or C.INDEX_UNSET if it is not known.
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
 
ChunkSampleStream<T extends ChunkSource> - Class in com.google.android.exoplayer2.source.chunk
A SampleStream that loads media in Chunks, obtained from a ChunkSource.
ChunkSampleStream(@com.google.android.exoplayer2.C.TrackType int, int[], Format[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, DrmSessionManager, DrmSessionEventListener.EventDispatcher, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Constructs an instance.
ChunkSampleStream.EmbeddedSampleStream - Class in com.google.android.exoplayer2.source.chunk
ChunkSampleStream.ReleaseCallback<T extends ChunkSource> - Interface in com.google.android.exoplayer2.source.chunk
A callback to be notified when a sample stream has finished being released.
ChunkSource - Interface in com.google.android.exoplayer2.source.chunk
A provider of Chunks for a ChunkSampleStream to load.
clear() - Method in class com.google.android.exoplayer2.decoder.Buffer
Clears the buffer.
clear() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
 
clear() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.FormatHolder
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist.
clear() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
clear() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Clears all request properties.
clear() - Method in class com.google.android.exoplayer2.util.ListenerSet
Removes all listeners from the set.
clear() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Removes all of the values.
clear(Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist and executes a custom action on completion.
clearAllKeyRequestProperties() - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears all headers for key requests made by the callback.
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears all request headers that were set by HttpDataSource.setRequestProperty(String, String).
clearAndSet(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Removes all properties previously existing and sets the keys and values of the map.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer
Detaches any previously attached auxiliary audio effect from the underlying audio track.
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the listener which receives camera motion events if it matches the one passed.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearDecoderInfoCache() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
 
clearDownloadManagerHelpers() - Static method in class com.google.android.exoplayer2.offline.DownloadService
Clear all download manager helpers before restarting the service.
clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
Clears any stored fatal error.
clearFlag(@com.google.android.exoplayer2.C.BufferFlags 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.
clearLocalAdInsertionComponents() - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
clearMediaItems() - Method in class com.google.android.exoplayer2.BasePlayer
 
clearMediaItems() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Calls Player.clearMediaItems() on the delegate.
clearMediaItems() - Method in interface com.google.android.exoplayer2.Player
Clears the playlist.
clearMediaItems() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a clear media items action to be created.
ClearMediaItems(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearMediaItems
 
clearOutputFrame() - Static method in class com.google.android.exoplayer2.util.GlUtil
Fills the pixels in the current output render target with (r=0, g=0, b=0, a=0).
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
 
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Removes the override for the provided media TrackGroup, if there is one.
clearOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
 
clearOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearOverrides() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Removes all overrides.
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
 
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Removes all overrides of the provided track type.
clearPositionDiscontinuity() - Method in class com.google.android.exoplayer2.SimpleBasePlayer.State.Builder
Clears a previously set position discontinuity signal.
clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears the value of a request header.
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
CleartextNotPermittedException(IOException, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.CleartextNotPermittedException
 
clearTrackOutputs() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
clearTrackSelections(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Clears the selection of tracks for a period.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the listener which receives video frame metadata events if it matches the one passed.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
clearVideoSurface() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
clearVideoSurface() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurface() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Calls Player.clearVideoSurface() on the delegate.
clearVideoSurface() - Method in interface com.google.android.exoplayer2.Player
Clears any Surface, SurfaceHolder, SurfaceView or TextureView currently set on the player.
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a clear video surface action.
clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Calls Player.clearVideoSurface(Surface) on the delegate.
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player
Clears the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
ClearVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ForwardingPlayer
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player
Clears the SurfaceHolder that holds the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player
Clears the SurfaceView onto which video is being rendered if it matches the one passed.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player
Clears the TextureView onto which video is being rendered if it matches the one passed.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleBasePlayer
 
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.Builder
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
clearWindowColor() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets Cue.windowColorSet to false.
clippedEndTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
The time from which output will end, or C.TIME_UNSET if output will end at the end of the chunk.
clippedStartTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
The time from which output will begin, or C.TIME_UNSET if output will begin from the start of the chunk.
clippingConfiguration - Variable in class com.google.android.exoplayer2.MediaItem
The clipping properties.
ClippingMediaPeriod - Class in com.google.android.exoplayer2.source
Wraps a MediaPeriod and clips its SampleStreams to provide a subsequence of their samples.
ClippingMediaPeriod(MediaPeriod, boolean, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaPeriod
Creates a new clipping media period that provides a clipped view of the specified MediaPeriod's sample streams.
ClippingMediaSource - Class in com.google.android.exoplayer2.source
MediaSource that wraps a source and clips its timeline based on specified start/end positions.
ClippingMediaSource(MediaSource, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source and provides samples from the default position for the specified duration.
ClippingMediaSource(MediaSource, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source and provides samples between the specified start and end position.
ClippingMediaSource(MediaSource, long, long, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source.
ClippingMediaSource.IllegalClippingException - Exception in com.google.android.exoplayer2.source
Thrown when a ClippingMediaSource cannot clip its wrapped source.
ClippingMediaSource.IllegalClippingException.Reason - Annotation Type in com.google.android.exoplayer2.source
The reason clipping failed.
clippingProperties - Variable in class com.google.android.exoplayer2.MediaItem
Deprecated.
Clock - Interface in com.google.android.exoplayer2.util
An interface through which system clocks can be read and HandlerWrappers created.
clockRate - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
The clock rate in Hertz, associated with the format.
cloneAndClear() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with all elements removed.
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndClear() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
cloneAndInsert(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with newly inserted elements.
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
cloneAndRemove(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with a range of elements removed.
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
close() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
close() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
close() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
 
close() - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink
 
close() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
close() - Method in interface com.google.android.exoplayer2.upstream.DataSink
Closes the sink.
close() - Method in interface com.google.android.exoplayer2.upstream.DataSource
Closes the source.
close() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
close() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.PlaceholderDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
close() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Closes the condition.
closedCaptions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist
The closed caption renditions declared by the playlist.
closeQuietly(DataSource) - Static method in class com.google.android.exoplayer2.upstream.DataSourceUtil
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 class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
closeSession(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Closes a DRM session.
closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
closeSession(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
CLOSEST_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the closest sync point.
Codec - Interface in com.google.android.exoplayer2.transformer
Provides a layer of abstraction for interacting with decoders and encoders.
CODEC_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
A non-standard codec string for E-AC3-JOC.
CODEC_OPERATING_RATE_UNSET - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Indicates no codec operating rate should be set.
Codec.DecoderFactory - Interface in com.google.android.exoplayer2.transformer
A factory for decoder instances.
Codec.EncoderFactory - Interface in com.google.android.exoplayer2.transformer
A factory for encoder instances.
codecDelayNs - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
codecId - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
codecInfo - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Information about the MediaCodec being configured.
codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
The MediaCodecInfo of the decoder that failed.
codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
The MediaCodecInfo of the decoder that failed to initialize.
CodecMaxValues(int, int, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
codecMimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The MIME type that the codec uses for media of type MediaCodecInfo.mimeType.
codecNeedsSetOutputSurfaceWorkaround(String) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether the codec is known to implement MediaCodec.setOutputSurface(Surface) incorrectly.
codecPrivate - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
codecs - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
The RFC 6381 codecs string.
codecs - Variable in class com.google.android.exoplayer2.Format
Codecs of the format as described in RFC 6381, or null if unknown or not applicable.
codecs - Variable in class com.google.android.exoplayer2.video.AvcConfig
An RFC 6381 codecs string representing the video format, or null if not known.
codecs - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
The RFC 6381 codecs string.
codecs - Variable in class com.google.android.exoplayer2.video.HevcConfig
An RFC 6381 codecs string representing the video format, or null if not known.
CodecSpecificDataUtil - Class in com.google.android.exoplayer2.util
Provides utilities for handling 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, or null if not applicable.
ColorInfo - Class in com.google.android.exoplayer2.video
Stores color info.
ColorInfo(@com.google.android.exoplayer2.C.ColorSpace int, @com.google.android.exoplayer2.C.ColorRange int, @com.google.android.exoplayer2.C.ColorTransfer int, byte[]) - Constructor for class com.google.android.exoplayer2.video.ColorInfo
Constructs the ColorInfo.
ColorLut - Interface in com.google.android.exoplayer2.effect
Specifies color transformations using color lookup tables to apply to each frame in the fragment shader.
ColorParser - Class in com.google.android.exoplayer2.util
Parser for color expressions found in styling formats, e.g.
colorRange - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
colorRange - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color range of the video.
colors - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
For indexed-color pictures (e.g.
colorspace - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
colorSpace - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
colorSpace - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color space of the video.
COLORSPACE_BT2020 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
COLORSPACE_BT601 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
COLORSPACE_BT709 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
COLORSPACE_UNKNOWN - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
colorTransfer - Variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor.Track
 
colorTransfer - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color transfer characteristics of the video.
com.google.android.exoplayer2 - package com.google.android.exoplayer2
 
com.google.android.exoplayer2.analytics - package com.google.android.exoplayer2.analytics
 
com.google.android.exoplayer2.audio - package com.google.android.exoplayer2.audio
 
com.google.android.exoplayer2.database - package com.google.android.exoplayer2.database
 
com.google.android.exoplayer2.decoder - package com.google.android.exoplayer2.decoder
 
com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
 
com.google.android.exoplayer2.effect - package com.google.android.exoplayer2.effect
 
com.google.android.exoplayer2.ext.av1 - package com.google.android.exoplayer2.ext.av1
 
com.google.android.exoplayer2.ext.cast - package com.google.android.exoplayer2.ext.cast
 
com.google.android.exoplayer2.ext.cronet - package com.google.android.exoplayer2.ext.cronet
 
com.google.android.exoplayer2.ext.ffmpeg - package com.google.android.exoplayer2.ext.ffmpeg
 
com.google.android.exoplayer2.ext.flac - package com.google.android.exoplayer2.ext.flac
 
com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
 
com.google.android.exoplayer2.ext.leanback - package com.google.android.exoplayer2.ext.leanback
 
com.google.android.exoplayer2.ext.media2 - package com.google.android.exoplayer2.ext.media2
 
com.google.android.exoplayer2.ext.mediasession - package com.google.android.exoplayer2.ext.mediasession
 
com.google.android.exoplayer2.ext.okhttp - package com.google.android.exoplayer2.ext.okhttp
 
com.google.android.exoplayer2.ext.opus - package com.google.android.exoplayer2.ext.opus
 
com.google.android.exoplayer2.ext.rtmp - package com.google.android.exoplayer2.ext.rtmp
 
com.google.android.exoplayer2.ext.vp9 - package com.google.android.exoplayer2.ext.vp9
 
com.google.android.exoplayer2.ext.workmanager - package com.google.android.exoplayer2.ext.workmanager
 
com.google.android.exoplayer2.extractor - package com.google.android.exoplayer2.extractor
 
com.google.android.exoplayer2.extractor.amr - package com.google.android.exoplayer2.extractor.amr
 
com.google.android.exoplayer2.extractor.avi - package com.google.android.exoplayer2.extractor.avi
 
com.google.android.exoplayer2.extractor.flac - package com.google.android.exoplayer2.extractor.flac
 
com.google.android.exoplayer2.extractor.flv - package com.google.android.exoplayer2.extractor.flv
 
com.google.android.exoplayer2.extractor.jpeg - package com.google.android.exoplayer2.extractor.jpeg
 
com.google.android.exoplayer2.extractor.mkv - package com.google.android.exoplayer2.extractor.mkv
 
com.google.android.exoplayer2.extractor.mp3 - package com.google.android.exoplayer2.extractor.mp3
 
com.google.android.exoplayer2.extractor.mp4 - package com.google.android.exoplayer2.extractor.mp4
 
com.google.android.exoplayer2.extractor.ogg - package com.google.android.exoplayer2.extractor.ogg
 
com.google.android.exoplayer2.extractor.ts - package com.google.android.exoplayer2.extractor.ts
 
com.google.android.exoplayer2.extractor.wav - package com.google.android.exoplayer2.extractor.wav
 
com.google.android.exoplayer2.mediacodec - package com.google.android.exoplayer2.mediacodec
 
com.google.android.exoplayer2.metadata - package com.google.android.exoplayer2.metadata
 
com.google.android.exoplayer2.metadata.dvbsi - package com.google.android.exoplayer2.metadata.dvbsi
 
com.google.android.exoplayer2.metadata.emsg - package com.google.android.exoplayer2.metadata.emsg
 
com.google.android.exoplayer2.metadata.flac - package com.google.android.exoplayer2.metadata.flac
 
com.google.android.exoplayer2.metadata.icy - package com.google.android.exoplayer2.metadata.icy
 
com.google.android.exoplayer2.metadata.id3 - package com.google.android.exoplayer2.metadata.id3
 
com.google.android.exoplayer2.metadata.mp4 - package com.google.android.exoplayer2.metadata.mp4
 
com.google.android.exoplayer2.metadata.scte35 - package com.google.android.exoplayer2.metadata.scte35
 
com.google.android.exoplayer2.metadata.vorbis - package com.google.android.exoplayer2.metadata.vorbis
 
com.google.android.exoplayer2.offline - package com.google.android.exoplayer2.offline
 
com.google.android.exoplayer2.robolectric - package com.google.android.exoplayer2.robolectric
 
com.google.android.exoplayer2.scheduler - package com.google.android.exoplayer2.scheduler
 
com.google.android.exoplayer2.source - package com.google.android.exoplayer2.source
 
com.google.android.exoplayer2.source.ads - package com.google.android.exoplayer2.source.ads
 
com.google.android.exoplayer2.source.chunk - package com.google.android.exoplayer2.source.chunk
 
com.google.android.exoplayer2.source.dash - package com.google.android.exoplayer2.source.dash
 
com.google.android.exoplayer2.source.dash.manifest - package com.google.android.exoplayer2.source.dash.manifest
 
com.google.android.exoplayer2.source.dash.offline - package com.google.android.exoplayer2.source.dash.offline
 
com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
 
com.google.android.exoplayer2.source.hls.offline - package com.google.android.exoplayer2.source.hls.offline
 
com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
 
com.google.android.exoplayer2.source.mediaparser - package com.google.android.exoplayer2.source.mediaparser
 
com.google.android.exoplayer2.source.rtsp - package com.google.android.exoplayer2.source.rtsp
 
com.google.android.exoplayer2.source.rtsp.reader - package com.google.android.exoplayer2.source.rtsp.reader
 
com.google.android.exoplayer2.source.smoothstreaming - package com.google.android.exoplayer2.source.smoothstreaming
 
com.google.android.exoplayer2.source.smoothstreaming.manifest - package com.google.android.exoplayer2.source.smoothstreaming.manifest
 
com.google.android.exoplayer2.source.smoothstreaming.offline - package com.google.android.exoplayer2.source.smoothstreaming.offline
 
com.google.android.exoplayer2.testutil - package com.google.android.exoplayer2.testutil
 
com.google.android.exoplayer2.testutil.truth - package com.google.android.exoplayer2.testutil.truth
 
com.google.android.exoplayer2.text - package com.google.android.exoplayer2.text
 
com.google.android.exoplayer2.text.cea - package com.google.android.exoplayer2.text.cea
 
com.google.android.exoplayer2.text.dvb - package com.google.android.exoplayer2.text.dvb
 
com.google.android.exoplayer2.text.pgs - package com.google.android.exoplayer2.text.pgs
 
com.google.android.exoplayer2.text.span - package com.google.android.exoplayer2.text.span
 
com.google.android.exoplayer2.text.ssa - package com.google.android.exoplayer2.text.ssa
 
com.google.android.exoplayer2.text.subrip - package com.google.android.exoplayer2.text.subrip
 
com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
 
com.google.android.exoplayer2.text.tx3g - package com.google.android.exoplayer2.text.tx3g
 
com.google.android.exoplayer2.text.webvtt - package com.google.android.exoplayer2.text.webvtt
 
com.google.android.exoplayer2.trackselection - package com.google.android.exoplayer2.trackselection
 
com.google.android.exoplayer2.transformer - package com.google.android.exoplayer2.transformer
 
com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
 
com.google.android.exoplayer2.upstream - package com.google.android.exoplayer2.upstream
 
com.google.android.exoplayer2.upstream.cache - package com.google.android.exoplayer2.upstream.cache
 
com.google.android.exoplayer2.upstream.crypto - package com.google.android.exoplayer2.upstream.crypto
 
com.google.android.exoplayer2.util - package com.google.android.exoplayer2.util
 
com.google.android.exoplayer2.video - package com.google.android.exoplayer2.video
 
com.google.android.exoplayer2.video.spherical - package com.google.android.exoplayer2.video.spherical
 
COMMAND_ADJUST_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to increase and decrease the device volume and mute it.
COMMAND_CHANGE_MEDIA_ITEMS - Static variable in interface com.google.android.exoplayer2.Player
Command to change the media items in the playlist.
COMMAND_GET_AUDIO_ATTRIBUTES - Static variable in interface com.google.android.exoplayer2.Player
Command to get the player current AudioAttributes.
COMMAND_GET_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to get information about the currently playing MediaItem.
COMMAND_GET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to get the device volume and whether it is muted.
COMMAND_GET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Command to get metadata related to the playlist and current MediaItem.
COMMAND_GET_TEXT - Static variable in interface com.google.android.exoplayer2.Player
Command to get the text that should currently be displayed by the player.
COMMAND_GET_TIMELINE - Static variable in interface com.google.android.exoplayer2.Player
Command to get the information about the current timeline.
COMMAND_GET_TRACKS - Static variable in interface com.google.android.exoplayer2.Player
Command to get details of the current track selection.
COMMAND_GET_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to get the player volume.
COMMAND_INVALID - Static variable in interface com.google.android.exoplayer2.Player
Represents an invalid Player.Command.
COMMAND_MOVE_QUEUE_ITEM - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
COMMAND_PLAY_PAUSE - Static variable in interface com.google.android.exoplayer2.Player
Command to start, pause or resume playback.
COMMAND_PREPARE - Static variable in interface com.google.android.exoplayer2.Player
Command to prepare the player.
COMMAND_SEEK_BACK - Static variable in interface com.google.android.exoplayer2.Player
Command to seek back by a fixed increment inside the current MediaItem.
COMMAND_SEEK_FORWARD - Static variable in interface com.google.android.exoplayer2.Player
Command to seek forward by a fixed increment inside the current MediaItem.
COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek anywhere inside the current MediaItem.
COMMAND_SEEK_IN_CURRENT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SEEK_TO_DEFAULT_POSITION - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the current MediaItem.
COMMAND_SEEK_TO_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek anywhere in any MediaItem.
COMMAND_SEEK_TO_NEXT - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to a later position in the current MediaItem or the default position of the next MediaItem.
COMMAND_SEEK_TO_NEXT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the next MediaItem.
COMMAND_SEEK_TO_NEXT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SEEK_TO_PREVIOUS - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to an earlier position in the current MediaItem or the default position of the previous MediaItem.
COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the previous MediaItem.
COMMAND_SEEK_TO_PREVIOUS_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SEEK_TO_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to set the device volume.
COMMAND_SET_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to set a MediaItem.
COMMAND_SET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Command to set the playlist metadata.
COMMAND_SET_REPEAT_MODE - Static variable in interface com.google.android.exoplayer2.Player
Command to set the repeat mode.
COMMAND_SET_SHUFFLE_MODE - Static variable in interface com.google.android.exoplayer2.Player
Command to enable shuffling.
COMMAND_SET_SPEED_AND_PITCH - Static variable in interface com.google.android.exoplayer2.Player
Command to set the playback speed and pitch.
COMMAND_SET_TRACK_SELECTION_PARAMETERS - Static variable in interface com.google.android.exoplayer2.Player
Command to set the player's track selection parameters.
COMMAND_SET_VIDEO_SURFACE - Static variable in interface com.google.android.exoplayer2.Player
Command to set and clear the surface on which to render the video.
COMMAND_SET_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to set the player volume.
COMMAND_STOP - Static variable in interface com.google.android.exoplayer2.Player
Command to stop playback.
commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The private bytes as defined in SCTE35, Section 9.3.6.
CommentFrame - Class in com.google.android.exoplayer2.metadata.id3
Comment ID3 frame.
CommentFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
CommentHeader(String, String[], int) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
 
comments - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
 
commitFile(File, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Commits a file into the cache.
commitFile(File, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
COMMON_PSSH_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the W3C Common PSSH box.
compare(DrmInitData.SchemeData, DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
compareLong(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Compares two long values and returns the same value as Long.compare(long, long).
compareTo(SegmentDownloader.Segment) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
 
compareTo(StreamKey) - Method in class com.google.android.exoplayer2.offline.StreamKey
 
compareTo(FakeClock.HandlerMessage) - Method in class com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
 
compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
 
compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
 
compilation - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional compilation.
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
If SpliceInsertCommand.programSpliceFlag is false, a non-empty list containing the SpliceInsertCommand.ComponentSplices.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
composer - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional composer.
CompositeMediaSource<T> - Class in com.google.android.exoplayer2.source
Composite MediaSource consisting of multiple child sources.
CompositeMediaSource() - Constructor for class com.google.android.exoplayer2.source.CompositeMediaSource
Creates composite media source without child sources.
CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
A SequenceableLoader that encapsulates multiple other SequenceableLoaders.
CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
CompositeSequenceableLoaderFactory - Interface in com.google.android.exoplayer2.source
A factory to create composite SequenceableLoaders.
ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
Concatenates multiple MediaSources.
ConcatenatingMediaSource(boolean, boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource2 - Class in com.google.android.exoplayer2.source
Concatenates multiple MediaSources, combining everything in one single Timeline.Window.
ConcatenatingMediaSource2.Builder - Class in com.google.android.exoplayer2.source
A builder for ConcatenatingMediaSource2 instances.
ConditionVariable - Class in com.google.android.exoplayer2.util
An interruptible condition variable.
ConditionVariable() - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
Creates an instance using Clock.DEFAULT.
ConditionVariable(Clock) - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
Creates an instance, which starts closed.
conductor - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional conductor.
configs() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Returns a list of arrays containing ExtractorAsserts.SimulationConfig objects to exercise different extractor paths.
configsNoSniffing() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Returns a list of arrays containing ExtractorAsserts.SimulationConfig objects to exercise different extractor paths in which the input is not sniffed.
ConfigurationException(String, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Creates a new configuration exception with the specified message and no cause.
ConfigurationException(Throwable, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Creates a new configuration exception with the specified cause and no message.
configure(int, int) - Method in class com.google.android.exoplayer2.effect.Crop
 
configure(int, int) - Method in interface com.google.android.exoplayer2.effect.GlMatrixTransformation
Configures the input and output dimensions.
configure(int, int) - Method in class com.google.android.exoplayer2.effect.Presentation
 
configure(int, int) - Method in class com.google.android.exoplayer2.effect.ScaleToFitTransformation
 
configure(int, int) - Method in class com.google.android.exoplayer2.effect.SingleFrameGlTextureProcessor
Configures the texture processor based on the input dimensions.
configure(AudioProcessor.AudioFormat) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Configures the processor to process input audio with the specified format.
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
configure(Format, int, int[]) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Configures (or reconfigures) the sink.
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
ConstantBitrateSeekMap - Class in com.google.android.exoplayer2.extractor
A SeekMap implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size.
ConstantBitrateSeekMap(long, long, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Creates an instance with allowSeeksIfLengthUnknown set to false.
ConstantBitrateSeekMap(long, long, int, int, boolean) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Creates an instance.
constrainAudioChannelCountToDeviceCapabilities - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to constrain audio track selection so that the selected track's channel count does not exceed the device's output capabilities.
constraintBytes - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
constraintsFlagsAndReservedZero2Bits - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
constrainValue(float, float, float) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
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.
consume(byte[], int) - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Called by DataChunk.load().
consume(long, ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
 
consume(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.extractor.CeaUtil
Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608/708 messages as samples to all of the provided outputs.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Consumes (possibly partial) data from the current packet.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.PassthroughSectionPayloadReader
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
Called by a SectionReader when a full section is received.
consume(ParsableByteArray, @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
consume(ParsableByteArray, @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
consume(ParsableByteArray, @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Consumes the payload of a TS packet.
consume(ParsableByteArray, long, int, boolean) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
consume(ParsableByteArray, long, int, boolean) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
Consumes the payload from the an RTP packet.
consume(ParsableByteArray, long, int, boolean) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpPcmReader
 
consumeCcData(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.extractor.CeaUtil
Consumes caption data (cc_data), writing the content as samples to all of the provided outputs.
Consumer<T> - Interface in com.google.android.exoplayer2.util
Represents an operation that accepts a single input argument and returns no result.
ContainerMediaChunk - Class in com.google.android.exoplayer2.source.chunk
A BaseMediaChunk that uses an Extractor to decode sample data.
ContainerMediaChunk(DataSource, DataSpec, Format, @com.google.android.exoplayer2.C.SelectionReason int, Object, long, long, long, long, long, int, long, ChunkExtractor) - Constructor for class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
containerMimeType - Variable in class com.google.android.exoplayer2.Format
The mime type of the container, or null if unknown or not applicable.
contains(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns whether the given event occurred.
contains(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.Player.Commands
Returns whether the set of commands contains the specified Player.Command.
contains(@com.google.android.exoplayer2.Player.Event int) - Method in class com.google.android.exoplayer2.Player.Events
Returns whether the given Player.Event occurred.
contains(int) - Method in class com.google.android.exoplayer2.util.FlagSet
Returns whether the set contains the given flag.
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).
contains(String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns whether the metadata is available.
contains(String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
containsAny(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int...) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns whether any of the given events occurred.
containsAny(@com.google.android.exoplayer2.Player.Command int...) - Method in class com.google.android.exoplayer2.Player.Commands
Returns whether the set of commands contains at least one of the given commands.
containsAny(@com.google.android.exoplayer2.Player.Event int...) - Method in class com.google.android.exoplayer2.Player.Events
Returns whether any of the given events occurred.
containsAny(int...) - Method in class com.google.android.exoplayer2.util.FlagSet
Returns whether the set contains at least one of the given flags.
containsCodecsCorrespondingToMimeType(String, String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given codecs string contains a codec which corresponds to the given mimeType.
containsTrack(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Returns whether this override contains the specified track index.
containsType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.Tracks
Returns true if there are tracks of type trackType, and false otherwise.
CONTENT_TYPE_DASH - Static variable in class com.google.android.exoplayer2.C
Value representing a DASH manifest.
CONTENT_TYPE_HLS - Static variable in class com.google.android.exoplayer2.C
Value representing an HLS manifest.
CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
CONTENT_TYPE_RTSP - Static variable in class com.google.android.exoplayer2.C
Value representing an RTSP stream.
CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
Deprecated.
CONTENT_TYPE_SS - Static variable in class com.google.android.exoplayer2.C
Value representing a Smooth Streaming manifest.
CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Deprecated.
contentBufferedPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
The SimpleBasePlayer.PositionSupplier for the estimated position up to which the currently playing content is buffered, in milliseconds, or C.TIME_UNSET to indicate the default start position.
ContentDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a content URI.
ContentDataSource(Context) - 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
ContentDataSourceException(IOException, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
Creates a new instance.
contentDurationUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The duration of the content period in microseconds, if known.
contentIsMalformed - Variable in exception com.google.android.exoplayer2.ParserException
Whether the parsing error was caused by a bitstream not following the expected format.
contentLength - Variable in class com.google.android.exoplayer2.offline.Download
The total size of the content in bytes, or C.LENGTH_UNSET if unknown.
contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
The content length, or C.LENGTH_UNSET if unknown.
ContentMetadata - Interface in com.google.android.exoplayer2.upstream.cache
Interface for an immutable snapshot of keyed metadata.
ContentMetadataMutations - Class in com.google.android.exoplayer2.upstream.cache
Defines multiple mutations on metadata value which are applied atomically.
ContentMetadataMutations() - Constructor for class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Constructs a DefaultMetadataMutations.
contentPositionMs - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The content position, in milliseconds.
contentPositionMsSupplier - Variable in class com.google.android.exoplayer2.SimpleBasePlayer.State
The SimpleBasePlayer.PositionSupplier for the current content playback position in milliseconds, or C.TIME_UNSET to indicate the default start position.
contentResumeOffsetUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The offset in microseconds which should be added to the content stream when resuming playback after the ad group.
contentType - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
 
context - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
context - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
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 class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
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.
continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
contrast - Variable in class com.google.android.exoplayer2.effect.Contrast
Adjusts the contrast of video frames in the interval [-1, 1].
Contrast - Class in com.google.android.exoplayer2.effect
A GlEffect to control the contrast of video frames.
Contrast(float) - Constructor for class com.google.android.exoplayer2.effect.Contrast
Creates a new instance for the given contrast value.
CONTROL_CODE_AUTOSTART - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
The application shall be started when the service is selected, unless the application is already running.
CONTROL_CODE_PRESENT - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
The application is allowed to run while the service is selected, however it shall not start automatically when the service becomes selected.
controlCode - Variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
convert(MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaDescriptionConverter
Returns a MediaItem for the given MediaDescriptionCompat or null if the description can't be converted.
convertToExoPlayerMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.DefaultMediaItemConverter
 
convertToExoPlayerMediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.ext.media2.MediaItemConverter
Converts a Media2 MediaItem to an ExoPlayer MediaItem.
convertToMedia2MediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.DefaultMediaItemConverter
 
convertToMedia2MediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.ext.media2.MediaItemConverter
Converts an ExoPlayer MediaItem to a Media2 MediaItem.
copy(Looper, Clock, ListenerSet.IterationFinishedEvent<T>) - Method in class com.google.android.exoplayer2.util.ListenerSet
Copies the listener set.
copy(Looper, ListenerSet.IterationFinishedEvent<T>) - Method in class com.google.android.exoplayer2.util.ListenerSet
Copies the listener set.
copy(Format[]) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Creates a copy of this stream element with the formats replaced with those specified.
copy(List<StreamKey>) - Method in interface com.google.android.exoplayer2.offline.FilterableManifest
Returns a copy of the manifest including only the streams specified by the given keys.
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
CopyOnWriteMultiset<E> - Class in com.google.android.exoplayer2.util
An unordered collection of elements that allows duplicates, but also allows access to a set of unique elements.
CopyOnWriteMultiset() - Constructor for class com.google.android.exoplayer2.util.CopyOnWriteMultiset
 
copyright - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
A copyright statement for the media presentation.
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except for the start time, the discontinuity sequence and hasDiscontinuitySequence values.
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Part
 
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
copyWithAppendedEntries(Metadata.Entry...) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the specified entries appended.
copyWithAppendedEntriesFrom(Metadata) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the entries of the specified metadata appended.
copyWithBitrate(int) - Method in class com.google.android.exoplayer2.Format
copyWithCryptoType(@com.google.android.exoplayer2.C.CryptoType int) - Method in class com.google.android.exoplayer2.Format
Returns a copy of this format with the specified Format.cryptoType.
copyWithData(byte[]) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns a copy of this instance with the specified data.
copyWithDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format
copyWithEndTag() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except that an end tag is added.
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
 
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant
Returns a copy of this instance with the given Format.
copyWithFrameRate(float) - Method in class com.google.android.exoplayer2.Format
copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
copyWithId(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a copy with the specified ID.
copyWithId(String) - Method in class com.google.android.exoplayer2.source.TrackGroup
Returns a copy of this track group with the specified id.
copyWithKeySetId(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a copy with the specified key set ID.
copyWithLabel(String) - Method in class com.google.android.exoplayer2.Format
copyWithManifestFormatInfo(Format) - Method in class com.google.android.exoplayer2.Format
copyWithMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format
copyWithMergedRequest(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns the result of merging newRequest into this request.
copyWithMetadata(Metadata) - Method in class com.google.android.exoplayer2.Format
copyWithMutationsApplied(ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Returns a copy DefaultContentMetadata with mutations applied.
copyWithPeriodUid(Object) - Method in class com.google.android.exoplayer2.source.MediaPeriodId
Returns a copy of this period identifier but with newPeriodUid as its period uid.
copyWithPeriodUid(Object) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
copyWithPictureFrames(List<PictureFrame>) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of this with the given picture frames added to the metadata.
copyWithPresentationTimeUs(long) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the specified presentation time.
copyWithSchemeType(String) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Returns a copy with the specified protection scheme type.
copyWithSeekTable(FlacStreamMetadata.SeekTable) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of this with the seek table replaced by the one given.
copyWithSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format
copyWithVideoSize(int, int) - Method in class com.google.android.exoplayer2.Format
copyWithVorbisComments(List<String>) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of this with the given Vorbis comments added to the metadata.
copyWithWindowSequenceNumber(long) - Method in class com.google.android.exoplayer2.source.MediaPeriodId
Returns a copy of this period identifier with a new windowSequenceNumber.
copyWithWindowSequenceNumber(long) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
count - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The number of ads in the ad group, or C.LENGTH_UNSET if unknown.
count(E) - Method in class com.google.android.exoplayer2.util.CopyOnWriteMultiset
Returns the number of occurrences of an element in this multiset.
crc32(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the result of updating a CRC-32 with the specified bytes in a "most significant bit first" order.
crc8(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the result of updating a CRC-8 with the specified bytes in a "most significant bit first" order.
create() - Method in interface com.google.android.exoplayer2.testutil.ExtractorAsserts.ExtractorFactory
 
create(@com.google.android.exoplayer2.C.FormatSupport int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
create(@com.google.android.exoplayer2.C.FormatSupport int, @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int, @com.google.android.exoplayer2.RendererCapabilities.TunnelingSupport int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
create(@com.google.android.exoplayer2.C.FormatSupport int, @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int, @com.google.android.exoplayer2.RendererCapabilities.TunnelingSupport int, @com.google.android.exoplayer2.RendererCapabilities.HardwareAccelerationSupport int, @com.google.android.exoplayer2.RendererCapabilities.DecoderSupport int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
create(int, int) - Method in interface com.google.android.exoplayer2.testutil.FakeTrackOutput.Factory
 
create(Context) - Static method in class com.google.android.exoplayer2.analytics.MediaMetricsListener
Creates a media metrics listener.
create(Context, FrameProcessor.Listener, List<Effect>, DebugViewProvider, ColorInfo, boolean) - Method in class com.google.android.exoplayer2.effect.GlEffectsFrameProcessor.Factory
Creates a new FrameProcessor instance.
create(Context, FrameProcessor.Listener, List<Effect>, DebugViewProvider, ColorInfo, boolean) - Method in interface com.google.android.exoplayer2.util.FrameProcessor.Factory
Creates a new FrameProcessor instance.
create(ParcelFileDescriptor) - Method in class com.google.android.exoplayer2.transformer.DefaultMuxer.Factory
 
create(ParcelFileDescriptor) - Method in interface com.google.android.exoplayer2.transformer.Muxer.Factory
Returns a new muxer writing to a file descriptor.
create(Format, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.testutil.FakeMediaPeriod.TrackDataFactory
Returns the list of FakeSampleStream.FakeSampleStreamItems that will be written the sample queue during playback.
create(String) - Method in class com.google.android.exoplayer2.transformer.DefaultMuxer.Factory
 
create(String) - Method in interface com.google.android.exoplayer2.transformer.Muxer.Factory
Returns a new muxer writing to a file.
create4x4IdentityMatrix() - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates a 4x4 identity matrix.
createAdapter(MediaCodecAdapter.Configuration) - Method in class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
 
createAdapter(MediaCodecAdapter.Configuration) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory
Creates a MediaCodecAdapter instance.
createAdapter(MediaCodecAdapter.Configuration) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.Factory
 
createAdaptiveTrackSelection(TrackGroup, int[], int, BandwidthMeter, ImmutableList<AdaptiveTrackSelection.AdaptationCheckpoint>) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates a single adaptive selection for the given group, bandwidth meter and tracks.
createAdaptiveTrackSelection(ExoTrackSelection.Definition) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelectionUtil.AdaptiveTrackSelectionFactory
Creates an adaptive track selection for the provided track selection definition.
createAdPlaybackState(int, long...) - Static method in class com.google.android.exoplayer2.testutil.FakeTimeline
Returns an ad playback state with the specified number of ads in each of the specified ad groups, each ten seconds long.
createAudioSampleFormat(String, String, String, int, int, int, int, @com.google.android.exoplayer2.C.PcmEncoding int, List<byte[]>, DrmInitData, @com.google.android.exoplayer2.C.SelectionFlags int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, @com.google.android.exoplayer2.C.SelectionFlags int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createBuffer(float[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a FloatBuffer with the given data.
createByteArray(int...) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Converts an array of integers in the range [0, 255] into an equivalent byte array.
createByteList(int...) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Converts an array of integers in the range [0, 255] into an equivalent byte list.
createChunkSource(ExoTrackSelection, long, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
createChunkSource(LoaderErrorThrower, SsManifest, int, ExoTrackSelection, TransferListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
 
createChunkSource(LoaderErrorThrower, SsManifest, int, ExoTrackSelection, TransferListener) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource.Factory
Creates a new SsChunkSource.
createCodec(MediaCodecAdapter.Configuration) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.Factory
Creates a new MediaCodec instance.
createCompositeSequenceableLoader(SequenceableLoader...) - Method in interface com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory
Creates a composite SequenceableLoader.
createCompositeSequenceableLoader(SequenceableLoader...) - Method in class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
 
createContainerFormat(String, String, String, String, String, int, @com.google.android.exoplayer2.C.SelectionFlags int, @com.google.android.exoplayer2.C.RoleFlags int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createCryptoConfig(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
createCryptoConfig(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Creates a CryptoConfig that can be passed to a compatible decoder to allow decryption of protected content using the specified session.
createCryptoConfig(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
createCryptoConfig(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
createCurrentContentIntent(Player) - Method in class com.google.android.exoplayer2.ui.DefaultMediaDescriptionAdapter
 
createCurrentContentIntent(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Creates a content intent for the current media item.
createCustomActions(Context, int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Gets the actions handled by this receiver.
createDashChunkSource(LoaderErrorThrower, DashManifest, BaseUrlExclusionList, int, int[], ExoTrackSelection, @com.google.android.exoplayer2.C.TrackType int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener, PlayerId) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
 
createDashChunkSource(LoaderErrorThrower, DashManifest, BaseUrlExclusionList, int, int[], ExoTrackSelection, @com.google.android.exoplayer2.C.TrackType int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener, PlayerId) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
 
createDataSet(TrackGroup, long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Factory
Returns a new FakeAdaptiveDataSet for the given TrackGroup.
createDataSink() - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink.Factory
 
createDataSink() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink.Factory
 
createDataSink() - Method in interface com.google.android.exoplayer2.upstream.DataSink.Factory
Creates a DataSink instance.
createDataSource() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
Creates and returns an instance of the DataSource.
createDataSource() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
Creates a DataSource instance.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSource.Factory
 
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.PriorityDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource.Factory
 
createDataSource(@com.google.android.exoplayer2.C.DataType int) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
createDataSource(@com.google.android.exoplayer2.C.DataType int) - Method in interface com.google.android.exoplayer2.source.hls.HlsDataSourceFactory
Creates a DataSource for the given data type.
createDataSourceForDownloading() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Returns an instance suitable for downloading content.
createDataSourceForRemovingDownload() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Returns an instance suitable for reading cached content as part of removing a download.
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
Deprecated.
 
createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
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.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
Creates a decoder for the given format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Creates a decoder for the given format.
createDecoderException(Throwable, MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
createDecoderException(Throwable, MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
createDefaultLoadControl() - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Deprecated.
createDownloader(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
 
createDownloader(DownloadRequest) - Method in interface com.google.android.exoplayer2.offline.DownloaderFactory
Creates a Downloader to perform the given DownloadRequest.
createDrmEventDispatcher(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a DrmSessionEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified window index and MediaSource.MediaPeriodId.
createDrmEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a DrmSessionEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified MediaSource.MediaPeriodId
createEglContext(EGLDisplay) - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates a new EGLContext for the specified EGLDisplay.
createEglContext(EGLDisplay, int[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates a new EGLContext for the specified EGLDisplay.
createEglDisplay() - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns an initialized default EGLDisplay.
createEventDispatcher(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified window index, MediaSource.MediaPeriodId and time offset.
createEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified MediaSource.MediaPeriodId.
createEventDispatcher(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified MediaSource.MediaPeriodId and time offset.
createExternalTexture() - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates a GL_TEXTURE_EXTERNAL_OES with default configuration of GL_LINEAR filtering and GL_CLAMP_TO_EDGE wrapping.
createExtractor(Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput, PlayerId) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
createExtractor(Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput, PlayerId) - Method in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
Creates an Extractor for extracting HLS media chunks.
createExtractors() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
createExtractors() - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Returns an array of new Extractor instances.
createExtractors(Uri, Map<String, List<String>>) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
createExtractors(Uri, Map<String, List<String>>) - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Returns an array of new Extractor instances.
createFallbackOptions(ExoTrackSelection) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Returns the LoadErrorHandlingPolicy.FallbackOptions with the tracks of the given ExoTrackSelection and with a single location option indicating that there are no alternative locations available.
createFboForTexture(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns a new framebuffer for the texture.
createFocusedPlaceholderEglSurface(EGLContext, EGLDisplay, int[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates and focuses a placeholder EGLSurface.
createForAd(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_AD.
createForAdGroup(Exception, int) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_AD_GROUP.
createForAllAds(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_ALL_ADS.
createForAspectRatio(float, @com.google.android.exoplayer2.effect.Presentation.Layout int) - Static method in class com.google.android.exoplayer2.effect.Presentation
Creates a new Presentation instance.
createForAudioDecoding(Format) - Method in interface com.google.android.exoplayer2.transformer.Codec.DecoderFactory
Returns a Codec for audio decoding.
createForAudioDecoding(MediaCodecInfo, MediaFormat, Format, MediaCrypto) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Creates a configuration for audio decoding.
createForAudioEncoding(Format, List<String>) - Method in interface com.google.android.exoplayer2.transformer.Codec.EncoderFactory
Returns a Codec for audio encoding.
createForAudioEncoding(Format, List<String>) - Method in class com.google.android.exoplayer2.transformer.DefaultEncoderFactory
 
createForAudioProcessor(Throwable, String, AudioProcessor.AudioFormat, int) - Static method in exception com.google.android.exoplayer2.transformer.TransformationException
Creates an instance for an AudioProcessor related exception.
createForCodec(Throwable, boolean, boolean, MediaFormat, String, int) - Static method in exception com.google.android.exoplayer2.transformer.TransformationException
Creates an instance for a decoder or encoder related exception.
createForCodec(Throwable, boolean, boolean, Format, String, int) - Static method in exception com.google.android.exoplayer2.transformer.TransformationException
Creates an instance for a decoder or encoder related exception.
createForHeight(int) - Static method in class com.google.android.exoplayer2.effect.Presentation
Creates a new Presentation instance.
createForIOException(IOException, DataSpec, @com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException.Type int) - Static method in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
Returns a HttpDataSourceException whose error code is assigned according to the cause and type.
createForMalformedContainer(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
Creates a new instance for which ParserException.contentIsMalformed is true and ParserException.dataType is C.DATA_TYPE_MEDIA.
createForMalformedDataOfUnknownType(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
createForMalformedManifest(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
createForManifestWithUnsupportedFeature(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
Creates a new instance for which ParserException.contentIsMalformed is false and ParserException.dataType is C.DATA_TYPE_MANIFEST.
createForRemote(String) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_REMOTE.
createForRenderer(Throwable, String, int, Format, @com.google.android.exoplayer2.C.FormatSupport int, boolean, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_RENDERER.
createForSource(IOException, int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_SOURCE.
createForUnexpected(Exception) - Static method in exception com.google.android.exoplayer2.transformer.TransformationException
Creates an instance for an unexpected exception.
createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_UNEXPECTED.
createForUnexpected(RuntimeException, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_UNEXPECTED.
createForUnsupportedContainerFeature(String) - Static method in exception com.google.android.exoplayer2.ParserException
Creates a new instance for which ParserException.contentIsMalformed is false and ParserException.dataType is C.DATA_TYPE_MEDIA.
createForVideoDecoding(Format, Surface, boolean) - Method in interface com.google.android.exoplayer2.transformer.Codec.DecoderFactory
Returns a Codec for video decoding.
createForVideoDecoding(MediaCodecInfo, MediaFormat, Format, Surface, MediaCrypto) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Creates a configuration for video decoding.
createForVideoEncoding(Format, List<String>) - Method in interface com.google.android.exoplayer2.transformer.Codec.EncoderFactory
Returns a Codec for video encoding.
createForVideoEncoding(Format, List<String>) - Method in class com.google.android.exoplayer2.transformer.DefaultEncoderFactory
 
createForWidthAndHeight(int, int, @com.google.android.exoplayer2.effect.Presentation.Layout int) - Static method in class com.google.android.exoplayer2.effect.Presentation
Creates a new Presentation instance.
createFromBitmap(Bitmap) - Static method in class com.google.android.exoplayer2.effect.SingleColorLut
Creates a new instance.
createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Creates a CaptionStyleCompat equivalent to a provided CaptioningManager.CaptionStyle.
createFromCube(int[][][]) - Static method in class com.google.android.exoplayer2.effect.SingleColorLut
Creates a new instance.
createFromParcel(Parcel) - Static method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
createGrayscaleFilter() - Static method in class com.google.android.exoplayer2.effect.RgbFilter
Creates a new grayscale RgbFilter instance.
createHandler(Looper, Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the specified Looper thread.
createHandler(Looper, Handler.Callback) - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
createHandler(Looper, Handler.Callback) - Method in interface com.google.android.exoplayer2.util.Clock
Creates a HandlerWrapper using a specified looper and a specified callback for handling messages.
createHandler(Looper, Handler.Callback) - Method in class com.google.android.exoplayer2.util.SystemClock
 
createHandlerForCurrentLooper() - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler on the current Looper thread.
createHandlerForCurrentLooper(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the current Looper thread.
createHandlerForCurrentOrMainLooper() - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler on the current Looper thread.
createHandlerForCurrentOrMainLooper(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the current Looper thread.
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.ext.av1.Gav1Decoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createInvertedFilter() - Static method in class com.google.android.exoplayer2.effect.RgbFilter
Creates a new inverted RgbFilter instance.
createMediaFormatFromFormat(Format) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Returns a MediaFormat representing the given ExoPlayer Format.
createMediaPeriod(MediaSource.MediaPeriodId, TrackGroupArray, Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaSource
 
createMediaPeriod(MediaSource.MediaPeriodId, TrackGroupArray, Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a MediaPeriod for this media source.
createMediaPeriod(T, int) - Method in interface com.google.android.exoplayer2.testutil.MediaPeriodAsserts.FilterableManifestMediaPeriodFactory
Returns media period based on the provided filterable manifest.
createMediaPlaylistVariantUrl(Uri) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist.Variant
Creates a variant for a given media playlist url.
createMediaSource() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource.Factory
Creates a new SilenceMediaSource.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.Factory
 
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
 
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Returns a new HlsMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in interface com.google.android.exoplayer2.source.MediaSource.Factory
Creates a new MediaSource with the specified MediaItem.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Returns a new ProgressiveMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Returns a new RtspMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
 
createMediaSource(MediaItem.SubtitleConfiguration, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Returns a new SingleSampleMediaSource using the current parameters.
createMediaSource(DownloadRequest, DataSource.Factory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
createMediaSource(DownloadRequest, DataSource.Factory, DrmSessionManager) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Utility method to create a MediaSource that only exposes the tracks defined in downloadRequest.
createMediaSource(DashManifest) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(DashManifest, MediaItem) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(SsManifest) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(SsManifest, MediaItem) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters and the specified sideloaded manifest.
createMessage(PlayerMessage.Target) - Method in interface com.google.android.exoplayer2.ExoPlayer
Creates a message that can be sent to a PlayerMessage.Target.
createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
createMetadataInputBuffer(byte[]) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Create a new MetadataInputBuffer and copy data into the backing ByteBuffer.
createMultiPeriodAdTimeline(Object, int, boolean...) - Static method in class com.google.android.exoplayer2.testutil.FakeTimeline
Creates a multi-period timeline with ad and content periods specified by the flags passed as var-arg arguments.
createNotification(Player, NotificationCompat.Builder, boolean, Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates the notification given the current player state.
createNotificationChannel(Context, String, int, int, @com.google.android.exoplayer2.util.NotificationUtil.Importance int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
Creates a notification channel that notifications can be posted to.
createOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates a new output buffer.
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
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.
createPayloadReader(RtpPayloadFormat) - Method in class com.google.android.exoplayer2.source.rtsp.reader.DefaultRtpPayloadReaderFactory
 
createPayloadReader(RtpPayloadFormat) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader.Factory
Returns a RtpPayloadReader for a given RtpPayloadFormat.
createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Calls MediaSource.createPeriod(MediaPeriodId, Allocator, long) on the wrapped source then prepares it if MaskingMediaPeriod.prepare(Callback, long) has been called.
createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaSource.createPeriod(MediaSource.MediaPeriodId, Allocator, long) with a zero start position on the playback thread, asserting that a non-null MediaPeriod is returned.
createPeriod(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaSource.createPeriod(MediaSource.MediaPeriodId, Allocator, long) on the playback thread, asserting that a non-null MediaPeriod is returned.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.ServerSideAdInsertionMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource2
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns a new MediaPeriod identified by periodId.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.WrappingMediaSource
Creates the requested MediaPeriod.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
createPlaceholder(Object) - Static method in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition that corresponds to a placeholder timeline using the given tag.
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a stand-alone playlist parser.
createPlaylistParser(HlsMultivariantPlaylist, HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser(HlsMultivariantPlaylist, HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser(HlsMultivariantPlaylist, HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a playlist parser for playlists that were referenced by the given HlsMultivariantPlaylist.
createProgressiveMediaExtractor(@com.google.android.exoplayer2.C.TrackType int, Format, boolean, List<Format>, TrackOutput, PlayerId) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor.Factory
Returns a new ChunkExtractor instance.
createProgressiveMediaExtractor(PlayerId) - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor.Factory
Returns a new ProgressiveMediaExtractor instance.
createRendererException(Throwable, Format, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Method in class com.google.android.exoplayer2.BaseRenderer
Creates an ExoPlaybackException of type ExoPlaybackException.TYPE_RENDERER for this renderer.
createRendererException(Throwable, Format, boolean, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Method in class com.google.android.exoplayer2.BaseRenderer
Creates an ExoPlaybackException of type ExoPlaybackException.TYPE_RENDERER for this renderer.
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
 
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput) - Method in interface com.google.android.exoplayer2.RenderersFactory
Builds the Renderer instances for an ExoPlayer.
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput) - Method in class com.google.android.exoplayer2.testutil.CapturingRenderersFactory
 
createRetryAction(boolean, long) - Static method in class com.google.android.exoplayer2.upstream.Loader
Creates a Loader.LoadErrorAction for retrying with the given parameters.
createRobolectricConditionVariable() - Static method in class com.google.android.exoplayer2.robolectric.RobolectricUtil
Creates a ConditionVariable whose ConditionVariable.block(long) method times out according to wallclock time when used in Robolectric tests.
createSampleFormat(String, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createSampleStream(Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, Format, List<FakeSampleStream.FakeSampleStreamItem>) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Creates a new FakeSampleStream.
createSeekParamsForTargetTimeUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
createSessionCreationData(DrmInitData, DrmInitData) - Static method in class com.google.android.exoplayer2.drm.DrmInitData
Merges DrmInitData obtained from a media manifest and a media stream.
createSingleVariantMultivariantPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMultivariantPlaylist
Creates a playlist with a single variant.
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
createTempDirectory(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates an empty directory in the directory returned by Context.getCacheDir().
createTempFile(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates a new empty file in the directory returned by Context.getCacheDir().
createTestFile(File, long) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Writes test data with the specified length to the file and returns it.
createTestFile(File, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Writes one byte long test data to the file and returns it.
createTestFile(File, String, long) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Writes test data with the specified length to the file and returns it.
createTexture(int, int, boolean) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a new RGBA texture with the specified dimensions and color component precision.
createTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.Factory
Creates a new tracker instance.
createTracks(ExtractorOutput, int) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
createTracks(ExtractorOutput, int) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
Initializes the reader by providing its output and track id.
createTracks(ExtractorOutput, int) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpPcmReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Initializes the reader by providing outputs and ids for the tracks.
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
 
createTrackSelections(ExoTrackSelection.Definition[], BandwidthMeter, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
createTrackSelections(ExoTrackSelection.Definition[], BandwidthMeter, MediaSource.MediaPeriodId, Timeline) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection.Factory
Creates track selections for the provided Definitions.
createTrackSelections(ExoTrackSelection.Definition[], BandwidthMeter, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
createTrackSelectionsForDefinitions(ExoTrackSelection.Definition[], TrackSelectionUtil.AdaptiveTrackSelectionFactory) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Creates track selections for an array of track selection definitions, with at most one multi-track adaptive selection.
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates an exception to propagate for an unexpected decode error.
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createVertexBuffer(List<float[]>) - Static method in class com.google.android.exoplayer2.util.GlUtil
Flattens the list of 4 element NDC coordinate vectors into a buffer.
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createWithDrm(Allocator, Looper, DrmSessionManager, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.source.SampleQueue
createWithDrm(Allocator, DrmSessionManager, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.source.SampleQueue
Creates a sample queue with DRM resource management.
createWithoutDrm(Allocator) - Static method in class com.google.android.exoplayer2.source.SampleQueue
Creates a sample queue without DRM resource management.
createWithWindowId(Object) - Static method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Convenience method to create a FakeMediaSource with the given window id.
CREATOR - Static variable in class com.google.android.exoplayer2.audio.AudioAttributes
Object that can restore AudioAttributes from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.DeviceInfo
Object that can restore DeviceInfo from a Bundle.
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 exception com.google.android.exoplayer2.ExoPlaybackException
Object that can restore ExoPlaybackException from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader.State
CREATOR - Static variable in class com.google.android.exoplayer2.Format
Object that can restore Format from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.HeartRating
Object that can restore a HeartRating from a