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
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 aDataSource
chain. Where the absolute position is required, useuriPositionOffset + position
. - AbstractConcatenatedTimeline - Class in com.google.android.exoplayer2
-
Abstract base class for the concatenation of one or more
Timeline
s. - 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 specifiedFormat
, 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_PLAYBACK_SPEED - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Indicates this session supports the set playback speed command.
- 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
-
Calls
Player.prepare()
. - 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
-
Calls
Player.seekTo(long)
orPlayer.seekTo(int, long)
. - 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 aDefaultTrackSelector
to specify whether the renderer at a given index should be disabled. - Action.SetRepeatMode - Class in com.google.android.exoplayer2.testutil
-
Calls
Player.setRepeatMode(int)
. - 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
-
Calls
Player.stop()
orPlayer.stop(boolean)
. - 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.EventListener.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.EventListener.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.EventListener.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
Action
s 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.
- 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
-
A mask to apply to
RendererCapabilities.Capabilities
to obtain theRendererCapabilities.AdaptiveSupport
only. - 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[], BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
- AdaptiveTrackSelection(TrackGroup, int[], BandwidthMeter, long, long, long, float, float, List<AdaptiveTrackSelection.AdaptationCheckpoint>, Clock) - 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.util.IntArrayQueue
-
Add a new item to the queue.
- add(int) - Method in class com.google.android.exoplayer2.util.MutableFlags
-
Adds a flag to the set.
- 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 givenposition
. - 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.
- 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.Player.AudioComponent
-
Adds a listener to receive audio events.
- addAudioListener(AudioListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- addDeviceListener(DeviceListener) - Method in interface com.google.android.exoplayer2.Player.DeviceComponent
-
Adds a listener to receive device events.
- addDeviceListener(DeviceListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- 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
-
Adds an
BandwidthMeter.EventListener
. - 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. - addHandlerMessageAtTime(HandlerWrapper, int, long) - Method in class com.google.android.exoplayer2.testutil.AutoAdvancingFakeClock
- addHandlerMessageAtTime(HandlerWrapper, int, long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
Adds an empty handler message to list of pending messages.
- addHandlerMessageAtTime(HandlerWrapper, Runnable, long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
Adds a handler post to list of pending messages.
- addItems(int, MediaQueueItem...) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Deprecated.Use
CastPlayer.addMediaItems(int, List)
instead. - addItems(MediaQueueItem...) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Deprecated.Use
CastPlayer.addMediaItems(List)
instead. - 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
-
Adds a
DownloadManager.Listener
. - addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
- addListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
-
Register a listener to receive events from the player.
- addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- addListener(Player.EventListener) - 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 interface com.google.android.exoplayer2.Player
-
Adds a media item at the given index of the playlist.
- addMediaItem(int, MediaItem) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- addMediaItem(int, MediaItem) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
- addMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.BasePlayer
- addMediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.Player
-
Adds a media item to the end of the playlist.
- addMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- addMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
- addMediaItems(int, List<MediaItem>) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
- 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.ext.cast.CastPlayer
- addMediaItems(List<MediaItem>) - Method in interface com.google.android.exoplayer2.Player
-
Adds a list of media items to the end of the playlist.
- addMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- addMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
- 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
MediaSource
s to the playlist. - addMediaSources(int, Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Adds multiple
MediaSource
s 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
MediaSource
s to the playlist. - addMediaSources(Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Appends multiple
MediaSource
s 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.Player.MetadataComponent
-
Adds a
MetadataOutput
to receive metadata. - addMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- addOrReplaceSpan(Spannable, Object, int, int, int) - Static method in class com.google.android.exoplayer2.text.span.SpanUtil
-
Adds
span
tospannable
betweenstart
andend
, removing any existing spans of the same type and with the same indices and flags. - 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.Player.TextComponent
-
Registers an output to receive text events.
- addTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- 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
-
Adds a video frame processing offset to
DecoderCounters.totalVideoFrameProcessingOffsetUs
and increasesDecoderCounters.videoFrameProcessingOffsetCount
by one. - addVideoListener(VideoListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Adds a listener to receive video events.
- addVideoListener(VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- 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() - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
Creates a new ad group with an unspecified number of ads.
- adGroupCount - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The number of ad groups.
- adGroupIndex - Variable in class com.google.android.exoplayer2.source.MediaPeriodId
-
If the media period is in an ad group, the index of the ad group in the period.
- adGroups - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The ad groups.
- adGroupTimesUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The times of ad groups, in microseconds, relative to the start of the
Timeline.Period
they belong to. - 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.
- 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 themedia ID
andad 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.AdViewProvider - Interface in com.google.android.exoplayer2.source.ads
-
Provides information about views for the ad playback UI.
- AdsLoader.EventListener - Interface in com.google.android.exoplayer2.source.ads
-
Listener for ads loader events.
- AdsLoader.OverlayInfo - Class in com.google.android.exoplayer2.source.ads
-
Provides information about an overlay view shown on top of an ad view group.
- AdsLoader.OverlayInfo.Purpose - Annotation Type in com.google.android.exoplayer2.source.ads
- AdsMediaSource - Class in com.google.android.exoplayer2.source.ads
-
A
MediaSource
that inserts ads linearly with a provided content media source. - AdsMediaSource(MediaSource, DataSpec, Object, MediaSourceFactory, AdsLoader, AdsLoader.AdViewProvider) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
Constructs a new source that inserts ads linearly with the content specified by
contentMediaSource
. - AdsMediaSource.AdLoadException - Exception in com.google.android.exoplayer2.source.ads
-
Wrapper for exceptions that occur while loading ads, which are notified via
MediaSourceEventListener.onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean)
. - AdsMediaSource.AdLoadException.Type - Annotation Type in com.google.android.exoplayer2.source.ads
-
Types of ad load exceptions.
- 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. - 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 inputdata
. - 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
- 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
-
A set of
AnalyticsListener.EventFlags
. - 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_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 theContentMetadata
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. - ASCII_NAME - Static variable in class com.google.android.exoplayer2.C
-
Deprecated.Use
StandardCharsets
orCharsets
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)
andExtractor.release()
without callingExtractor.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 fromMediaSourceTestRunner.prepareSource()
,MediaSourceTestRunner.assertTimelineChange()
orMediaSourceTestRunner.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
matchesexpected
. - 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.
- 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 forDefaultRenderersFactory.EXTENSION_RENDERER_MODE_OFF
, and that it's instantiated in the correct position relative to other renderers of the same type forDefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON
andDefaultRenderersFactory.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 aFilterableManifest
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 aFilterableManifest
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.EventListener.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.EventListener.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
-
Asserts that
Player.EventListener.onPositionDiscontinuity(int)
was not called. - 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()
orMediaSourceTestRunner.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
- assertOutput(Context, String, String) - Static method in class com.google.android.exoplayer2.testutil.DumpFileAsserts
-
Asserts that
actual
is equal to the contents ofdumpFile
. - 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. - assertPlaybackStatesEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that the playback states reported by
Player.EventListener.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.EventListener.onPositionDiscontinuity(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()
orMediaSourceTestRunner.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 bydataSpec
is equal toexpected
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 theexpectedResult
for a giveninput
, retrying repeatedly whenFakeExtractorInput.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.EventListener.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.EventListener.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.EventListener.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
- 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
- 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_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 aFakeMediaSource
. - 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_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.
- 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 byEventTime.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
-
A listener for changes in audio configuration.
- AudioProcessor - Interface in com.google.android.exoplayer2.audio
-
Interface for audio processors, which take audio data as input and transform it, potentially modifying its channel count, encoding and/or sample rate.
- AudioProcessor.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.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. - AutoAdvancingFakeClock - Class in com.google.android.exoplayer2.testutil
-
FakeClock
extension which automatically advances time whenever an empty message is enqueued at a future time. - AutoAdvancingFakeClock() - Constructor for class com.google.android.exoplayer2.testutil.AutoAdvancingFakeClock
-
Creates the auto-advancing clock with an initial time of 0.
- AutoAdvancingFakeClock(long) - Constructor for class com.google.android.exoplayer2.testutil.AutoAdvancingFakeClock
-
Creates the auto-advancing clock.
- autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
If
SpliceInsertCommand.breakDurationUs
is notC.TIME_UNSET
, defines whetherSpliceInsertCommand.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 notC.TIME_UNSET
, defines whetherSpliceScheduleCommand.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, orC.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.text.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 ofTransferListener
s. - 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 aBaseMediaChunkOutput
. - 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
MediaChunkIterator
s. - 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 providesTrackOutputs
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 ofMediaSourceEventListener
s. - 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
- baseUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
-
The base uri.
- baseUrl - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
- baseUrl - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
The base URL of the representation.
- 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 specifiedvalue
. - 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 specifiedvalue
. - 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 specifiedvalue
. - 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 specifiedvalue
. - 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 specifiedvalue
. - 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 specifiedvalue
. - 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
-
A
SeekMap
implementation that returns the estimated byte location fromBinarySearchSeeker.SeekOperationParams.calculateNextSearchBytePosition(long, long, long, long, long, long)
for eachBinarySearchSeeker.BinarySearchSeekMap.getSeekPoints(long)
query. - 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
-
Represents possible search results for
BinarySearchSeeker.TimestampSeeker.searchForTimestamp(ExtractorInput, long)
. - 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
-
Sets the uniform to whatever value was passed via
GlUtil.Uniform.setSamplerTexId(int, int)
orGlUtil.Uniform.setFloat(float)
. - 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 specifiedCue.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)
), orFormat.NO_VALUE
if the header was not present. - bitrateMaximum - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
The
bitrate_maximum
field, orFormat.NO_VALUE
if not greater than zero. - bitrateMinimum - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
The
bitrate_minimum
field, orFormat.NO_VALUE
if not greater than zero. - bitrateNominal - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
The
bitrate_nominal
field, orFormat.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
-
Creates a
DefaultLoadControl
. - build() - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
Builds an
ExoPlayer
instance. - build() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Returns a new
ImaAdsLoader
. - build() - Method in class com.google.android.exoplayer2.ext.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.SimpleExoPlayer.Builder
-
Builds a
SimpleExoPlayer
instance. - 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.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
-
Builds the
WebServerDispatcher.Resource
. - 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.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(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
. - buildDataSpec(Representation, RangedUri, int) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
- buildDownloadCompletedNotification(Context, int, PendingIntent, String) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
-
Returns a notification for a completed download.
- buildDownloadCompletedNotification(Context, int, String, PendingIntent, String) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
-
Deprecated.Returns a notification for a completed download.
- buildDownloadFailedNotification(Context, int, PendingIntent, String) - Method in class com.google.android.exoplayer2.ui.DownloadNotificationHelper
-
Returns a notification for a failed download.
- buildDownloadFailedNotification(Context, int, String, PendingIntent, String) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
-
Deprecated.Returns a notification for a failed download.
- 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.testutil.DataSourceContractTest.TestResource.Builder
-
Construct a new instance.
- Builder() - Constructor for class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig.Builder
- 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 when using this constructor. UseBuilder(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(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, 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
-
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
andExtractorsFactory
. - 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
-
Creates a builder with the specified custom components.
- 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.
- buildProgressNotification(Context, int, String, PendingIntent, String, List<Download>) - Static method in class com.google.android.exoplayer2.ui.DownloadNotificationUtil
-
Deprecated.Returns a progress notification for the given downloads.
- buildPsshAtom(UUID, byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Builds a version 0 PSSH atom for a given system id, containing the given data.
- buildPsshAtom(UUID, UUID[], byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Builds a PSSH atom for the given system id, containing the given key ids and data.
- buildRangedUri(String, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
- buildRawResourceUri(int) - Static method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
Builds a
Uri
for the specified raw resource identifier. - buildRemoveAllDownloadsIntent(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Builds an
Intent
for removing all downloads. - buildRemoveDownloadIntent(Context, Class<? extends DownloadService>, String, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Builds an
Intent
for removing the download with theid
. - 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.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.
- BundledChunkExtractor - Class in com.google.android.exoplayer2.source.chunk
-
ChunkExtractor
implementation that uses ExoPlayer app-bundledExtractors
. - BundledChunkExtractor(Extractor, int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
-
Creates an instance.
- BundledHlsMediaChunkExtractor - Class in com.google.android.exoplayer2.source.hls
-
HlsMediaChunkExtractor
implementation that uses ExoPlayer app-bundledExtractors
. - BundledHlsMediaChunkExtractor(Extractor, Format, TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
-
Creates a new instance.
- 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.ext.okhttp.OkHttpDataSource
-
Returns the number of bytes that have been read since the most recent call to
OkHttpDataSource.open(DataSpec)
. - bytesRead() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
Returns the total number of bytes that have been read or skipped.
- bytesRead() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Returns the number of bytes that have been read since the most recent call to
DefaultHttpDataSource.open(DataSpec)
. - bytesRemaining() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
Returns the number of bytes that are still to be read for the current
DataSpec
. - bytesRemaining() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Returns the number of bytes that are still to be read for the current
DataSpec
. - bytesSkipped() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
Returns the number of bytes that have been skipped since the most recent call to
OkHttpDataSource.open(DataSpec)
. - bytesSkipped() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Returns the number of bytes that have been skipped since the most recent call to
DefaultHttpDataSource.open(DataSpec)
. - bytesTransferred(int) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
-
Notifies listeners that bytes were transferred.
C
- C - Class in com.google.android.exoplayer2
-
Defines constants used by the library.
- C.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.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
-
DataSink.Factory
forCacheDataSink
instances. - 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 aCache
. - CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with default
DataSource
andDataSink
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
andDataSink
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
andDataSink
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
andDataSink
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
-
DataSource.Factory
forCacheDataSource
instances. - 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 defaultDataSource
andDataSink
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, boolean, 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.jobdispatcher.JobDispatcherScheduler
-
Deprecated.
- 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 replaceother
. - 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 decodenewFormat
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 newFormat
, 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, float, long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
Called when updating the selected track to determine whether a candidate track can be selected.
- 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.text
-
A compatibility wrapper for
CaptioningManager.CaptionStyle
. - CaptionStyleCompat(int, int, int, int, int, Typeface) - Constructor for class com.google.android.exoplayer2.text.CaptionStyleCompat
- CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.text
-
The type of edge, which may be none.
- 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 videoMediaCodecAdapter
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 that uses a
DefaultMediaItemConverter
. - CastPlayer(CastContext, MediaItemConverter) - 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 adenominator
, returning the ceiled result. - ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Divides a
numerator
by adenominator
, 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
ifexpression
evaluates to false. - checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
IllegalArgumentException
ifexpression
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.
- 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 aRuntimeException
. - 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
ifindex
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
ifstring
is null or zero length. - checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
IllegalArgumentException
ifstring
is null or zero length. - checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
NullPointerException
ifreference
is null. - checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
NullPointerException
ifreference
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
ifexpression
evaluates to false. - checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
IllegalStateException
ifexpression
evaluates to false. - checkStateNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
IllegalStateException
ifreference
is null. - checkStateNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws
IllegalStateException
ifreference
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.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
- 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
-
A
SampleStream
embedded in aChunkSampleStream
. - 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
Chunk
s for aChunkSampleStream
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.MutableFlags
-
Clears all previously set flags.
- 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.Player.AudioComponent
-
Detaches any previously attached auxiliary audio effect from the underlying audio track.
- clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
- clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
-
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
- clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the listener which receives camera motion events if it matches the one passed.
- clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- 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.ext.cast.CastPlayer
- clearMediaItems() - Method in interface com.google.android.exoplayer2.Player
-
Clears the playlist.
- clearMediaItems() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- clearMediaItems() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a clear media items action to be created.
- clearMediaItems() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
- ClearMediaItems(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearMediaItems
- clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Clears prefix flags, as used by
NalUnitUtil.findNalUnit(byte[], int, int, boolean[])
. - 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.Player.VideoComponent
-
Clears the listener which receives video frame metadata events if it matches the one passed.
- clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Equivalent to
setMaxVideoSize(Integer.MAX_VALUE, Integer.MAX_VALUE)
. - clearVideoSurface() - Method in interface com.google.android.exoplayer2.Player.VideoComponent
- 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(Surface) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
Surface
onto which video is being rendered if it matches the one passed. - clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- ClearVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
- clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
SurfaceHolder
that holds theSurface
onto which video is being rendered if it matches the one passed. - clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
SurfaceView
onto which video is being rendered if it matches the one passed. - clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
TextureView
onto which video is being rendered if it matches the one passed. - clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Equivalent to
setViewportSize(Integer.MAX_VALUE, Integer.MAX_VALUE, true)
. - 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 itsSampleStream
s 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
HandlerWrapper
s created. - cloneAndClear() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns a copy of the shuffle order with all elements removed.
- cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
- cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
- 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.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 anyIOException
that may occur. - closeQuietly(Closeable) - Static method in class com.google.android.exoplayer2.util.Util
-
Closes a
Closeable
, suppressing anyIOException
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 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.jobdispatcher - package com.google.android.exoplayer2.ext.jobdispatcher
- com.google.android.exoplayer2.ext.leanback - package com.google.android.exoplayer2.ext.leanback
- com.google.android.exoplayer2.ext.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.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.ui.spherical - package com.google.android.exoplayer2.ui.spherical
- com.google.android.exoplayer2.upstream - package com.google.android.exoplayer2.upstream
- com.google.android.exoplayer2.upstream.cache - package com.google.android.exoplayer2.upstream.cache
- com.google.android.exoplayer2.upstream.crypto - package com.google.android.exoplayer2.upstream.crypto
- com.google.android.exoplayer2.util - package com.google.android.exoplayer2.util
- com.google.android.exoplayer2.video - package com.google.android.exoplayer2.video
- com.google.android.exoplayer2.video.spherical - package com.google.android.exoplayer2.video.spherical
- COMMAND_MOVE_QUEUE_ITEM - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
- commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
-
The private bytes as defined in SCTE35, Section 9.3.6.
- CommentFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Comment ID3 frame.
- CommentFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.CommentFrame
- 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(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
- 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 theSpliceInsertCommand.ComponentSplice
s. - componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
If
SpliceScheduleCommand.Event.programSpliceFlag
is false, a non-empty list containing theSpliceScheduleCommand.ComponentSplice
s. - componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
- componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
- componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
- componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
- CompositeMediaSource<T> - Class in com.google.android.exoplayer2.source
-
Composite
MediaSource
consisting of multiple child sources. - CompositeMediaSource() - Constructor for class com.google.android.exoplayer2.source.CompositeMediaSource
-
Creates composite media source without child sources.
- CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
-
A
SequenceableLoader
that encapsulates multiple otherSequenceableLoader
s. - CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
- CompositeSequenceableLoaderFactory - Interface in com.google.android.exoplayer2.source
-
A factory to create composite
SequenceableLoader
s. - computeRecenterMatrix(float[], float[]) - Static method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
-
Computes a recentering matrix from the given angle-axis rotation only accounting for yaw.
- ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
-
Concatenates multiple
MediaSource
s. - 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.
- configs() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
Returns a list of arrays containing
ExtractorAsserts.SimulationConfig
objects to exercise different extractor paths. - configsNoSniffing() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
Returns a list of arrays containing
ExtractorAsserts.SimulationConfig
objects to exercise different extractor paths in which the input is not sniffed. - ConfigurationException(String, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
-
Creates a new configuration exception with the specified
message
and no cause. - ConfigurationException(Throwable, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
-
Creates a new configuration exception with the specified
cause
and no message. - configure(MediaFormat, Surface, MediaCrypto, int) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
-
Configures this adapter and the underlying
MediaCodec
. - configure(MediaFormat, Surface, MediaCrypto, int) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
- 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
- configureCodec(MediaCodecInfo, MediaCodecAdapter, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
- configureCodec(MediaCodecInfo, MediaCodecAdapter, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Configures a newly created
MediaCodec
. - configureCodec(MediaCodecInfo, MediaCodecAdapter, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
- ConstantBitrateSeekMap - Class in com.google.android.exoplayer2.extractor
-
A
SeekMap
implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size. - ConstantBitrateSeekMap(long, long, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
-
Constructs a new instance from a stream.
- constraintsFlagsAndReservedZero2Bits - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
- constrainValue(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.
- 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 anExtractor
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.Events
-
Returns whether the given event occurred.
- contains(int) - Method in class com.google.android.exoplayer2.util.MutableFlags
-
Returns whether the set contains the given flag.
- contains(Object[], Object) - Static method in class com.google.android.exoplayer2.util.Util
- 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.MutableFlags
-
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 givenmimeType
. - 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
- contentDurationUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The duration of the content period in microseconds, if known.
- contentLength - Variable in class com.google.android.exoplayer2.offline.Download
-
The total size of the content in bytes, or
C.LENGTH_UNSET
if unknown. - contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
The content length, or
C.LENGTH_UNSET
if unknown. - ContentMetadata - Interface in com.google.android.exoplayer2.upstream.cache
-
Interface for an immutable snapshot of keyed metadata.
- ContentMetadataMutations - Class in com.google.android.exoplayer2.upstream.cache
-
Defines multiple mutations on metadata value which are applied atomically.
- ContentMetadataMutations() - Constructor for class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Constructs a DefaultMetadataMutations.
- contentType - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
- contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.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
-
Dispatches operations to the
Player
. - 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 anExoPlayer 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 aMedia2 MediaItem
. - copy(Looper, ListenerSet.IterationFinishedEvent<T, E>) - 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
-
Deprecated.
- 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
-
Deprecated.
- 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
-
Deprecated.
- copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
-
Deprecated.
- 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
-
Deprecated.
- copyWithManifestFormatInfo(Format) - Method in class com.google.android.exoplayer2.Format
-
Deprecated.
- copyWithMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format
-
Deprecated.
- 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
-
Deprecated.
- copyWithMutationsApplied(ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
Returns a copy
DefaultContentMetadata
withmutations
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
-
Deprecated.
- copyWithVideoSize(int, int) - Method in class com.google.android.exoplayer2.Format
-
Deprecated.
- 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. - 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. - 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
-
Returns
RendererCapabilities.Capabilities
for the givenC.FormatSupport
. - 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
-
Returns
RendererCapabilities.Capabilities
combining the givenC.FormatSupport
,RendererCapabilities.AdaptiveSupport
andRendererCapabilities.TunnelingSupport
. - create(Format, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.testutil.FakeMediaPeriod.TrackDataFactory
-
Returns the list of
FakeSampleStream.FakeSampleStreamItem
s that will be written the sample queue during playback. - createAdapter(MediaCodec) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory
-
Creates an instance wrapping the provided
MediaCodec
instance. - createAdapter(MediaCodec) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.Factory
- createAdaptiveTrackSelection(TrackGroup, BandwidthMeter, int[], 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.
- createAudioContainerFormat(String, String, String, String, String, Metadata, int, int, int, List<byte[]>, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createAudioSampleFormat(String, String, String, int, int, int, int, int, int, int, List<byte[]>, DrmInitData, int, String, Metadata) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createAudioSampleFormat(String, String, String, int, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - 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
. - 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.Use
Format.Builder
. - createCurrentContentIntent(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
-
Creates a content intent for the current media item.
- createCustomActions(Context, int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
-
Gets the actions handled by this receiver.
- createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], ExoTrackSelection, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
- createDashChunkSource(LoaderErrorThrower, DashManifest, 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 givenTrackGroup
. - 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.RtmpDataSourceFactory
- 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
-
Called by
HttpDataSource.BaseFactory.createDataSource()
to create aHttpDataSource
instance. - createDecoder(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
-
Creates a
MetadataDecoder
for the givenFormat
. - createDecoder(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
Creates a
SubtitleDecoder
for the givenFormat
. - 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.use
DefaultLoadControl.Builder.build()
instead. - 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 givenDownloadRequest
. - 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 media period id. - 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 media period id. - createEquirectangular(float, int, int, float, float, int) - Static method in class com.google.android.exoplayer2.video.spherical.Projection
-
Generates an equirectangular projection.
- createEquirectangular(int) - Static method in class com.google.android.exoplayer2.video.spherical.Projection
-
Generates a complete sphere equirectangular projection.
- createEventDispatcher(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
Returns a
MediaSourceEventListener.EventDispatcher
which dispatches all events to the registered listeners with the specified window index, media period id and time offset. - createEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
Returns a
MediaSourceEventListener.EventDispatcher
which dispatches all events to the registered listeners with the specified media period id. - createEventDispatcher(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
Returns a
MediaSourceEventListener.EventDispatcher
which dispatches all events to the registered listeners with the specified media period id and time offset. - 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. - 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
. - createForRemote(String) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
Creates an instance of type
ExoPlaybackException.TYPE_REMOTE
. - createForRenderer(Exception) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
Creates an instance of type
ExoPlaybackException.TYPE_RENDERER
for an unknown renderer. - createForRenderer(Throwable, String, int, Format, int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
Creates an instance of type
ExoPlaybackException.TYPE_RENDERER
. - createForRenderer(Throwable, String, int, Format, int, boolean) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
Creates an instance of type
ExoPlaybackException.TYPE_RENDERER
. - createForSource(IOException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
Creates an instance of type
ExoPlaybackException.TYPE_SOURCE
. - createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
Creates an instance of type
ExoPlaybackException.TYPE_UNEXPECTED
. - createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
Returns a new ad load exception of
AdsMediaSource.AdLoadException.TYPE_UNEXPECTED
. - createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Creates a
CaptionStyleCompat
equivalent to a providedCaptioningManager.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
- 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
- createHandlerForCurrentLooper(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
- createHandlerForCurrentOrMainLooper() - Static method in class com.google.android.exoplayer2.util.Util
- createHandlerForCurrentOrMainLooper(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
- createImageSampleFormat(String, String, int, List<byte[]>, String) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - 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
- 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
-
Deprecated.Use
DashMediaSource.Factory.createMediaSource(MediaItem)
instead. - createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
Deprecated.Use
HlsMediaSource.Factory.createMediaSource(MediaItem)
instead. - createMediaSource(Uri) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
-
Deprecated.Use
MediaSourceFactory.createMediaSource(MediaItem)
instead. - createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
Deprecated.
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
Deprecated.Use
SsMediaSource.Factory.createMediaSource(MediaItem)
instead. - createMediaSource(Uri, Format, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
Deprecated.
- createMediaSource(MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaSourceFactory
-
Creates a
MediaSource
for the givenMediaDescriptionCompat
. - 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.ExtractorMediaSource.Factory
-
Deprecated.Returns a new
ExtractorMediaSource
using the current parameters. - 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 specifiedMediaItem
. - 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.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
-
Equivalent to
createMediaSource(downloadRequest, dataSourceFactory, null)
. - 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 indownloadRequest
. - 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
- createNotification(Player, NotificationCompat.Builder, boolean, Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates the notification given the current player state.
- createNotificationChannel(Context, String, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
- createNotificationChannel(Context, String, int, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
-
Creates a notification channel that notifications can be posted to.
- 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. - 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 ifMaskingMediaPeriod.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-nullMediaPeriod
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-nullMediaPeriod
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.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.ExtractorMediaSource
-
Deprecated.
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in 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 byperiodId
. - createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
- 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
. - createRendererException(Throwable, Format) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Creates an
ExoPlaybackException
of typeExoPlaybackException.TYPE_RENDERER
for this renderer. - createRendererException(Throwable, Format, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Creates an
ExoPlaybackException
of typeExoPlaybackException.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 aSimpleExoPlayer
. - 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
whoseConditionVariable.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.Use
Format.Builder
. - 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.
- createTextContainerFormat(String, String, String, String, String, int, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createTextContainerFormat(String, String, String, String, String, int, int, int, String, int) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createTextSampleFormat(String, String, int, String) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createTextSampleFormat(String, String, int, String, int, long, List<byte[]>) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.Factory
-
Creates a new tracker instance.
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Initializes the reader by providing outputs and ids for the tracks.
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.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
- createVideoContainerFormat(String, String, String, String, String, Metadata, int, int, int, float, List<byte[]>, int, int) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, byte[], int, ColorInfo, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
Deprecated.Use
Format.Builder
. - createWithDrm(Allocator, Looper, DrmSessionManager, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.source.SampleQueue
-
Creates a sample queue with DRM resource management.
- createWithNotificationChannel(Context, String, int, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates a notification manager and a low-priority notification channel with the specified
channelId
andchannelName
. - createWithNotificationChannel(Context, String, int, int, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates a notification manager and a low-priority notification channel with the specified
channelId
andchannelName
. - createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
- createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
- 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.drm.DrmInitData
- CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
- CREATOR - Static variable in class com.google.android.exoplayer2.Format
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.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.scheduler.Requirements
- CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
- CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
- CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroup
- CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
- CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
- CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
- CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
- CREATOR - Static variable in class com.google.android.exoplayer2.video.ColorInfo
- cronetConnectionStatus - Variable in exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
-
Returns the status of the connection establishment at the moment when the error occurred, as defined by
UrlRequest.Status
. - CronetDataSource - Class in com.google.android.exoplayer2.ext.cronet
-
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
- CronetDataSource(CronetEngine, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Deprecated.Use
CronetDataSource.Factory
instead. - CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Deprecated.Use
CronetDataSource.Factory
instead. - CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Deprecated.Use
CronetDataSource.Factory
instead. - CronetDataSource(CronetEngine, Executor, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Deprecated.Use
CronetDataSource.Factory
instead. - CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Deprecated.Use
CronetDataSource.Factory
instead. - CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Deprecated.Use
CronetDataSource.Factory
instead. - CronetDataSource.Factory - Class in com.google.android.exoplayer2.ext.cronet
-
DataSource.Factory
forCronetDataSource
instances. - 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.Use
CronetDataSource.Factory
instead. - 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
-
A wrapper class for a
CronetEngine
. - CronetEngineWrapper(Context) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Creates a wrapper for a
CronetEngine
built using the most suitableCronetProvider
. - CronetEngineWrapper(Context, String, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Creates a wrapper for a
CronetEngine
built using the most suitableCronetProvider
. - CronetEngineWrapper(CronetEngine) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Creates a wrapper for an existing
CronetEngine
. - CronetEngineWrapper.CronetEngineSource - Annotation Type in com.google.android.exoplayer2.ext.cronet
-
Source of
CronetEngine
. - CRYPTO_MODE_AES_CBC - Static variable in class com.google.android.exoplayer2.C
- CRYPTO_MODE_AES_CTR - Static variable in class com.google.android.exoplayer2.C
- CRYPTO_MODE_UNENCRYPTED - Static variable in class com.google.android.exoplayer2.C
- cryptoData - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
A
TrackOutput.CryptoData
instance containing the encryption information from thisTrackEncryptionBox
. - 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.
- 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.Use
Cue.Builder
. - Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Deprecated.Use
Cue.Builder
. - Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, boolean, int) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Deprecated.Use
Cue.Builder
. - Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Deprecated.Use
Cue.Builder
. - 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, ornull
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 toPlayer.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 toPlayer.getCurrentWindowIndex()
). - 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
DashChunkSource
s. - DashDownloader - Class in com.google.android.exoplayer2.source.dash.offline
-
A downloader for DASH streams.
- DashDownloader(Uri, List<StreamKey>, CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
-
Deprecated.Use
DashDownloader(MediaItem, CacheDataSource.Factory)
instead. - DashDownloader(Uri, List<StreamKey>, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
-
Deprecated.
- 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
- DashManifest(long, long, long, boolean, long, long, long, long, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
- DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
-
A parser of media presentation description files.
- DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
- 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
DashMediaSource
s. - 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 aChunkIndex
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.trackselection.DefaultTrackSelector.SelectionOverride
- data - Variable in class com.google.android.exoplayer2.trackselection.ExoTrackSelection.Definition
-
Optional data associated with this selection of tracks.
- data - Variable in class com.google.android.exoplayer2.upstream.Allocation
-
The array containing the allocated space.
- data - Variable in class com.google.android.exoplayer2.util.ParsableBitArray
- data - Variable in class com.google.android.exoplayer2.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 anSQLException
. - 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 withDatabaseProvider.TABLE_PREFIX
. - DataChunk - Class in com.google.android.exoplayer2.source.chunk
-
A base class for
Chunk
implementations where the data should be loaded into abyte[]
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
- 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.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
-
Builder for
DataSourceContractTest.TestResource
instances. - DataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Used to specify reason of a DataSource error.
- DataSourceException(int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
-
Constructs a DataSourceException.
- DataSourceInputStream - Class in com.google.android.exoplayer2.upstream
-
Allows data corresponding to a given
DataSpec
to be read from aDataSource
and consumed through anInputStream
. - 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.Use
DataSpec.Builder
. - DataSpec(Uri, int, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Deprecated.Use
DataSpec.Builder
. - DataSpec(Uri, int, byte[], long, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Deprecated.Use
DataSpec.Builder
. - 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.Use
DataSpec.Builder
. - DataSpec(Uri, long, long, String) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Deprecated.Use
DataSpec.Builder
. - DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Deprecated.Use
DataSpec.Builder
. - DataSpec(Uri, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Deprecated.Use
DataSpec.Builder
. - 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
HttpDataSource
s. - 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
- dataType - Variable in class com.google.android.exoplayer2.source.MediaLoadData
-
One of the
C
DATA_TYPE_*
constants defining the type of data. - DebugTextViewHelper - Class in com.google.android.exoplayer2.ui
-
A helper class for periodically updating a
TextView
with debug information obtained from aSimpleExoPlayer
. - DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.ui.DebugTextViewHelper
- decode(byte[], int) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
Decodes ID3 tags.
- decode(byte[], int) - Static method in class com.google.android.exoplayer2.video.spherical.ProjectionDecoder
- 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 thatBuffer.isDecodeOnly()
istrue
. - 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(ParsableByteArray) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
- decode(VideoDecoderInputBuffer, VideoDecoderOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
- decode(VideoDecoderInputBuffer, VideoDecoderOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
- decode(I, O, boolean) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Decodes the
inputBuffer
and stores any decoded output inoutputBuffer
. - Decoder<I,O,E extends DecoderException> - Interface in com.google.android.exoplayer2.decoder
-
A media decoder.
- DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,? extends SimpleOutputBuffer,? extends DecoderException>> - Class in com.google.android.exoplayer2.audio
-
Decodes and renders audio using a
Decoder
. - DecoderAudioRenderer() - Constructor for class com.google.android.exoplayer2.audio.DecoderAudioRenderer
- DecoderAudioRenderer(Handler, AudioRendererEventListener, AudioCapabilities, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.DecoderAudioRenderer
- DecoderAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.DecoderAudioRenderer
- DecoderAudioRenderer(Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.DecoderAudioRenderer
- decoderCounters - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
- decoderCounters - Variable in class com.google.android.exoplayer2.video.DecoderVideoRenderer
-
Decoder event counters used for debugging purposes.
- DecoderCounters - Class in com.google.android.exoplayer2.decoder
-
Maintains decoder event counts, for debugging purposes only.
- DecoderCounters() - Constructor for class com.google.android.exoplayer2.decoder.DecoderCounters
- DecoderCountersUtil - Class in com.google.android.exoplayer2.testutil
-
Assertions for
DecoderCounters
. - DecoderException - Exception in com.google.android.exoplayer2.decoder
-
Thrown when a
Decoder
error occurs. - DecoderException(String) - Constructor for exception com.google.android.exoplayer2.decoder.DecoderException
-
Creates an instance.
- DecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.decoder.DecoderException
-
Creates an instance.
- DecoderException(Throwable) - Constructor for exception com.google.android.exoplayer2.decoder.DecoderException
-
Creates an instance.
- decoderInitCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times a decoder has been initialized.
- DecoderInitializationException(Format, Throwable, boolean, int) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
- DecoderInitializationException(Format, Throwable, boolean, MediaCodecInfo) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
- decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
- decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
- DecoderInputBuffer - Class in com.google.android.exoplayer2.decoder
-
Holds input for a decoder.
- DecoderInputBuffer(int) - Constructor for class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
Creates a new instance.
- DecoderInputBuffer(int, int) - Constructor for class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
Creates a new instance.
- DecoderInputBuffer.BufferReplacementMode - Annotation Type in com.google.android.exoplayer2.decoder
-
The buffer replacement mode.
- DecoderInputBuffer.InsufficientCapacityException - Exception in com.google.android.exoplayer2.decoder
-
Thrown when an attempt is made to write into a
DecoderInputBuffer
whoseDecoderInputBuffer.bufferReplacementMode
isDecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED
and whoDecoderInputBuffer.data
capacity is smaller than required. - decoderName - Variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
-
The name of the decoder.
- decoderPrivate - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
Decoder private data.
- decoderReleaseCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times a decoder has been released.
- decoderReleased(String) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
- decoderReleased(String) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
- DecoderReuseEvaluation - Class in com.google.android.exoplayer2.decoder
-
The result of an evaluation to determine whether a decoder can be reused for a new input format.
- DecoderReuseEvaluation(String, Format, Format, int, int) - Constructor for class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
- DecoderReuseEvaluation.DecoderDiscardReasons - Annotation Type in com.google.android.exoplayer2.decoder
-
Possible reasons why reuse is not possible.
- DecoderReuseEvaluation.DecoderReuseResult - Annotation Type in com.google.android.exoplayer2.decoder
-
Possible outcomes of the evaluation.
- DecoderVideoRenderer - Class in com.google.android.exoplayer2.video
-
Decodes and renders video using a
Decoder
. - DecoderVideoRenderer(long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.DecoderVideoRenderer
- decreaseDeviceVolume() - Method in interface com.google.android.exoplayer2.Player.DeviceComponent
-
Decreases the volume of the device.
- decreaseDeviceVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
- DecryptionException - Exception in com.google.android.exoplayer2.drm
-
Thrown when a non-platform component fails to decrypt data.
- DecryptionException(int, String) - Constructor for exception com.google.android.exoplayer2.drm.DecryptionException
- deduplicateConsecutiveFormats - Variable in class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig
-
Controls how consecutive formats with no intervening samples are handled.
- DEFAULT - Static variable in class com.google.android.exoplayer2.audio.AudioAttributes
- DEFAULT - Static variable in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory
-
Default factory used in most cases.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
Default implementation of
MediaCodecSelector
, which returns the preferred decoder for the given format. - DEFAULT - Static variable in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
-
Default
MetadataDecoder
implementation. - DEFAULT - Static variable in class com.google.android.exoplayer2.PlaybackParameters
-
The default playback parameters: real-time playback with no silence skipping.
- DEFAULT - Static variable in class com.google.android.exoplayer2.RendererConfiguration
-
The default configuration.
- DEFAULT - Static variable in class com.google.android.exoplayer2.SeekParameters
-
Default parameters.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
- DEFAULT - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Default caption style.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
Default
SubtitleDecoderFactory
implementation. - DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
Deprecated.This instance is not configured using
Context
constraints. UseTrackSelectionParameters.getDefaults(Context)
instead. - DEFAULT - Static variable in interface com.google.android.exoplayer2.upstream.cache.CacheKeyFactory
-
Default
CacheKeyFactory
. - DEFAULT - Static variable in interface com.google.android.exoplayer2.util.Clock
-
Default
Clock
to use for all non-test cases. - DEFAULT_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for ad markers.
- DEFAULT_AD_MARKER_WIDTH_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default width for ad markers, in dp.
- DEFAULT_AD_PRELOAD_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
The default duration in milliseconds for which the player must buffer while preloading an ad group before that ad group is skipped and marked as having failed to load.
- DEFAULT_ALLOWED_VIDEO_JOINING_TIME_MS - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
-
The default maximum duration for which a video renderer can attempt to seamlessly join an ongoing playback.
- DEFAULT_AUDIO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for an audio buffer.
- DEFAULT_AUDIO_CAPABILITIES - Static variable in class com.google.android.exoplayer2.audio.AudioCapabilities
-
The minimum audio capabilities supported by all devices.
- DEFAULT_BACK_BUFFER_DURATION_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default back buffer duration in milliseconds.
- DEFAULT_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
- DEFAULT_BAR_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default height for the time bar, in dp.
- DEFAULT_BOTTOM_PADDING_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
-
The default bottom padding to apply when
Cue.line
isCue.DIMEN_UNSET
, as a fraction of the viewport height. - DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default duration of media that must be buffered for playback to resume after a rebuffer, in milliseconds.
- DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default duration of media that must be buffered for playback to start or resume following a user action such as a seek, in milliseconds.
- DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for an individual allocation that forms part of a larger buffer.
- DEFAULT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
Default buffer size in bytes.
- DEFAULT_BUFFER_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheWriter
-
Default buffer size to be used while caching.
- DEFAULT_BUFFERED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the buffered portion of the time bar.
- DEFAULT_BUFFERED_FRACTION_TO_LIVE_EDGE_FOR_QUALITY_INCREASE - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
- DEFAULT_CAMERA_MOTION_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a camera motion buffer.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
The default connection timeout, in milliseconds.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Deprecated.The default connection timeout, in milliseconds.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
The default connection timeout, in milliseconds.
- DEFAULT_DETACH_SURFACE_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.SimpleExoPlayer
-
The default timeout for detaching a surface from the player, in milliseconds.
- DEFAULT_FACTORY - Static variable in class com.google.android.exoplayer2.testutil.FakeTrackOutput
- DEFAULT_FALLBACK_MAX_PLAYBACK_SPEED - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default maximum factor by which playback can be sped up that should be used if no maximum playback speed is defined by the media.
- DEFAULT_FALLBACK_MIN_PLAYBACK_SPEED - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default minimum factor by which playback can be sped up that should be used if no minimum playback speed is defined by the media.
- DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
The default target
offset for live streams
that is used if no value is defined in theMediaItem
or the manifest. - DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.DefaultControlDispatcher
-
The default fast forward increment, in milliseconds.
- DEFAULT_FOREGROUND_NOTIFICATION_UPDATE_INTERVAL - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Default foreground notification update interval in milliseconds.
- DEFAULT_FRAGMENT_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
Default
fragmentSize
recommended for caching use cases. - DEFAULT_INITIAL_BITRATE_COUNTRY_GROUPS - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Country groups used to determine the default initial bitrate estimate.
- DEFAULT_INITIAL_BITRATE_ESTIMATE - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial bitrate estimate used when the device is offline or the network type cannot be determined, in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_2G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 2G bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_3G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 3G bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_4G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 4G bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_5G_NSA - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 5G-NSA bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_WIFI - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial Wifi bitrate estimate in bits per second.
- DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
Deprecated.
- DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
The default presentation delay for live streams.
- DEFAULT_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
Deprecated.
- DEFAULT_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
The default number of bytes that should be loaded between each each invocation of
SequenceableLoader.Callback.onContinueLoadingRequested(SequenceableLoader)
. - DEFAULT_MAX_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default maximum duration of media that the player will attempt to buffer, in milliseconds.
- DEFAULT_MAX_DURATION_FOR_QUALITY_DECREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
- DEFAULT_MAX_LIVE_OFFSET_ERROR_MS_FOR_UNIT_SPEED - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default maximum difference between the current live offset and the target live offset, in milliseconds, for which unit speed (1.0f) is used.
- DEFAULT_MAX_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
-
The default maximum datagram packet size, in bytes.
- DEFAULT_MAX_PARALLEL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
-
The default maximum number of parallel downloads.
- DEFAULT_MAX_QUEUE_SIZE - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
- DEFAULT_MEDIA_ID - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
The media id used by media items of dash media sources without a manifest URI.
- DEFAULT_METADATA_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a metadata buffer.
- DEFAULT_MIN_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default minimum duration of media that the player will attempt to ensure is buffered at all times, in milliseconds.
- DEFAULT_MIN_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The buffer size in bytes that will be used as a minimum target buffer in all cases.
- DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
- DEFAULT_MIN_DURATION_TO_RETAIN_AFTER_DISCARD_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
- DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
The default minimum number of times to retry loading data prior to propagating the error.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT_PROGRESSIVE_LIVE - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
The default minimum number of times to retry loading prior to failing for progressive live streams.
- DEFAULT_MIN_POSSIBLE_LIVE_OFFSET_SMOOTHING_FACTOR - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default smoothing factor when smoothing the minimum possible live offset that can be achieved during playback.
- DEFAULT_MIN_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
-
The default minimum number of times a download must be retried before failing.
- DEFAULT_MIN_UPDATE_INTERVAL_MS - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default
minimum interval
between playback speed changes, in milliseconds. - DEFAULT_MINIMUM_SILENCE_DURATION_US - Static variable in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
The default value for
minimumSilenceDurationUs
. - DEFAULT_MUXED_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a muxed buffer (e.g.
- DEFAULT_NTP_HOST - Static variable in class com.google.android.exoplayer2.util.SntpClient
-
The default NTP host address used to retrieve
SntpClient.getElapsedRealtimeOffsetMs()
. - DEFAULT_PADDING_SILENCE_US - Static variable in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
The default value for
paddingSilenceUs
. - DEFAULT_PLAYBACK_ACTIONS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
The default playback actions.
- DEFAULT_PLAYBACK_SPEED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
The default playback speed.
- DEFAULT_PLAYED_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for played ad markers.
- DEFAULT_PLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the played portion of the time bar.
- DEFAULT_PLAYLIST_STUCK_TARGET_DURATION_COEFFICIENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
Default coefficient applied on the target duration of a playlist to determine the amount of time after which an unchanging playlist is considered stuck.
- DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default prioritization of buffer time constraints over size constraints.
- DEFAULT_PROPORTIONAL_CONTROL_FACTOR - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default
proportional control factor
used to adjust the playback speed. - DEFAULT_PROVIDER - Static variable in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
ExoMediaDrm.Provider
that returns a newFrameworkMediaDrm
for the requested UUID. - DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
The default read timeout, in milliseconds.
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Deprecated.The default read timeout, in milliseconds.
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
The default read timeout, in milliseconds.
- DEFAULT_RELEASE_TIMEOUT_MS - Static variable in interface com.google.android.exoplayer2.ExoPlayer
-
The default timeout for calls to
Player.release()
andExoPlayer.setForegroundMode(boolean)
, in milliseconds. - DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
-
The default repeat toggle modes.
- DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default repeat toggle modes.
- DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerControlView
-
The default repeat toggle modes.
- DEFAULT_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
-
The default requirement is that the device has network connectivity.
- DEFAULT_RETAIN_BACK_BUFFER_FROM_KEYFRAME - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default for whether the back buffer is retained from the previous keyframe.
- DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.DefaultControlDispatcher
-
The default rewind increment, in milliseconds.
- DEFAULT_SCRUBBER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the scrubber handle.
- DEFAULT_SCRUBBER_DISABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default diameter for the scrubber when disabled, in dp.
- DEFAULT_SCRUBBER_DRAGGED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default diameter for the scrubber when dragged, in dp.
- DEFAULT_SCRUBBER_ENABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default diameter for the scrubber when enabled, in dp.
- DEFAULT_SEEK_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
-
Default timeout value for
SessionCallbackBuilder.setSeekTimeoutMs(int)
. - DEFAULT_SESSION_ID_GENERATOR - Static variable in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
-
Default generator for unique session ids that are random, Based64-encoded and URL-safe.
- DEFAULT_SESSION_KEEPALIVE_MS - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Default value for
DefaultDrmSessionManager.Builder.setSessionKeepaliveMs(long)
. - DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default show timeout, in milliseconds.
- DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerControlView
-
The default show timeout, in milliseconds.
- DEFAULT_SILENCE_THRESHOLD_LEVEL - Static variable in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
The default value for
silenceThresholdLevel
. - DEFAULT_SLIDING_WINDOW_MAX_WEIGHT - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default maximum weight for the sliding window.
- DEFAULT_SOCKET_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
-
The default socket timeout, in milliseconds.
- DEFAULT_TARGET_BUFFER_BYTES - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default target buffer size in bytes.
- DEFAULT_TARGET_LIVE_OFFSET_INCREMENT_ON_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
-
The default increment applied to the target live offset each time the player is rebuffering, in milliseconds
- DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a text buffer.
- DEFAULT_TEXT_SIZE_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
-
The default fractional text size.
- DEFAULT_TIME_BAR_MIN_UPDATE_INTERVAL_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default minimum interval between time bar position updates.
- DEFAULT_TIME_BAR_MIN_UPDATE_INTERVAL_MS - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerControlView
-
The default minimum interval between time bar position updates.
- DEFAULT_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.robolectric.RobolectricUtil
-
The default timeout applied when calling
RobolectricUtil.runMainLooperUntil(Supplier)
. - DEFAULT_TIMESTAMP_SEARCH_BYTES - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
- DEFAULT_TOUCH_TARGET_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default height for the touch target, in dp.
- DEFAULT_TRACK_BLACKLIST_MS - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
The default duration for which a track is excluded in milliseconds.