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 
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.
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(Looper, DrmSessionEventListener.EventDispatcher, Format) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
acquireSession(Looper, 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 window.
ACTION_PAUSE - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which pauses playback.
ACTION_PAUSE_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Pauses all downloads.
ACTION_PLAY - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which starts playback.
ACTION_PREVIOUS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which skips to the previous window.
ACTION_REMOVE_ALL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Removes all downloads.
ACTION_REMOVE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Removes a download.
ACTION_RESUME_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Resumes all downloads except those that have a non-zero Download.stopReason.
ACTION_REWIND - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which rewinds.
ACTION_SET_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Sets the requirements that need to be met for downloads to progress.
ACTION_SET_STOP_REASON - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Sets the stop reason for one or all downloads.
ACTION_STOP - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The action which stops playback.
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
ActionFileUpgradeUtil - Class in com.google.android.exoplayer2.offline
Utility class for upgrading legacy action files into DefaultDownloadIndex.
ActionFileUpgradeUtil.DownloadIdProvider - Interface in com.google.android.exoplayer2.offline
Provides download IDs during action file upgrade.
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
 
ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
 
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, 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[], int, BandwidthMeter, long, long, long, 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.
add(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.IntArrayQueue
Add a new item to the queue.
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(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.ServerSideInsertedAdsUtil
Adds a new server-side inserted ad group to an AdPlaybackState.
addAll(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 class com.google.android.exoplayer2.SimpleExoPlayer
Adds an AnalyticsListener to receive analytics events.
addAudioLanguagesToSelection(String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Convenience method to add selections of tracks for all specified audio languages.
addAudioListener(AudioListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
addAudioListener(AudioListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
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
 
addAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addDeviceListener(DeviceListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
addDeviceListener(DeviceListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
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(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Adds the flag to this buffer's flags.
addIf(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 class com.google.android.exoplayer2.analytics.AnalyticsCollector
Adds a listener for analytics events.
addListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
addListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
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.SimpleExoPlayer
 
addListener(Player.Listener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Registers a listener to receive events from the playlist tracker.
addListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
addListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Adds a listener for scrubbing events.
addListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Registers a listener to listen for changes to a given 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
 
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
 
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.SimpleExoPlayer
 
addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.BasePlayer
 
addMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
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
 
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
 
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
 
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
 
addMediaSources(List<MediaSource>) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
addMetadataOutput(MetadataOutput) - Method in interface com.google.android.exoplayer2.ExoPlayer.MetadataComponent
addMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
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.
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.util.SlidingPercentile
Adds a new weighted value.
addTextLanguagesToSelection(boolean, String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Convenience method to add selections of tracks for all specified text languages.
addTextOutput(TextOutput) - Method in interface com.google.android.exoplayer2.ExoPlayer.TextComponent
addTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
addTime(String, long) - Method in class com.google.android.exoplayer2.testutil.Dumper
 
addTrackSelection(int, DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Adds a selection of tracks to be downloaded.
addTrackSelectionForSingleRenderer(int, int, DefaultTrackSelector.Parameters, List<DefaultTrackSelector.SelectionOverride>) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Convenience method to add a selection of tracks to be downloaded for a single renderer.
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
addTransferListener(TransferListener) - Method in interface com.google.android.exoplayer2.upstream.DataSource
Adds a TransferListener to listen to data transfers.
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
addVideoFrameProcessingOffset(long) - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
addVideoListener(VideoListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
addVideoListener(VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
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.
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.
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, int) - Constructor for class com.google.android.exoplayer2.ui.AdOverlayInfo
Creates a new overlay info.
AdOverlayInfo(View, int, String) - Constructor for class com.google.android.exoplayer2.ui.AdOverlayInfo
Creates a new overlay info.
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.testutil.FakeTimeline.TimelineWindowDefinition
 
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.
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.PlaybackProperties
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.
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, MediaSourceFactory, 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(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
 
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.
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.
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.
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(int) - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
AmrExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.amr
Flags controlling the behavior of the extractor.
AnalyticsCollector - Class in com.google.android.exoplayer2.analytics
Data collector that forwards analytics events to AnalyticsListeners.
AnalyticsCollector(Clock) - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsCollector
Creates an analytics collector.
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.DefaultAudioSink.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.DefaultAudioSink.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, 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, 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>, 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.
assertMediaItemsTransitionedSame(MediaItem...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the media items reported by Player.Listener.onMediaItemTransition(MediaItem, int) are the same as the provided media items.
assertMediaItemsTransitionReasonsEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the media item transition reasons reported by Player.Listener.onMediaItemTransition(MediaItem, int) are the same as the provided reasons.
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, 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, 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, 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.
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.
assertTrackGroupsEqual(TrackGroupArray) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Asserts that the last track group array reported by Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray) is equal to the provided track group array.
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.
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, 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.
Attribute(int, int) - Constructor for class com.google.android.exoplayer2.util.GlUtil.Attribute
Creates a new GL attribute.
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_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_UHD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_E_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_FLAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
AUDIO_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_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 - Class in com.google.android.exoplayer2.audio
Attributes for audio playback, which configure the underlying platform AudioTrack.
AudioAttributes.Builder - Class in com.google.android.exoplayer2.audio
Builder for AudioAttributes.
AudioCapabilities - Class in com.google.android.exoplayer2.audio
Represents the set of audio formats that a device is capable of playing.
AudioCapabilities(int[], int) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilities
Constructs new audio capabilities based on a set of supported encodings and a maximum channel count.
AudioCapabilitiesReceiver - Class in com.google.android.exoplayer2.audio
Receives broadcast events indicating changes to the device's audio capabilities, notifying a AudioCapabilitiesReceiver.Listener when audio capability changes occur.
AudioCapabilitiesReceiver(Context, AudioCapabilitiesReceiver.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
 
AudioCapabilitiesReceiver.Listener - Interface in com.google.android.exoplayer2.audio
Listener notified when audio capabilities change.
audioCodecError(Exception) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
AUDIOFOCUS_GAIN - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_GAIN_TRANSIENT - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK - Static variable in class com.google.android.exoplayer2.C
 
AUDIOFOCUS_NONE - Static variable in class com.google.android.exoplayer2.C
 
AudioFormat(int, int, 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.HlsMasterPlaylist.Variant
The audio rendition group referenced by this variant, or null.
AudioListener - Interface in com.google.android.exoplayer2.audio
Deprecated.
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.
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.HlsMasterPlaylist
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
AudioTrackScore(Format, DefaultTrackSelector.Parameters, int) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
 
audioTrackState - Variable in exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
The underlying AudioTrack's state.
autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If SpliceInsertCommand.breakDurationUs is not C.TIME_UNSET, defines whether SpliceInsertCommand.breakDurationUs should be used to know when to return to the network feed.
autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
If SpliceScheduleCommand.Event.breakDurationUs is not C.TIME_UNSET, defines whether SpliceScheduleCommand.Event.breakDurationUs should be used to know when to return to the network feed.
AuxEffectInfo - Class in com.google.android.exoplayer2.audio
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an underlying AudioTrack.
AuxEffectInfo(int, float) - Constructor for class com.google.android.exoplayer2.audio.AuxEffectInfo
Creates an instance with the given effect identifier and send level.
availabilityStartTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Holds the value of avail_num as defined in SCTE35, Section 9.3.3.
availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Holds the value of avail_num as defined in SCTE35, Section 9.3.2.
availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Holds the value of avails_expected as defined in SCTE35, Section 9.3.3.
availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Holds the value of avails_expected as defined in SCTE35, Section 9.3.2.
AvcConfig - Class in com.google.android.exoplayer2.video
AVC configuration data.
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.

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, 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(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[], 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 default 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.
bind() - Method in class com.google.android.exoplayer2.util.GlUtil.Attribute
Sets the vertex attribute to whatever was attached via GlUtil.Attribute.setBuffer(float[], int).
bind() - Method in class com.google.android.exoplayer2.util.GlUtil.Uniform
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.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.
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.
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_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.DefaultLivePlaybackSpeedControl.Builder
Builds an instance.
build() - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
build() - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Builds an ExoPlayer instance.
build() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Returns a new ImaAdsLoader.
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.Builder
Returns a new MediaItem instance with the current builder values.
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.SimpleExoPlayer.Builder
Builds a SimpleExoPlayer instance.
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 SimpleExoPlayer 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.ParametersBuilder
Builds a DefaultTrackSelector.Parameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Builds a TrackSelectionParameters instance with the selected values.
build() - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Builds a Transformer instance.
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, 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, 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, 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.
buildCronetEngine(Context, String, boolean) - Static method in class com.google.android.exoplayer2.ext.cronet.CronetUtil
Builds a CronetEngine suitable for use with ExoPlayer.
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(String, RangedUri, String, 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.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.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.MediaMetadata.Builder
 
Builder() - Constructor for class com.google.android.exoplayer2.Player.Commands.Builder
Creates a 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.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.Transformer.Builder
Creates a builder with default values.
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.ext.ima.ImaAdsLoader.Builder
Creates a new builder for ImaAdsLoader.
Builder(Context) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Creates a builder.
Builder(Context) - Constructor for class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
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.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
Creates a builder with a custom ExtractorsFactory.
Builder(Context, Renderer...) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder with a list of Renderers.
Builder(Context, RenderersFactory) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Creates a builder with a custom RenderersFactory.
Builder(Context, RenderersFactory, ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Creates a builder with a custom RenderersFactory and ExtractorsFactory.
Builder(Context, RenderersFactory, TrackSelector, MediaSourceFactory, LoadControl, BandwidthMeter, AnalyticsCollector) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Creates a builder with the specified custom components.
Builder(Renderer[], TrackSelector, MediaSourceFactory, LoadControl, BandwidthMeter) - Constructor for class com.google.android.exoplayer2.ExoPlayer.Builder
Deprecated.
Creates a builder with the specified custom components.
Builder(TrackSelectionParameters) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.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.
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
 
buildHevcCodecStringFromSps(ParsableNalUnitBitArray) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Returns an RFC 6381 HEVC codec string based on the SPS NAL unit read from the provided bit array.
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, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds metadata renderers for use by the player.
buildMiscellaneousRenderers(Context, Handler, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds any miscellaneous renderers used by the player.
buildNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Constructs a NAL unit consisting of the NAL start code followed by the specified data.
buildPauseDownloadsIntent(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Builds an Intent to pause all downloads.
buildPeriod(String, long, List<AdaptationSet>, List<EventStream>, 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
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, int, ArrayList<Renderer>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Builds text renderers for use by the player.
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
Returns a MediaItem.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.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.ParametersBuilder, copying the initial values from this instance.
buildUpon() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Creates a new TrackSelectionParameters.Builder, copying the initial values from this instance.
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.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.ParametersBuilder initialized with the current selection parameters.
buildUri(String, long, int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Constructs a Uri from the template, substituting in the provided arguments.
buildUtcTimingElement(String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
buildVideoRenderers(Context, int, MediaCodecSelector, 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.
BundleableUtils - 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, 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.AudioFocusGain - Annotation Type in com.google.android.exoplayer2
Audio focus types.
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.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.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.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.cache.CachedRegionTracker
 
CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
Writes data into a cache.
CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Constructs an instance using CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when 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
 
CacheDataSinkFactory - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
CacheDataSinkFactory(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
Deprecated.
 
CacheDataSinkFactory(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
Deprecated.
 
CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
A DataSource that reads and writes a Cache.
CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource.CacheIgnoredReason - Annotation Type in com.google.android.exoplayer2.upstream.cache
Reasons the cache may be ignored.
CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
Listener of CacheDataSource events.
CacheDataSource.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.
CacheDataSourceFactory - Class in com.google.android.exoplayer2.upstream.cache
Deprecated.
CacheDataSourceFactory(Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
Deprecated.
Constructs a factory which creates CacheDataSource instances with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSourceFactory(Cache, DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
Deprecated.
 
CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
Deprecated.
 
CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
Deprecated.
 
CachedRegionTracker - Class in com.google.android.exoplayer2.upstream.cache
Utility class for efficiently tracking regions of data that are stored in a Cache for a given cache key.
CachedRegionTracker(Cache, String, ChunkIndex) - Constructor for class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
 
CacheEvictor - Interface in com.google.android.exoplayer2.upstream.cache
Evicts data from a Cache.
CacheException(String) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheException(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
 
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.IntArrayQueue
Returns the length of the backing array.
capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the capacity of the array, which may be larger than the limit.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
The CLOSED-CAPTIONS value as defined in the EXT-X-STREAM-INF tag, or null if the CLOSED-CAPTIONS attribute is not present.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
The caption rendition group referenced by this variant, or null.
CaptionStyleCompat - Class in com.google.android.exoplayer2.ui
A compatibility wrapper for CaptioningManager.CaptionStyle.
CaptionStyleCompat(int, int, int, 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.Format
The number of audio channels, or Format.NO_VALUE if unknown or not applicable.
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
If there is an OpenGl error, logs the error and if ExoPlayerLibraryInfo.GL_ASSERTIONS_ENABLED is true throws a RuntimeException.
checkInBounds() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Verifies that the iterator points to a valid element.
checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IndexOutOfBoundsException if index falls outside the specified bounds.
checkInitialization() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Checks whether the cache was initialized successfully.
checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if the calling thread is not the application's main thread.
checkNotEmpty(String) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the requirements are met.
checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
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, int, Format, 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(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.SimpleOutputBuffer
 
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.IntArrayQueue
Clears the queue.
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
Detaches any previously attached auxiliary audio effect from the underlying audio track.
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Clears the listener which receives camera motion events if it matches the one passed.
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearDecoderInfoCache() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Clears the codec cache.
clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
Clears any stored fatal error.
clearFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Removes the flag from this buffer's flags, if it is set.
CLEARKEY_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the ClearKey DRM scheme.
clearKeyRequestProperty(String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears a header for key requests made by the callback.
clearMediaItems() - Method in class com.google.android.exoplayer2.BasePlayer
 
clearMediaItems() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
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
 
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.ParametersBuilder
Clears a track selection override for the specified renderer and TrackGroupArray.
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Clears all track selection overrides for all renderers.
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Clears all track selection overrides for the specified renderer.
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.VideoComponent
Clears the listener which receives video frame metadata events if it matches the one passed.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
clearVideoSurface() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Clears any Surface, SurfaceHolder, SurfaceView or TextureView currently set on the player.
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
 
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.SimpleExoPlayer
 
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.StubExoPlayer
 
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Clears the Surface onto which video is being rendered if it matches the one passed.
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
 
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.SimpleExoPlayer
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
ClearVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Clears the SurfaceHolder that holds the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.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.SimpleExoPlayer
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Clears the SurfaceView onto which video is being rendered if it matches the one passed.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.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.SimpleExoPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Clears the TextureView onto which video is being rendered if it matches the one passed.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.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.SimpleExoPlayer
 
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
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.
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
The clipping properties.
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.DummyDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
close() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
close() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Closes the condition.
close() - Method in class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
 
closedCaptions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The closed caption renditions declared by the playlist.
closeQuietly(DataSource) - Static method in class com.google.android.exoplayer2.util.Util
Closes a DataSource, suppressing any IOException that may occur.
closeQuietly(Closeable) - Static method in class com.google.android.exoplayer2.util.Util
Closes a Closeable, suppressing any IOException that may occur.
closeSession(byte[]) - Method in 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_OPERATING_RATE_UNSET - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Indicates no codec operating rate should be set.
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.
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
 
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(int, int, int, byte[]) - Constructor for class com.google.android.exoplayer2.video.ColorInfo
Constructs the ColorInfo.
ColorParser - Class in com.google.android.exoplayer2.util
Parser for color expressions found in styling formats, e.g.
colorRange - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color range of the video.
colors - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
For indexed-color pictures (e.g.
colorspace - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
 
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.video.VideoDecoderOutputBuffer
 
COLORSPACE_BT601 - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
 
COLORSPACE_BT709 - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
 
COLORSPACE_UNKNOWN - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
 
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.device - package com.google.android.exoplayer2.device
 
com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
 
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.gvr - package com.google.android.exoplayer2.ext.gvr
 
com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
 
com.google.android.exoplayer2.ext.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.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.rawcc - package com.google.android.exoplayer2.extractor.rawcc
 
com.google.android.exoplayer2.extractor.ts - package com.google.android.exoplayer2.extractor.ts
 
com.google.android.exoplayer2.extractor.wav - package com.google.android.exoplayer2.extractor.wav
 
com.google.android.exoplayer2.mediacodec - package com.google.android.exoplayer2.mediacodec
 
com.google.android.exoplayer2.metadata - package com.google.android.exoplayer2.metadata
 
com.google.android.exoplayer2.metadata.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.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 MediaItems 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 the MediaItem of the current window.
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 the MediaItems metadata.
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_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_STOP - Static variable in interface com.google.android.exoplayer2.Player
Command to prepare the player, stop playback or release the player.
COMMAND_SEEK_BACK - Static variable in interface com.google.android.exoplayer2.Player
Command to seek back by a fixed increment into the current window.
COMMAND_SEEK_FORWARD - Static variable in interface com.google.android.exoplayer2.Player
Command to seek forward by a fixed increment into the current window.
COMMAND_SEEK_IN_CURRENT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Command to seek anywhere into the current window.
COMMAND_SEEK_TO_DEFAULT_POSITION - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the current window.
COMMAND_SEEK_TO_NEXT - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to a later position in the current or next window.
COMMAND_SEEK_TO_NEXT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the next window.
COMMAND_SEEK_TO_PREVIOUS - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to an earlier position in the current or previous window.
COMMAND_SEEK_TO_PREVIOUS_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the previous window.
COMMAND_SEEK_TO_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Command to seek anywhere in any window.
COMMAND_SET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to set the device volume and mute it.
COMMAND_SET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Command to set the MediaItems 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_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.
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(DefaultTrackSelector.AudioTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
Compares this score with another.
compareTo(DefaultTrackSelector.OtherTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.OtherTrackScore
 
compareTo(DefaultTrackSelector.TextTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
Compares this score with another.
compareTo(DefaultTrackSelector.VideoTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.VideoTrackScore
 
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.
compileProgram(String[], String[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Builds a GL shader program from vertex and fragment shader code.
compileProgram(String, String) - Static method in class com.google.android.exoplayer2.util.GlUtil
Builds a GL shader program from vertex and fragment shader code.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If SpliceInsertCommand.programSpliceFlag is false, a non-empty list containing the SpliceInsertCommand.ComponentSplices.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
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
 
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.
Configuration(MediaCodecInfo, MediaFormat, Format, Surface, MediaCrypto, int) - Constructor for class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
 
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(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(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
Deprecated.
 
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
Constructs a new instance from a stream.
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, int) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
consume(ParsableByteArray, 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.
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, 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(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns whether the given event occurred.
contains(int) - Method in class com.google.android.exoplayer2.Player.Commands
Returns whether the set of commands contains the specified Player.Command.
contains(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(int...) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns whether any of the given events occurred.
containsAny(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.
CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
 
ContentDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a content URI.
ContentDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
 
ContentDataSource.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, 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.
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
 
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
 
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
 
ControlDispatcher - Interface in com.google.android.exoplayer2
Deprecated.
Use a ForwardingPlayer or configure the player to customize operations.
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, 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.HlsMasterPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
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
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.
copyWithExoMediaCryptoType(Class<? extends ExoMediaCrypto>) - Method in class com.google.android.exoplayer2.Format
Returns a copy of this format with the specified Format.exoMediaCryptoType.
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
 
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
Returns a copy of this instance with the given Format.
copyWithFrameRate(float) - Method in class com.google.android.exoplayer2.Format
copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
copyWithId(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a copy with the specified ID.
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.
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(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
create(int, int) - Method in interface com.google.android.exoplayer2.testutil.FakeTrackOutput.Factory
 
create(int, int, int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
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.
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, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, 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.
createBuffer(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a FloatBuffer.
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, int, int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
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, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
 
createDashChunkSource(LoaderErrorThrower, DashManifest, BaseUrlExclusionList, int, int[], ExoTrackSelection, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - 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 class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
Deprecated.
 
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 class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
Deprecated.
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
Creates a DataSource instance.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource.Factory
 
createDataSource(int) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
createDataSource(int) - Method in interface com.google.android.exoplayer2.source.hls.HlsDataSourceFactory
Creates a DataSource for the given data type.
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.DefaultHttpDataSourceFactory
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, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
createDecoder(Format, ExoMediaCrypto) - 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
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) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
createExtractor(Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
Creates an Extractor for extracting HLS media chunks.
createExtractors() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
createExtractors() - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Returns an array of new Extractor instances.
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.
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.
createForIOException(IOException, DataSpec, 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, int, boolean, 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(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, 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.
createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Creates a CaptionStyleCompat equivalent to a provided CaptioningManager.CaptionStyle.
createFromParcel(Parcel) - Static method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
createHandler(Looper, Handler.Callback) - 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
 
createMediaCrypto(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
createMediaCrypto(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Creates an ExoMediaCrypto for a given session.
createMediaCrypto(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
createMediaCrypto(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
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.HlsMasterPlaylist.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(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
createMediaSource(Uri) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
createMediaSource(Uri, Format, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.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.MediaSourceFactory
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.Subtitle, 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
 
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.
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, 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.source.ads.AdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
createPeriod(MediaSource.MediaPeriodId, 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.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(HlsMasterPlaylist, HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist, HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist, HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a playlist parser for playlists that were referenced by the given HlsMasterPlaylist.
createProgressiveMediaExtractor() - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor.Factory
Returns a new ProgressiveMediaExtractor instance.
createProgressiveMediaExtractor(int, Format, boolean, List<Format>, TrackOutput) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor.Factory
Returns a new ChunkExtractor instance.
createRendererException(Throwable, Format, boolean, int) - Method in class com.google.android.exoplayer2.BaseRenderer
Creates an ExoPlaybackException of type ExoPlaybackException.TYPE_RENDERER for this renderer.
createRendererException(Throwable, Format, 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 a SimpleExoPlayer.
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.
createSingleVariantMasterPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Creates a playlist with a single variant.
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
createTempDirectory(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates an empty directory in the directory returned by Context.getCacheDir().
createTempFile(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates a new empty file in the directory returned by Context.getCacheDir().
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.
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, 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
 
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
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.
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.device.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.Format
 
CREATOR - Static variable in class com.google.android.exoplayer2.HeartRating
Object that can restore a HeartRating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaItem.ClippingProperties
Object that can restore MediaItem.ClippingProperties from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaItem
Object that can restore MediaItem from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Object that can restore MediaItem.LiveConfiguration from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaMetadata
Object that can restore MediaMetadata from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.Metadata
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
 
CREATOR - Static variable in class com.google.android.exoplayer2.offline.StreamKey
 
CREATOR - Static variable in class com.google.android.exoplayer2.PercentageRating
Object that can restore a PercentageRating from a Bundle.
CREATOR - Static variable in exception com.google.android.exoplayer2.PlaybackException
Object that can create a PlaybackException from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.PlaybackParameters
Object that can restore PlaybackParameters from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Player.Commands
Object that can restore Player.Commands from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Player.PositionInfo
Object that can restore Player.PositionInfo from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Rating
Object that can restore a Rating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Object that can restore AdPlaybackState.AdGroup from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Object that can restore AdPlaybackState from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroup
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
 
CREATOR - Static variable in class com.google.android.exoplayer2.StarRating
Object that can restore a StarRating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.text.Cue
 
CREATOR - Static variable in class com.google.android.exoplayer2.ThumbRating
Object that can restore a ThumbRating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Timeline
Object that can restore a Timeline from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Timeline.Period
Object that can restore Timeline.Period from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Timeline.Window
Object that can restore Timeline.Period from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
CREATOR - Static variable in class com.google.android.exoplayer2.video.ColorInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.video.VideoSize
 
cronetConnectionStatus - Variable in exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
Returns the status of the connection establishment at the moment when the error occurred, as defined by UrlRequest.Status.
CronetDataSource - Class in com.google.android.exoplayer2.ext.cronet
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
CronetDataSource(CronetEngine, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, int, int, int, boolean, boolean, String, HttpDataSource.RequestProperties, Predicate<String>, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
CronetDataSource(CronetEngine, Executor, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource.Factory - Class in com.google.android.exoplayer2.ext.cronet
CronetDataSource.OpenException - Exception in com.google.android.exoplayer2.ext.cronet
Thrown when an error is encountered when trying to open a CronetDataSource.
CronetDataSourceFactory - Class in com.google.android.exoplayer2.ext.cronet
Deprecated.
CronetDataSourceFactory(CronetEngineWrapper, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetEngineWrapper - Class in com.google.android.exoplayer2.ext.cronet
Deprecated.
Use CronetEngine directly. See the Android developer guide to learn how to instantiate a CronetEngine for use by your application. You can also use CronetUtil.buildCronetEngine(android.content.Context, java.lang.String, boolean) to build a CronetEngine suitable for use by ExoPlayer.
CronetEngineWrapper(Context) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Deprecated.
Creates a wrapper for a CronetEngine built using the most suitable CronetProvider.
CronetEngineWrapper(Context, String, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Deprecated.
Creates a wrapper for a CronetEngine built using the most suitable CronetProvider.
CronetEngineWrapper(CronetEngine) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Deprecated.
Creates a wrapper for an existing CronetEngine.
CronetUtil - Class in com.google.android.exoplayer2.ext.cronet
Cronet utility methods.
crypto - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
For DRM protected playbacks, a MediaCrypto to use for decryption.
CRYPTO_MODE_AES_CBC - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_MODE_AES_CTR - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_MODE_UNENCRYPTED - Static variable in class com.google.android.exoplayer2.C
 
cryptoData - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
A TrackOutput.CryptoData instance containing the encryption information from this TrackEncryptionBox.
CryptoData(int, byte[], int, int) - Constructor for class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
cryptoInfo - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
CryptoInfo for encrypted data.
CryptoInfo - Class in com.google.android.exoplayer2.decoder
Compatibility wrapper for MediaCodec.CryptoInfo.
CryptoInfo() - Constructor for class com.google.android.exoplayer2.decoder.CryptoInfo
 
cryptoMode - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The encryption mode used for the sample.
csrc - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP CSRC fields (Optional, up to 15 items).
CSRC_SIZE - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
csrcCount - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP CSRC count field (Word 0, bits 4-7).
cue - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueInfo
 
Cue - Class in com.google.android.exoplayer2.text
Contains information about a specific cue, including textual content and formatting data.
Cue(CharSequence) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, boolean, int) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
CUE_HEADER_PATTERN - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
 
Cue.AnchorType - Annotation Type in com.google.android.exoplayer2.text
The type of anchor, which may be unset.
Cue.Builder - Class in com.google.android.exoplayer2.text
A builder for Cue objects.
Cue.LineType - Annotation Type in com.google.android.exoplayer2.text
The type of line, which may be unset.
Cue.TextSizeType - Annotation Type in com.google.android.exoplayer2.text
The type of default text size for this cue, which may be unset.
Cue.VerticalType - Annotation Type in com.google.android.exoplayer2.text
The type of vertical layout for this cue, which may be unset (i.e.
CURRENT_POSITION_NOT_SET - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
Returned by AudioSink.getCurrentPositionUs(boolean) when the position is not set.
currentCapacity - Variable in exception com.google.android.exoplayer2.decoder.DecoderInputBuffer.InsufficientCapacityException
The current capacity of the buffer.
currentMediaPeriodId - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Media period identifier for the currently playing media period at the time of the event, or null if no current media period identifier is available.
currentPlaybackPositionMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Position in the current timeline window or the currently playing ad at the time of the event, in milliseconds.
currentTimeline - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
The current Timeline at the time of the event (equivalent to Player.getCurrentTimeline()).
currentTimeMillis() - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
currentTimeMillis() - Method in interface com.google.android.exoplayer2.util.Clock
Returns the current time in milliseconds since the Unix Epoch.
currentTimeMillis() - Method in class com.google.android.exoplayer2.util.SystemClock
 
currentWindowIndex - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
The current window index in AnalyticsListener.EventTime.currentTimeline at the time of the event, or the prospective window index if the timeline is not yet known and empty (equivalent to Player.getCurrentWindowIndex()).
CUSTOM_ERROR_CODE_BASE - Static variable in exception com.google.android.exoplayer2.PlaybackException
Player implementations that want to surface custom errors can use error codes greater than this value, so as to avoid collision with other error codes defined in this class.
customCacheKey - Variable in class com.google.android.exoplayer2.MediaItem.PlaybackProperties
Optional custom cache key (only used for progressive streams).
customCacheKey - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
Custom key for cache indexing, or null.
customData - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Application specific data.

D

d(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
d(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
DashChunkSource - Interface in com.google.android.exoplayer2.source.dash
A ChunkSource for DASH streams.
DashChunkSource.Factory - Interface in com.google.android.exoplayer2.source.dash
Factory for DashChunkSources.
DashDownloader - Class in com.google.android.exoplayer2.source.dash.offline
A downloader for DASH streams.
DashDownloader(MediaItem, CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
Creates a new instance.
DashDownloader(MediaItem, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
Creates a new instance.
DashDownloader(MediaItem, ParsingLoadable.Parser<DashManifest>, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
Creates a new instance.
DashManifest - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
DashManifest(long, long, long, boolean, long, long, long, long, ProgramInformation, UtcTimingElement, ServiceDescriptionElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
A parser of media presentation description files.
DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
DashManifestParser.RepresentationInfo - Class in com.google.android.exoplayer2.source.dash.manifest
A parsed Representation element.
DashManifestStaleException - Exception in com.google.android.exoplayer2.source.dash
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
DashManifestStaleException() - Constructor for exception com.google.android.exoplayer2.source.dash.DashManifestStaleException
 
DashMediaSource - Class in com.google.android.exoplayer2.source.dash
A DASH MediaSource.
DashMediaSource.Factory - Class in com.google.android.exoplayer2.source.dash
Factory for DashMediaSources.
DashSegmentIndex - Interface in com.google.android.exoplayer2.source.dash
Indexes the segments within a media stream.
DashUtil - Class in com.google.android.exoplayer2.source.dash
Utility methods for DASH streams.
DashWrappingSegmentIndex - Class in com.google.android.exoplayer2.source.dash
An implementation of DashSegmentIndex that wraps a ChunkIndex parsed from a media stream.
DashWrappingSegmentIndex(ChunkIndex, long) - Constructor for class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
data - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The buffer's data, or null if no data has been set.
data - Variable in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
 
data - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The initialization data.
data - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
The raw header data.
data - Variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
data - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
data - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
Application defined data associated with the download.
data - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
data - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
data - Variable in class com.google.android.exoplayer2.upstream.Allocation
The array containing the allocated space.
data - Variable in class com.google.android.exoplayer2.util.ParsableBitArray
 
data - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
RGB buffer for RGB mode.
DATA_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "data".
DATA_TYPE_AD - Static variable in class com.google.android.exoplayer2.C
A data type constant for ads loader data.
DATA_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom DATA_TYPE_* constants greater than or equal to this value.
DATA_TYPE_DRM - Static variable in class com.google.android.exoplayer2.C
A data type constant for drm or encryption data.
DATA_TYPE_MANIFEST - Static variable in class com.google.android.exoplayer2.C
A data type constant for a manifest file.
DATA_TYPE_MEDIA - Static variable in class com.google.android.exoplayer2.C
A data type constant for media, typically containing media samples.
DATA_TYPE_MEDIA_INITIALIZATION - Static variable in class com.google.android.exoplayer2.C
A data type constant for media, typically containing only initialization data.
DATA_TYPE_MEDIA_PROGRESSIVE_LIVE - Static variable in class com.google.android.exoplayer2.C
A data type constant for live progressive media streams, typically containing media samples.
DATA_TYPE_TIME_SYNCHRONIZATION - Static variable in class com.google.android.exoplayer2.C
A data type constant for time synchronization data.
DATA_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
A data type constant for data of unknown or unspecified type.
DATABASE_NAME - Static variable in class com.google.android.exoplayer2.database.ExoDatabaseProvider
The file name used for the standalone ExoPlayer database.
DatabaseIOException - Exception in com.google.android.exoplayer2.database
An IOException whose cause is an SQLException.
DatabaseIOException(SQLException) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
 
DatabaseIOException(SQLException, String) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
 
DatabaseProvider - Interface in com.google.android.exoplayer2.database
Provides SQLiteDatabase instances to ExoPlayer components, which may read and write tables prefixed with DatabaseProvider.TABLE_PREFIX.
DataChunk - Class in com.google.android.exoplayer2.source.chunk
A base class for Chunk implementations where the data should be loaded into a byte[] before being consumed.
DataChunk(DataSource, DataSpec, int, Format, int, Object, byte[]) - Constructor for class com.google.android.exoplayer2.source.chunk.DataChunk
 
DataReader - Interface in com.google.android.exoplayer2.upstream
Reads bytes from a data stream.
DataSchemeDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading data URLs, as defined by RFC 2397.
DataSchemeDataSource() - Constructor for class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
dataSetFactory - Variable in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
DataSink - Interface in com.google.android.exoplayer2.upstream
A component to which streams of data can be written.
DataSink.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for DataSink instances.
dataSource - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
 
DataSource - Interface in com.google.android.exoplayer2.upstream
Reads data from URI-identified resources.
DataSource.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for DataSource instances.
DataSourceContractTest - Class in com.google.android.exoplayer2.testutil
A collection of contract tests for DataSource implementations.
DataSourceContractTest() - Constructor for class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
DataSourceContractTest.FakeTransferListener - Class in com.google.android.exoplayer2.testutil
A TransferListener that only keeps track of the transferred bytes.
DataSourceContractTest.TestResource - Class in com.google.android.exoplayer2.testutil
Information about a resource that can be used to test the DataSource instance.
DataSourceContractTest.TestResource.Builder - Class in com.google.android.exoplayer2.testutil
DataSourceException - Exception in com.google.android.exoplayer2.upstream
Used to specify reason of a DataSource error.
DataSourceException(int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceException(String, int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceException(String, Throwable, int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceException(Throwable, int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
dataSourceFactory - Variable in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
DataSourceInputStream - Class in com.google.android.exoplayer2.upstream
Allows data corresponding to a given DataSpec to be read from a DataSource and consumed through an InputStream.
DataSourceInputStream(DataSource, DataSpec) - Constructor for class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
dataSpec - Variable in exception com.google.android.exoplayer2.drm.MediaDrmCallbackException
The DataSpec associated with the request.
dataSpec - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
The DataSpec of the segment.
dataSpec - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The DataSpec that defines the data to be loaded.
dataSpec - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
Defines the requested data.
dataSpec - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
The DataSpec associated with the current connection.
dataSpec - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
The DataSpec that defines the data to be loaded.
DataSpec - Class in com.google.android.exoplayer2.upstream
Defines a region of data in a resource.
DataSpec(Uri) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Constructs an instance.
DataSpec(Uri, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
Use DataSpec.Builder. Note that the httpMethod must be set explicitly for the Builder.
DataSpec(Uri, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, int, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, int, byte[], long, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Constructs an instance.
DataSpec(Uri, long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long, String) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec.Builder - Class in com.google.android.exoplayer2.upstream
Builds DataSpec instances.
DataSpec.Flags - Annotation Type in com.google.android.exoplayer2.upstream
The flags that apply to any request for data.
DataSpec.HttpMethod - Annotation Type in com.google.android.exoplayer2.upstream
HTTP methods supported by ExoPlayer HttpDataSources.
dataSpecWithEndPositionOutOfRange_readsToEnd() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithLength_readExpectedRange() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPosition_readUntilEnd() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionAndLength_readExpectedRange() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionAtEnd_throwsPositionOutOfRangeException() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionAtEndAndLength_throwsPositionOutOfRangeException() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionOutOfRange_throwsPositionOutOfRangeException() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataType - Variable in exception com.google.android.exoplayer2.ParserException
The data type of the parsed bitstream.
dataType - Variable in class com.google.android.exoplayer2.source.MediaLoadData
DebugTextViewHelper - Class in com.google.android.exoplayer2.util
A helper class for periodically updating a TextView with debug information obtained from a SimpleExoPlayer.
DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.util.DebugTextViewHelper
 
decode(byte[], int) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
Decodes ID3 tags.
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.dvb.DvbDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.pgs.PgsDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
Decodes data into a Subtitle.
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ssa.SsaDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.subrip.SubripDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ttml.TtmlDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
 
decode(DecoderInputBuffer, SimpleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
decode(DecoderInputBuffer, SimpleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
decode(MetadataInputBuffer) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoder
Decodes a Metadata element from the provided input buffer.
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTableDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.icy.IcyDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
Called by SimpleMetadataDecoder.decode(MetadataInputBuffer) after input buffer validation has been performed, except in the case that Buffer.isDecodeOnly() is true.
decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
decode(SubtitleInputBuffer, SubtitleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
decode(P