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

A

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

B

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

C

C - Class in com.google.android.exoplayer2
Defines constants used by the library.
C.AudioAllowedCapturePolicy - Annotation Type in com.google.android.exoplayer2
Capture policies for audio attributes.
C.AudioContentType - Annotation Type in com.google.android.exoplayer2
Content types for audio attributes.
C.AudioFlags - Annotation Type in com.google.android.exoplayer2
Flags for audio attributes.
C.AudioFocusGain - Annotation Type in com.google.android.exoplayer2
Audio focus types.
C.AudioManagerOffloadMode - Annotation Type in com.google.android.exoplayer2
Playback offload mode.
C.AudioUsage - Annotation Type in com.google.android.exoplayer2
Usage types for audio attributes.
C.BufferFlags - Annotation Type in com.google.android.exoplayer2
Flags which can apply to a buffer containing a media sample.
C.ColorRange - Annotation Type in com.google.android.exoplayer2
Video color range.
C.ColorSpace - Annotation Type in com.google.android.exoplayer2
Video colorspaces.
C.ColorTransfer - Annotation Type in com.google.android.exoplayer2
Video color transfer characteristics.
C.ContentType - Annotation Type in com.google.android.exoplayer2
Represents a streaming or other media type.
C.CryptoMode - Annotation Type in com.google.android.exoplayer2
Crypto modes for a codec.
C.CryptoType - Annotation Type in com.google.android.exoplayer2
Types of crypto implementation.
C.DataType - Annotation Type in com.google.android.exoplayer2
Represents a type of data.
C.Encoding - Annotation Type in com.google.android.exoplayer2
Represents an audio encoding, or an invalid or unset value.
C.FormatSupport - Annotation Type in com.google.android.exoplayer2
Level of renderer support for a format.
C.NetworkType - Annotation Type in com.google.android.exoplayer2
Network connection type.
C.PcmEncoding - Annotation Type in com.google.android.exoplayer2
Represents a PCM audio encoding, or an invalid or unset value.
C.Projection - Annotation Type in com.google.android.exoplayer2
Video projection types.
C.RoleFlags - Annotation Type in com.google.android.exoplayer2
Track role flags.
C.SelectionFlags - Annotation Type in com.google.android.exoplayer2
Track selection flags.
C.SelectionReason - Annotation Type in com.google.android.exoplayer2
Represents a reason for selection.
C.StereoMode - Annotation Type in com.google.android.exoplayer2
The stereo mode for 360/3D/VR videos.
C.StreamType - Annotation Type in com.google.android.exoplayer2
Stream types for an AudioTrack.
C.TrackType - Annotation Type in com.google.android.exoplayer2
Represents a type of media track.
C.VideoChangeFrameRateStrategy - Annotation Type in com.google.android.exoplayer2
C.VideoOutputMode - Annotation Type in com.google.android.exoplayer2
Video decoder output modes.
C.VideoScalingMode - Annotation Type in com.google.android.exoplayer2
Video scaling modes for MediaCodec-based renderers.
C.WakeMode - Annotation Type in com.google.android.exoplayer2
Mode specifying whether the player should hold a WakeLock and a WifiLock.
cache() - Method in class com.google.android.exoplayer2.upstream.cache.CacheWriter
Caches the requested data, skipping any that's already cached.
Cache - Interface in com.google.android.exoplayer2.upstream.cache
A cache that supports partial caching of resources.
CACHE_IGNORED_REASON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Cache ignored due to a cache related error.
CACHE_IGNORED_REASON_UNSET_LENGTH - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Cache ignored due to a request with an unset length.
Cache.CacheException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when an error is encountered when writing data.
Cache.Listener - Interface in com.google.android.exoplayer2.upstream.cache
Listener of Cache events.
CacheAsserts - Class in com.google.android.exoplayer2.testutil
Assertion methods for Cache.
CacheAsserts.RequestSet - Class in com.google.android.exoplayer2.testutil
Defines a set of data requests.
CACHED_TO_END - Static variable in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
Writes data into a cache.
CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Constructs an instance using CacheDataSink.DEFAULT_BUFFER_SIZE.
CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
Thrown when an IOException is encountered when writing data to the sink.
CacheDataSink.Factory - Class in com.google.android.exoplayer2.upstream.cache
CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
 
CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
A DataSource that reads and writes a Cache.
CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with default DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Constructs an instance with arbitrary DataSource and DataSink instances for reading and writing the cache.
CacheDataSource.CacheIgnoredReason - Annotation Type in com.google.android.exoplayer2.upstream.cache
Reasons the cache may be ignored.
CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
Listener of CacheDataSource events.
CacheDataSource.Factory - Class in com.google.android.exoplayer2.upstream.cache
CacheDataSource.Flags - Annotation Type in com.google.android.exoplayer2.upstream.cache
Flags controlling the CacheDataSource's behavior.
CachedRegionTracker - Class in com.google.android.exoplayer2.upstream
Utility class for efficiently tracking regions of data that are stored in a Cache for a given cache key.
CachedRegionTracker(Cache, String, ChunkIndex) - Constructor for class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
CacheEvictor - Interface in com.google.android.exoplayer2.upstream.cache
Evicts data from a Cache.
CacheException(String) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
 
CacheKeyFactory - Interface in com.google.android.exoplayer2.upstream.cache
Factory for cache keys.
CacheSpan - Class in com.google.android.exoplayer2.upstream.cache
Defines a span of data that may or may not be cached (as indicated by CacheSpan.isCached).
CacheSpan(String, long, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
Creates a hole CacheSpan which isn't cached, has no last touch timestamp and no file associated.
CacheSpan(String, long, long, long, File) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
Creates a CacheSpan.
CacheWriter - Class in com.google.android.exoplayer2.upstream.cache
Caching related utility methods.
CacheWriter(CacheDataSource, DataSpec, byte[], CacheWriter.ProgressListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheWriter
 
CacheWriter.ProgressListener - Interface in com.google.android.exoplayer2.upstream.cache
Receives progress updates during cache operations.
calculateNextSearchBytePosition(long, long, long, long, long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
Returns the next position in the stream to search for target frame, given [floorBytePosition, ceilingBytePosition), with corresponding [floorTimePosition, ceilingTimePosition).
calculateTargetBufferBytes(Renderer[], ExoTrackSelection[]) - Method in class com.google.android.exoplayer2.DefaultLoadControl
Calculate target buffer size in bytes based on the selected tracks.
CameraMotionListener - Interface in com.google.android.exoplayer2.video.spherical
Listens camera motion.
CameraMotionRenderer - Class in com.google.android.exoplayer2.video.spherical
A Renderer that parses the camera motion track.
CameraMotionRenderer() - Constructor for class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
canAdvertiseSession() - Method in class com.google.android.exoplayer2.BasePlayer
Returns whether the player can be used to advertise a media session.
canAdvertiseSession() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
canAdvertiseSession() - Method in interface com.google.android.exoplayer2.Player
Returns whether the player can be used to advertise a media session.
canBlockReload - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Whether the server supports blocking playlist reload.
cancel() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
 
cancel() - Method in interface com.google.android.exoplayer2.offline.Downloader
Permanently cancels the downloading by this downloader.
cancel() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
cancel() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
cancel() - Method in class com.google.android.exoplayer2.PlayerMessage
Cancels the message delivery.
cancel() - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
cancel() - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Cancels anything that was previously scheduled, or else does nothing.
cancel() - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Cancels the transformation that is currently in progress, if any.
cancel() - Method in class com.google.android.exoplayer2.transformer.Transformer
Cancels the transformation that is currently in progress, if any.
cancel() - Method in class com.google.android.exoplayer2.upstream.cache.CacheWriter
Cancels this writer's caching operation.
cancel(boolean) - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
cancelLoad() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
 
cancelLoad() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
Cancels the load.
cancelLoad() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
 
cancelLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
Cancels the current load.
cancelWork() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Cancels any work being done by RunnableFutureTask.doWork().
canReadBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Returns whether it's possible to read n bits starting from the current offset.
canReadExpGolombCodedNum() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Returns whether it is possible to read an Exp-Golomb-coded integer starting from the current offset.
canReplace(DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns whether this DrmInitData.SchemeData can be used to replace other.
canReuseCodec(Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Evaluates whether it's possible to reuse an instance of this decoder that's currently decoding oldFormat to decode newFormat instead.
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Evaluates whether the existing MediaCodec can be kept for a new Format, and if it can whether it requires reconfiguration.
canReuseCodec(MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Evaluates whether the existing decoder can be reused for a new Format.
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
canReuseDecoder(String, Format, Format) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Evaluates whether the existing decoder can be reused for a new Format.
canSelectFormat(Format, int, long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Called when updating the selected track to determine whether a candidate track can be selected.
canSkipDateRanges - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Whether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.
capabilities - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The capabilities of the decoder, like the profiles/levels it supports, or null if not known.
capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the capacity of the array, which may be larger than the limit.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
The CLOSED-CAPTIONS value as defined in the EXT-X-STREAM-INF tag, or null if the CLOSED-CAPTIONS attribute is not present.
captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
The caption rendition group referenced by this variant, or null.
CaptionStyleCompat - Class in com.google.android.exoplayer2.ui
A compatibility wrapper for CaptioningManager.CaptionStyle.
CaptionStyleCompat(int, int, int, int, int, Typeface) - Constructor for class com.google.android.exoplayer2.ui.CaptionStyleCompat
 
CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.ui
The type of edge, which may be none.
captureFrameRate - Variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
The capture frame rate, in fps, or C.RATE_UNSET if it is unknown.
CapturingAudioSink - Class in com.google.android.exoplayer2.testutil
A ForwardingAudioSink that captures configuration, discontinuity and buffer events.
CapturingAudioSink(AudioSink) - Constructor for class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
CapturingRenderersFactory - Class in com.google.android.exoplayer2.testutil
A RenderersFactory that captures interactions with the audio and video MediaCodecAdapter instances.
CapturingRenderersFactory(Context) - Constructor for class com.google.android.exoplayer2.testutil.CapturingRenderersFactory
 
castNonNull(T) - Static method in class com.google.android.exoplayer2.util.Util
Casts a nullable variable to a non-null variable without runtime null check.
castNonNullTypeArray(T[]) - Static method in class com.google.android.exoplayer2.util.Util
Casts a nullable type array to a non-null type array without runtime null check.
CastPlayer - Class in com.google.android.exoplayer2.ext.cast
Player implementation that communicates with a Cast receiver app.
CastPlayer(CastContext) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Creates a new cast player.
CastPlayer(CastContext, MediaItemConverter) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Creates a new cast player.
CastPlayer(CastContext, MediaItemConverter, long, long) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
Creates a new cast player.
Cea608Decoder - Class in com.google.android.exoplayer2.text.cea
A SubtitleDecoder for CEA-608 (also known as "line 21 captions" and "EIA-608").
Cea608Decoder(String, int, long) - Constructor for class com.google.android.exoplayer2.text.cea.Cea608Decoder
Constructs an instance.
Cea708Decoder - Class in com.google.android.exoplayer2.text.cea
A SubtitleDecoder for CEA-708 (also known as "EIA-708").
Cea708Decoder(int, List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
CeaUtil - Class in com.google.android.exoplayer2.extractor
Utility methods for handling CEA-608/708 messages.
ceilDivide(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Divides a numerator by a denominator, returning the ceiled result.
ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Divides a numerator by a denominator, returning the ceiled result.
CENC_TYPE_cbc1 - Static variable in class com.google.android.exoplayer2.C
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cbcs - Static variable in class com.google.android.exoplayer2.C
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cenc - Static variable in class com.google.android.exoplayer2.C
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016.
CENC_TYPE_cens - Static variable in class com.google.android.exoplayer2.C
"cens" scheme type name as defined in ISO/IEC 23001-7:2016.
channelCount - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
The number of channels.
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
The number of audio channels
channelCount - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
The number of interleaved channels.
channelCount - Variable in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
channelCount - Variable in class com.google.android.exoplayer2.Format
The number of audio channels, or Format.NO_VALUE if unknown or not applicable.
channelDescriptionResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channelId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channelImportance - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channelNameResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
channels - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Number of audio channels in the frame.
channels - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Number of audio channels.
channels - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
The audio_channels field.
ChapterFrame - Class in com.google.android.exoplayer2.metadata.id3
Chapter information ID3 frame.
ChapterFrame(String, int, int, long, long, Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
chapterId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
ChapterTocFrame - Class in com.google.android.exoplayer2.metadata.id3
Chapter table of contents ID3 frame.
ChapterTocFrame(String, boolean, boolean, String[], Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
checkAndPeekStreamMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Peeks the FLAC stream marker.
checkAndReadFrameHeader(ParsableByteArray, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Checks whether the given FLAC frame header is valid and, if so, reads it and writes the frame first sample number in sampleNumberHolder.
checkArgument(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if expression evaluates to false.
checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if expression evaluates to false.
checkCleartextTrafficPermitted(MediaItem...) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether it may be possible to load the URIs of the given media items based on the network security policy's cleartext traffic permissions.
checkContainerInput(boolean, String) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
If expression is false, throws a container malformed ParserException with the given message.
checkFrameHeaderFromPeek(ExtractorInput, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Checks whether the given FLAC frame header is valid and, if so, writes the frame first sample number in sampleNumberHolder.
checkGlError() - Static method in class com.google.android.exoplayer2.util.GlUtil
If there is an OpenGl error, logs the error and if GlUtil.glAssertionsEnabled is true throws a GlUtil.GlException.
checkInBounds() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Verifies that the iterator points to a valid element.
checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IndexOutOfBoundsException if index falls outside the specified bounds.
checkInitialization() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Checks whether the cache was initialized successfully.
checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if the calling thread is not the application's main thread.
checkNotEmpty(String) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalArgumentException if string is null or zero length.
checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws NullPointerException if reference is null.
checkRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the requirements are met.
checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if expression evaluates to false.
checkStateNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if reference is null.
checkStateNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
Throws IllegalStateException if reference is null.
children - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
The chunk.
Chunk - Class in com.google.android.exoplayer2.source.chunk
An abstract base class for Loader.Loadable implementations that load chunks of data required for the playback of streams.
Chunk(DataSource, DataSpec, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
 
chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
ChunkExtractor - Interface in com.google.android.exoplayer2.source.chunk
Extracts samples and track Formats from chunks.
ChunkExtractor.Factory - Interface in com.google.android.exoplayer2.source.chunk
Creates ChunkExtractor instances.
ChunkExtractor.TrackOutputProvider - Interface in com.google.android.exoplayer2.source.chunk
Provides TrackOutput instances to be written to during extraction.
ChunkHolder - Class in com.google.android.exoplayer2.source.chunk
Holds a chunk or an indication that the end of the stream has been reached.
ChunkHolder() - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkHolder
 
chunkIndex - Variable in class com.google.android.exoplayer2.source.chunk.MediaChunk
The chunk index, or C.INDEX_UNSET if it is not known.
ChunkIndex - Class in com.google.android.exoplayer2.extractor
Defines chunks of samples within a media stream.
ChunkIndex(int[], long[], long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.ChunkIndex
 
ChunkSampleStream<T extends ChunkSource> - Class in com.google.android.exoplayer2.source.chunk
A SampleStream that loads media in Chunks, obtained from a ChunkSource.
ChunkSampleStream(@com.google.android.exoplayer2.C.TrackType int, int[], Format[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, DrmSessionManager, DrmSessionEventListener.EventDispatcher, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Constructs an instance.
ChunkSampleStream.EmbeddedSampleStream - Class in com.google.android.exoplayer2.source.chunk
ChunkSampleStream.ReleaseCallback<T extends ChunkSource> - Interface in com.google.android.exoplayer2.source.chunk
A callback to be notified when a sample stream has finished being released.
ChunkSource - Interface in com.google.android.exoplayer2.source.chunk
A provider of Chunks for a ChunkSampleStream to load.
clear() - Method in class com.google.android.exoplayer2.decoder.Buffer
Clears the buffer.
clear() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
 
clear() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.FormatHolder
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Clears the holder.
clear() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist.
clear() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
clear() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
clear() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Clears all request properties.
clear() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Removes all of the values.
clear(Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Clears the playlist and executes a custom action on completion.
clearAllKeyRequestProperties() - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears all headers for key requests made by the callback.
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears all request headers that were set by HttpDataSource.setRequestProperty(String, String).
clearAndSet(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Removes all properties previously existing and sets the keys and values of the map.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer
Detaches any previously attached auxiliary audio effect from the underlying audio track.
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not apply.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the listener which receives camera motion events if it matches the one passed.
clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearDecoderInfoCache() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Clears the codec cache.
clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
Clears any stored fatal error.
clearFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Removes the flag from this buffer's flags, if it is set.
CLEARKEY_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the ClearKey DRM scheme.
clearKeyRequestProperty(String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Clears a header for key requests made by the callback.
clearMediaItems() - Method in class com.google.android.exoplayer2.BasePlayer
 
clearMediaItems() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
clearMediaItems() - Method in interface com.google.android.exoplayer2.Player
Clears the playlist.
clearMediaItems() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a clear media items action to be created.
ClearMediaItems(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearMediaItems
 
clearOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.Builder
Removes the override associated with the provided TrackGroup if present.
clearOverridesOfType(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.Builder
Remove any override associated with TrackGroups of type trackType.
clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Clears the value of a request header.
clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
CleartextNotPermittedException(IOException, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.CleartextNotPermittedException
 
clearTrackOutputs() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
clearTrackSelections(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Clears the selection of tracks for a period.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the listener which receives video frame metadata events if it matches the one passed.
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
clearVideoSurface() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
clearVideoSurface() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurface() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
clearVideoSurface() - Method in interface com.google.android.exoplayer2.Player
Clears any Surface, SurfaceHolder, SurfaceView or TextureView currently set on the player.
clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a clear video surface action.
clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player
Clears the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
ClearVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player
Clears the SurfaceHolder that holds the Surface onto which video is being rendered if it matches the one passed.
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player
Clears the SurfaceView onto which video is being rendered if it matches the one passed.
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player
Clears the TextureView onto which video is being rendered if it matches the one passed.
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
clearWindowColor() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets Cue.windowColorSet to false.
clippedEndTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
The time from which output will end, or C.TIME_UNSET if output will end at the end of the chunk.
clippedStartTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
The time from which output will begin, or C.TIME_UNSET if output will begin from the start of the chunk.
clippingConfiguration - Variable in class com.google.android.exoplayer2.MediaItem
The clipping properties.
ClippingMediaPeriod - Class in com.google.android.exoplayer2.source
Wraps a MediaPeriod and clips its SampleStreams to provide a subsequence of their samples.
ClippingMediaPeriod(MediaPeriod, boolean, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaPeriod
Creates a new clipping media period that provides a clipped view of the specified MediaPeriod's sample streams.
ClippingMediaSource - Class in com.google.android.exoplayer2.source
MediaSource that wraps a source and clips its timeline based on specified start/end positions.
ClippingMediaSource(MediaSource, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source and provides samples from the default position for the specified duration.
ClippingMediaSource(MediaSource, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source and provides samples between the specified start and end position.
ClippingMediaSource(MediaSource, long, long, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
Creates a new clipping source that wraps the specified source.
ClippingMediaSource.IllegalClippingException - Exception in com.google.android.exoplayer2.source
Thrown when a ClippingMediaSource cannot clip its wrapped source.
ClippingMediaSource.IllegalClippingException.Reason - Annotation Type in com.google.android.exoplayer2.source
The reason clipping failed.
clippingProperties - Variable in class com.google.android.exoplayer2.MediaItem
Deprecated.
Clock - Interface in com.google.android.exoplayer2.util
An interface through which system clocks can be read and HandlerWrappers created.
clockRate - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
The clock rate in Hertz, associated with the format.
cloneAndClear() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with all elements removed.
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndClear() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
cloneAndInsert(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with newly inserted elements.
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
cloneAndRemove(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns a copy of the shuffle order with a range of elements removed.
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
close() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
close() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
close() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
 
close() - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink
 
close() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
close() - Method in interface com.google.android.exoplayer2.upstream.DataSink
Closes the sink.
close() - Method in interface com.google.android.exoplayer2.upstream.DataSource
Closes the source.
close() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
close() - Method in class com.google.android.exoplayer2.upstream.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.
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.upstream.DataSourceUtil
Closes a DataSource, suppressing any IOException that may occur.
closeQuietly(Closeable) - Static method in class com.google.android.exoplayer2.util.Util
Closes a Closeable, suppressing any IOException that may occur.
closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
closeSession(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Closes a DRM session.
closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
closeSession(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
CLOSEST_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the closest sync point.
CODEC_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
A non-standard codec string for E-AC3-JOC.
CODEC_OPERATING_RATE_UNSET - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Indicates no codec operating rate should be set.
codecInfo - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Information about the MediaCodec being configured.
codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
The MediaCodecInfo of the decoder that failed.
codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
The MediaCodecInfo of the decoder that failed to initialize.
CodecMaxValues(int, int, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
codecMimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The MIME type that the codec uses for media of type MediaCodecInfo.mimeType.
codecNeedsSetOutputSurfaceWorkaround(String) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether the codec is known to implement MediaCodec.setOutputSurface(Surface) incorrectly.
codecs - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
The RFC 6381 codecs string.
codecs - Variable in class com.google.android.exoplayer2.Format
Codecs of the format as described in RFC 6381, or null if unknown or not applicable.
codecs - Variable in class com.google.android.exoplayer2.video.AvcConfig
An RFC 6381 codecs string representing the video format, or null if not known.
codecs - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
The RFC 6381 codecs string.
codecs - Variable in class com.google.android.exoplayer2.video.HevcConfig
An RFC 6381 codecs string representing the video format, or null if not known.
CodecSpecificDataUtil - Class in com.google.android.exoplayer2.util
Provides utilities for handling various types of codec-specific data.
COLOR_RANGE_FULL - Static variable in class com.google.android.exoplayer2.C
 
COLOR_RANGE_LIMITED - Static variable in class com.google.android.exoplayer2.C
 
COLOR_SPACE_BT2020 - Static variable in class com.google.android.exoplayer2.C
 
COLOR_SPACE_BT601 - Static variable in class com.google.android.exoplayer2.C
 
COLOR_SPACE_BT709 - Static variable in class com.google.android.exoplayer2.C
 
COLOR_TRANSFER_HLG - Static variable in class com.google.android.exoplayer2.C
 
COLOR_TRANSFER_SDR - Static variable in class com.google.android.exoplayer2.C
 
COLOR_TRANSFER_ST2084 - Static variable in class com.google.android.exoplayer2.C
 
colorInfo - Variable in class com.google.android.exoplayer2.Format
The color metadata associated with the video, or null if not applicable.
ColorInfo - Class in com.google.android.exoplayer2.video
Stores color info.
ColorInfo(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.decoder.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.decoder.VideoDecoderOutputBuffer
 
COLORSPACE_BT601 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
COLORSPACE_BT709 - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
COLORSPACE_UNKNOWN - Static variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
colorTransfer - Variable in class com.google.android.exoplayer2.video.ColorInfo
The color transfer characteristics of the video.
com.google.android.exoplayer2 - package com.google.android.exoplayer2
 
com.google.android.exoplayer2.analytics - package com.google.android.exoplayer2.analytics
 
com.google.android.exoplayer2.audio - package com.google.android.exoplayer2.audio
 
com.google.android.exoplayer2.database - package com.google.android.exoplayer2.database
 
com.google.android.exoplayer2.decoder - package com.google.android.exoplayer2.decoder
 
com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
 
com.google.android.exoplayer2.ext.av1 - package com.google.android.exoplayer2.ext.av1
 
com.google.android.exoplayer2.ext.cast - package com.google.android.exoplayer2.ext.cast
 
com.google.android.exoplayer2.ext.cronet - package com.google.android.exoplayer2.ext.cronet
 
com.google.android.exoplayer2.ext.ffmpeg - package com.google.android.exoplayer2.ext.ffmpeg
 
com.google.android.exoplayer2.ext.flac - package com.google.android.exoplayer2.ext.flac
 
com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
 
com.google.android.exoplayer2.ext.leanback - package com.google.android.exoplayer2.ext.leanback
 
com.google.android.exoplayer2.ext.media2 - package com.google.android.exoplayer2.ext.media2
 
com.google.android.exoplayer2.ext.mediasession - package com.google.android.exoplayer2.ext.mediasession
 
com.google.android.exoplayer2.ext.okhttp - package com.google.android.exoplayer2.ext.okhttp
 
com.google.android.exoplayer2.ext.opus - package com.google.android.exoplayer2.ext.opus
 
com.google.android.exoplayer2.ext.rtmp - package com.google.android.exoplayer2.ext.rtmp
 
com.google.android.exoplayer2.ext.vp9 - package com.google.android.exoplayer2.ext.vp9
 
com.google.android.exoplayer2.ext.workmanager - package com.google.android.exoplayer2.ext.workmanager
 
com.google.android.exoplayer2.extractor - package com.google.android.exoplayer2.extractor
 
com.google.android.exoplayer2.extractor.amr - package com.google.android.exoplayer2.extractor.amr
 
com.google.android.exoplayer2.extractor.flac - package com.google.android.exoplayer2.extractor.flac
 
com.google.android.exoplayer2.extractor.flv - package com.google.android.exoplayer2.extractor.flv
 
com.google.android.exoplayer2.extractor.jpeg - package com.google.android.exoplayer2.extractor.jpeg
 
com.google.android.exoplayer2.extractor.mkv - package com.google.android.exoplayer2.extractor.mkv
 
com.google.android.exoplayer2.extractor.mp3 - package com.google.android.exoplayer2.extractor.mp3
 
com.google.android.exoplayer2.extractor.mp4 - package com.google.android.exoplayer2.extractor.mp4
 
com.google.android.exoplayer2.extractor.ogg - package com.google.android.exoplayer2.extractor.ogg
 
com.google.android.exoplayer2.extractor.rawcc - package com.google.android.exoplayer2.extractor.rawcc
 
com.google.android.exoplayer2.extractor.ts - package com.google.android.exoplayer2.extractor.ts
 
com.google.android.exoplayer2.extractor.wav - package com.google.android.exoplayer2.extractor.wav
 
com.google.android.exoplayer2.mediacodec - package com.google.android.exoplayer2.mediacodec
 
com.google.android.exoplayer2.metadata - package com.google.android.exoplayer2.metadata
 
com.google.android.exoplayer2.metadata.dvbsi - package com.google.android.exoplayer2.metadata.dvbsi
 
com.google.android.exoplayer2.metadata.emsg - package com.google.android.exoplayer2.metadata.emsg
 
com.google.android.exoplayer2.metadata.flac - package com.google.android.exoplayer2.metadata.flac
 
com.google.android.exoplayer2.metadata.icy - package com.google.android.exoplayer2.metadata.icy
 
com.google.android.exoplayer2.metadata.id3 - package com.google.android.exoplayer2.metadata.id3
 
com.google.android.exoplayer2.metadata.mp4 - package com.google.android.exoplayer2.metadata.mp4
 
com.google.android.exoplayer2.metadata.scte35 - package com.google.android.exoplayer2.metadata.scte35
 
com.google.android.exoplayer2.offline - package com.google.android.exoplayer2.offline
 
com.google.android.exoplayer2.robolectric - package com.google.android.exoplayer2.robolectric
 
com.google.android.exoplayer2.scheduler - package com.google.android.exoplayer2.scheduler
 
com.google.android.exoplayer2.source - package com.google.android.exoplayer2.source
 
com.google.android.exoplayer2.source.ads - package com.google.android.exoplayer2.source.ads
 
com.google.android.exoplayer2.source.chunk - package com.google.android.exoplayer2.source.chunk
 
com.google.android.exoplayer2.source.dash - package com.google.android.exoplayer2.source.dash
 
com.google.android.exoplayer2.source.dash.manifest - package com.google.android.exoplayer2.source.dash.manifest
 
com.google.android.exoplayer2.source.dash.offline - package com.google.android.exoplayer2.source.dash.offline
 
com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
 
com.google.android.exoplayer2.source.hls.offline - package com.google.android.exoplayer2.source.hls.offline
 
com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
 
com.google.android.exoplayer2.source.mediaparser - package com.google.android.exoplayer2.source.mediaparser
 
com.google.android.exoplayer2.source.rtsp - package com.google.android.exoplayer2.source.rtsp
 
com.google.android.exoplayer2.source.rtsp.reader - package com.google.android.exoplayer2.source.rtsp.reader
 
com.google.android.exoplayer2.source.smoothstreaming - package com.google.android.exoplayer2.source.smoothstreaming
 
com.google.android.exoplayer2.source.smoothstreaming.manifest - package com.google.android.exoplayer2.source.smoothstreaming.manifest
 
com.google.android.exoplayer2.source.smoothstreaming.offline - package com.google.android.exoplayer2.source.smoothstreaming.offline
 
com.google.android.exoplayer2.testutil - package com.google.android.exoplayer2.testutil
 
com.google.android.exoplayer2.testutil.truth - package com.google.android.exoplayer2.testutil.truth
 
com.google.android.exoplayer2.text - package com.google.android.exoplayer2.text
 
com.google.android.exoplayer2.text.cea - package com.google.android.exoplayer2.text.cea
 
com.google.android.exoplayer2.text.dvb - package com.google.android.exoplayer2.text.dvb
 
com.google.android.exoplayer2.text.pgs - package com.google.android.exoplayer2.text.pgs
 
com.google.android.exoplayer2.text.span - package com.google.android.exoplayer2.text.span
 
com.google.android.exoplayer2.text.ssa - package com.google.android.exoplayer2.text.ssa
 
com.google.android.exoplayer2.text.subrip - package com.google.android.exoplayer2.text.subrip
 
com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
 
com.google.android.exoplayer2.text.tx3g - package com.google.android.exoplayer2.text.tx3g
 
com.google.android.exoplayer2.text.webvtt - package com.google.android.exoplayer2.text.webvtt
 
com.google.android.exoplayer2.trackselection - package com.google.android.exoplayer2.trackselection
 
com.google.android.exoplayer2.transformer - package com.google.android.exoplayer2.transformer
 
com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
 
com.google.android.exoplayer2.upstream - package com.google.android.exoplayer2.upstream
 
com.google.android.exoplayer2.upstream.cache - package com.google.android.exoplayer2.upstream.cache
 
com.google.android.exoplayer2.upstream.crypto - package com.google.android.exoplayer2.upstream.crypto
 
com.google.android.exoplayer2.util - package com.google.android.exoplayer2.util
 
com.google.android.exoplayer2.video - package com.google.android.exoplayer2.video
 
com.google.android.exoplayer2.video.spherical - package com.google.android.exoplayer2.video.spherical
 
COMMAND_ADJUST_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to increase and decrease the device volume and mute it.
COMMAND_CHANGE_MEDIA_ITEMS - Static variable in interface com.google.android.exoplayer2.Player
Command to change the MediaItems in the playlist.
COMMAND_GET_AUDIO_ATTRIBUTES - Static variable in interface com.google.android.exoplayer2.Player
Command to get the player current AudioAttributes.
COMMAND_GET_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to get the currently playing MediaItem.
COMMAND_GET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to get the device volume and whether it is muted.
COMMAND_GET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Command to get the MediaItems metadata.
COMMAND_GET_TEXT - Static variable in interface com.google.android.exoplayer2.Player
Command to get the text that should currently be displayed by the player.
COMMAND_GET_TIMELINE - Static variable in interface com.google.android.exoplayer2.Player
Command to get the information about the current timeline.
COMMAND_GET_TRACK_INFOS - Static variable in interface com.google.android.exoplayer2.Player
Command to get track infos.
COMMAND_GET_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to get the player volume.
COMMAND_INVALID - Static variable in interface com.google.android.exoplayer2.Player
Represents an invalid Player.Command.
COMMAND_MOVE_QUEUE_ITEM - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
COMMAND_PLAY_PAUSE - Static variable in interface com.google.android.exoplayer2.Player
Command to start, pause or resume playback.
COMMAND_PREPARE - Static variable in interface com.google.android.exoplayer2.Player
Command to prepare the player.
COMMAND_SEEK_BACK - Static variable in interface com.google.android.exoplayer2.Player
Command to seek back by a fixed increment into the current MediaItem.
COMMAND_SEEK_FORWARD - Static variable in interface com.google.android.exoplayer2.Player
Command to seek forward by a fixed increment into the current MediaItem.
COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek anywhere into the current MediaItem.
COMMAND_SEEK_IN_CURRENT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SEEK_TO_DEFAULT_POSITION - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the current MediaItem.
COMMAND_SEEK_TO_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek anywhere in any MediaItem.
COMMAND_SEEK_TO_NEXT - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to a later position in the current or next MediaItem.
COMMAND_SEEK_TO_NEXT_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the next MediaItem.
COMMAND_SEEK_TO_NEXT_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SEEK_TO_PREVIOUS - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to an earlier position in the current or previous MediaItem.
COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Command to seek to the default position of the previous MediaItem.
COMMAND_SEEK_TO_PREVIOUS_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
COMMAND_SEEK_TO_WINDOW - Static variable in interface com.google.android.exoplayer2.Player
Deprecated.
COMMAND_SET_DEVICE_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to set the device volume and mute it.
COMMAND_SET_MEDIA_ITEMS_METADATA - Static variable in interface com.google.android.exoplayer2.Player
Command to set the MediaItems metadata.
COMMAND_SET_REPEAT_MODE - Static variable in interface com.google.android.exoplayer2.Player
Command to set the repeat mode.
COMMAND_SET_SHUFFLE_MODE - Static variable in interface com.google.android.exoplayer2.Player
Command to enable shuffling.
COMMAND_SET_SPEED_AND_PITCH - Static variable in interface com.google.android.exoplayer2.Player
Command to set the playback speed and pitch.
COMMAND_SET_TRACK_SELECTION_PARAMETERS - Static variable in interface com.google.android.exoplayer2.Player
Command to set the player's track selection parameters.
COMMAND_SET_VIDEO_SURFACE - Static variable in interface com.google.android.exoplayer2.Player
Command to set and clear the surface on which to render the video.
COMMAND_SET_VOLUME - Static variable in interface com.google.android.exoplayer2.Player
Command to set the player volume.
COMMAND_STOP - Static variable in interface com.google.android.exoplayer2.Player
Command to stop playback or release the player.
commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The private bytes as defined in SCTE35, Section 9.3.6.
CommentFrame - Class in com.google.android.exoplayer2.metadata.id3
Comment ID3 frame.
CommentFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
CommentHeader(String, String[], int) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
 
comments - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
 
commitFile(File, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Commits a file into the cache.
commitFile(File, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
COMMON_PSSH_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the W3C Common PSSH box.
compare(DrmInitData.SchemeData, DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
compareLong(long, long) - Static method in class com.google.android.exoplayer2.util.Util
Compares two long values and returns the same value as Long.compare(long, long).
compareTo(SegmentDownloader.Segment) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
 
compareTo(StreamKey) - Method in class com.google.android.exoplayer2.offline.StreamKey
 
compareTo(FakeClock.HandlerMessage) - Method in class com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
 
compareTo(DefaultTrackSelector.AudioTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
Compares this score with another.
compareTo(DefaultTrackSelector.OtherTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.OtherTrackScore
 
compareTo(DefaultTrackSelector.TextTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
Compares this score with another.
compareTo(DefaultTrackSelector.VideoTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.VideoTrackScore
 
compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
 
compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
 
compilation - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional compilation.
compile(String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
Compile an instance from the provided template string.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If SpliceInsertCommand.programSpliceFlag is false, a non-empty list containing the SpliceInsertCommand.ComponentSplices.
componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
composer - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional composer.
CompositeMediaSource<T> - Class in com.google.android.exoplayer2.source
Composite MediaSource consisting of multiple child sources.
CompositeMediaSource() - Constructor for class com.google.android.exoplayer2.source.CompositeMediaSource
Creates composite media source without child sources.
CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
A SequenceableLoader that encapsulates multiple other SequenceableLoaders.
CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
CompositeSequenceableLoaderFactory - Interface in com.google.android.exoplayer2.source
A factory to create composite SequenceableLoaders.
ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
Concatenates multiple MediaSources.
ConcatenatingMediaSource(boolean, boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
ConditionVariable - Class in com.google.android.exoplayer2.util
An interruptible condition variable.
ConditionVariable() - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
Creates an instance using Clock.DEFAULT.
ConditionVariable(Clock) - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
Creates an instance, which starts closed.
conductor - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional conductor.
configs() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Returns a list of arrays containing ExtractorAsserts.SimulationConfig objects to exercise different extractor paths.
configsNoSniffing() - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
Returns a list of arrays containing ExtractorAsserts.SimulationConfig objects to exercise different extractor paths in which the input is not sniffed.
ConfigurationException(String, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Creates a new configuration exception with the specified message and no cause.
ConfigurationException(Throwable, Format) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Creates a new configuration exception with the specified cause and no message.
configure(AudioProcessor.AudioFormat) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Configures the processor to process input audio with the specified format.
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
configure(Format, int, int[]) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Configures (or reconfigures) the sink.
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
configure(Format, int, int[]) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
ConstantBitrateSeekMap - Class in com.google.android.exoplayer2.extractor
A SeekMap implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size.
ConstantBitrateSeekMap(long, long, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Creates an instance with allowSeeksIfLengthUnknown set to false.
ConstantBitrateSeekMap(long, long, int, int, boolean) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Creates an instance.
constraintBytes - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
constraintsFlagsAndReservedZero2Bits - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
constrainValue(float, float, float) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
constrainValue(int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
constrainValue(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Constrains a value to the specified bounds.
consume(byte[], int) - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Called by DataChunk.load().
consume(long, ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
 
consume(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.extractor.CeaUtil
Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608/708 messages as samples to all of the provided outputs.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Consumes (possibly partial) data from the current packet.
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.PassthroughSectionPayloadReader
 
consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
Called by a SectionReader when a full section is received.
consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
consume(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Consumes the payload of a TS packet.
consume(ParsableByteArray, long, int, boolean) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
consume(ParsableByteArray, long, int, boolean) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
Consumes the payload from the an RTP packet.
consumeCcData(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.extractor.CeaUtil
Consumes caption data (cc_data), writing the content as samples to all of the provided outputs.
Consumer<T> - Interface in com.google.android.exoplayer2.util
Represents an operation that accepts a single input argument and returns no result.
ContainerMediaChunk - Class in com.google.android.exoplayer2.source.chunk
A BaseMediaChunk that uses an Extractor to decode sample data.
ContainerMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, long, long, int, long, ChunkExtractor) - Constructor for class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
containerMimeType - Variable in class com.google.android.exoplayer2.Format
The mime type of the container, or null if unknown or not applicable.
contains(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.Player.Commands
Returns whether the set of commands contains the specified Player.Command.
contains(@com.google.android.exoplayer2.Player.Event int) - Method in class com.google.android.exoplayer2.Player.Events
Returns whether the given Player.Event occurred.
contains(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns whether the given event occurred.
contains(int) - Method in class com.google.android.exoplayer2.util.FlagSet
Returns whether the set contains the given flag.
contains(Object[], Object) - Static method in class com.google.android.exoplayer2.util.Util
Tests whether an items array contains an object equal to item, according to Object.equals(Object).
contains(String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns whether the metadata is available.
contains(String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
containsAny(@com.google.android.exoplayer2.Player.Event int...) - Method in class com.google.android.exoplayer2.Player.Events
Returns whether any of the given events occurred.
containsAny(int...) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns whether any of the given events occurred.
containsAny(int...) - Method in class com.google.android.exoplayer2.util.FlagSet
Returns whether the set contains at least one of the given flags.
containsCodecsCorrespondingToMimeType(String, String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given codecs string contains a codec which corresponds to the given mimeType.
containsTrack(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Returns whether this override contains the specified track index.
CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
 
CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
 
ContentDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading from a content URI.
ContentDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
 
ContentDataSource.ContentDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an IOException is encountered reading from a content URI.
ContentDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
ContentDataSourceException(IOException, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
Creates a new instance.
contentDurationUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The duration of the content period in microseconds, if known.
contentIsMalformed - Variable in exception com.google.android.exoplayer2.ParserException
Whether the parsing error was caused by a bitstream not following the expected format.
contentLength - Variable in class com.google.android.exoplayer2.offline.Download
The total size of the content in bytes, or C.LENGTH_UNSET if unknown.
contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
The content length, or C.LENGTH_UNSET if unknown.
ContentMetadata - Interface in com.google.android.exoplayer2.upstream.cache
Interface for an immutable snapshot of keyed metadata.
ContentMetadataMutations - Class in com.google.android.exoplayer2.upstream.cache
Defines multiple mutations on metadata value which are applied atomically.
ContentMetadataMutations() - Constructor for class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Constructs a DefaultMetadataMutations.
contentPositionMs - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The content position, in milliseconds.
contentResumeOffsetUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The offset in microseconds which should be added to the content stream when resuming playback after the ad group.
contentType - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
 
context - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to continue loading.
continueLoading(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Attempts to continue loading.
continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
CONTROL_CODE_AUTOSTART - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
The application shall be started when the service is selected, unless the application is already running.
CONTROL_CODE_PRESENT - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
The application is allowed to run while the service is selected, however it shall not start automatically when the service becomes selected.
controlCode - Variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
convert(MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaDescriptionConverter
Returns a MediaItem for the given MediaDescriptionCompat or null if the description can't be converted.
convertToExoPlayerMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.DefaultMediaItemConverter
 
convertToExoPlayerMediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.ext.media2.MediaItemConverter
Converts a Media2 MediaItem to an ExoPlayer MediaItem.
convertToMedia2MediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.DefaultMediaItemConverter
 
convertToMedia2MediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.ext.media2.MediaItemConverter
Converts an ExoPlayer MediaItem to a Media2 MediaItem.
copy(Looper, ListenerSet.IterationFinishedEvent<T>) - Method in class com.google.android.exoplayer2.util.ListenerSet
Copies the listener set.
copy(Format[]) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Creates a copy of this stream element with the formats replaced with those specified.
copy(List<StreamKey>) - Method in interface com.google.android.exoplayer2.offline.FilterableManifest
Returns a copy of the manifest including only the streams specified by the given keys.
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
CopyOnWriteMultiset<E> - Class in com.google.android.exoplayer2.util
An unordered collection of elements that allows duplicates, but also allows access to a set of unique elements.
CopyOnWriteMultiset() - Constructor for class com.google.android.exoplayer2.util.CopyOnWriteMultiset
 
copyright - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
A copyright statement for the media presentation.
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except for the start time, the discontinuity sequence and hasDiscontinuitySequence values.
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Part
 
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
copyWithAppendedEntries(Metadata.Entry...) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the specified entries appended.
copyWithAppendedEntriesFrom(Metadata) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns a copy of this metadata with the entries of the specified metadata appended.
copyWithBitrate(int) - Method in class com.google.android.exoplayer2.Format
copyWithCryptoType(@com.google.android.exoplayer2.C.CryptoType int) - Method in class com.google.android.exoplayer2.Format
Returns a copy of this format with the specified Format.cryptoType.
copyWithData(byte[]) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns a copy of this instance with the specified data.
copyWithDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format
copyWithEndTag() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except that an end tag is added.
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
 
copyWithFormat(Format) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
Returns a copy of this instance with the given Format.
copyWithFrameRate(float) - Method in class com.google.android.exoplayer2.Format
copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
copyWithId(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a copy with the specified ID.
copyWithKeySetId(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a copy with the specified key set ID.
copyWithLabel(String) - Method in class com.google.android.exoplayer2.Format
copyWithManifestFormatInfo(Format) - Method in class com.google.android.exoplayer2.Format
copyWithMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format
copyWithMergedRequest(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns the result of merging newRequest into this request.
copyWithMetadata(Metadata) - Method in class com.google.android.exoplayer2.Format
copyWithMutationsApplied(ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Returns a copy DefaultContentMetadata with mutations applied.
copyWithPeriodUid(Object) - Method in class com.google.android.exoplayer2.source.MediaPeriodId
Returns a copy of this period identifier but with newPeriodUid as its period uid.
copyWithPeriodUid(Object) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
copyWithPictureFrames(List<PictureFrame>) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of this with the given picture frames added to the metadata.
copyWithSchemeType(String) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Returns a copy with the specified protection scheme type.
copyWithSeekTable(FlacStreamMetadata.SeekTable) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of this with the seek table replaced by the one given.
copyWithSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format
copyWithVideoSize(int, int) - Method in class com.google.android.exoplayer2.Format
copyWithVorbisComments(List<String>) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of this with the given Vorbis comments added to the metadata.
copyWithWindowSequenceNumber(long) - Method in class com.google.android.exoplayer2.source.MediaPeriodId
Returns a copy of this period identifier with a new windowSequenceNumber.
copyWithWindowSequenceNumber(long) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
count - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The number of ads in the ad group, or C.LENGTH_UNSET if unknown.
count(E) - Method in class com.google.android.exoplayer2.util.CopyOnWriteMultiset
Returns the number of occurrences of an element in this multiset.
crc32(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the result of updating a CRC-32 with the specified bytes in a "most significant bit first" order.
crc8(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the result of updating a CRC-8 with the specified bytes in a "most significant bit first" order.
create() - Method in interface com.google.android.exoplayer2.testutil.ExtractorAsserts.ExtractorFactory
 
create(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
create(int, int) - Method in interface com.google.android.exoplayer2.testutil.FakeTrackOutput.Factory
 
create(int, int, int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
create(Format, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.testutil.FakeMediaPeriod.TrackDataFactory
Returns the list of FakeSampleStream.FakeSampleStreamItems that will be written the sample queue during playback.
createAdapter(MediaCodecAdapter.Configuration) - Method in class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
 
createAdapter(MediaCodecAdapter.Configuration) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory
Creates a MediaCodecAdapter instance.
createAdapter(MediaCodecAdapter.Configuration) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.Factory
 
createAdaptiveTrackSelection(TrackGroup, int[], int, BandwidthMeter, ImmutableList<AdaptiveTrackSelection.AdaptationCheckpoint>) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates a single adaptive selection for the given group, bandwidth meter and tracks.
createAdaptiveTrackSelection(ExoTrackSelection.Definition) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelectionUtil.AdaptiveTrackSelectionFactory
Creates an adaptive track selection for the provided track selection definition.
createAdPlaybackState(int, long...) - Static method in class com.google.android.exoplayer2.testutil.FakeTimeline
Returns an ad playback state with the specified number of ads in each of the specified ad groups, each ten seconds long.
createAudioSampleFormat(String, String, String, int, int, int, int, int, List<byte[]>, DrmInitData, @com.google.android.exoplayer2.C.SelectionFlags int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, @com.google.android.exoplayer2.C.SelectionFlags int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createBuffer(float[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a FloatBuffer with the given data.
createBuffer(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Allocates a FloatBuffer.
createByteArray(int...) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Converts an array of integers in the range [0, 255] into an equivalent byte array.
createByteList(int...) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Converts an array of integers in the range [0, 255] into an equivalent byte list.
createChunkSource(ExoTrackSelection, long, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
createChunkSource(LoaderErrorThrower, SsManifest, int, ExoTrackSelection, TransferListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
 
createChunkSource(LoaderErrorThrower, SsManifest, int, ExoTrackSelection, TransferListener) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource.Factory
Creates a new SsChunkSource.
createCodec(MediaCodecAdapter.Configuration) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.Factory
Creates a new MediaCodec instance.
createCompositeSequenceableLoader(SequenceableLoader...) - Method in interface com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory
Creates a composite SequenceableLoader.
createCompositeSequenceableLoader(SequenceableLoader...) - Method in class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
 
createContainerFormat(String, String, String, String, String, int, @com.google.android.exoplayer2.C.SelectionFlags int, @com.google.android.exoplayer2.C.RoleFlags int, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createCryptoConfig(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
createCryptoConfig(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Creates a CryptoConfig that can be passed to a compatible decoder to allow decryption of protected content using the specified session.
createCryptoConfig(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
createCryptoConfig(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
createCurrentContentIntent(Player) - Method in class com.google.android.exoplayer2.ui.DefaultMediaDescriptionAdapter
 
createCurrentContentIntent(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Creates a content intent for the current media item.
createCustomActions(Context, int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Gets the actions handled by this receiver.
createDashChunkSource(LoaderErrorThrower, DashManifest, BaseUrlExclusionList, int, int[], ExoTrackSelection, @com.google.android.exoplayer2.C.TrackType int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
 
createDashChunkSource(LoaderErrorThrower, DashManifest, BaseUrlExclusionList, int, int[], ExoTrackSelection, @com.google.android.exoplayer2.C.TrackType int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
 
createDataSet(TrackGroup, long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Factory
Returns a new FakeAdaptiveDataSet for the given TrackGroup.
createDataSink() - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink.Factory
 
createDataSink() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink.Factory
 
createDataSink() - Method in interface com.google.android.exoplayer2.upstream.DataSink.Factory
Creates a DataSink instance.
createDataSource() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
Creates and returns an instance of the DataSource.
createDataSource() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
Creates a DataSource instance.
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
createDataSource() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource.Factory
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
Deprecated.
 
createDataSource() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource.Factory
 
createDataSource(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.HttpDataSource.BaseFactory
createDecoder(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
Creates a MetadataDecoder for the given Format.
createDecoder(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Creates a SubtitleDecoder for the given Format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Creates a decoder for the given format.
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
createDecoder(Format, CryptoConfig) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Creates a decoder for the given format.
createDecoderException(Throwable, MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
createDecoderException(Throwable, MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
createDefaultLoadControl() - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Deprecated.
createDownloader(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
 
createDownloader(DownloadRequest) - Method in interface com.google.android.exoplayer2.offline.DownloaderFactory
Creates a Downloader to perform the given DownloadRequest.
createDrmEventDispatcher(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a DrmSessionEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified window index and MediaSource.MediaPeriodId.
createDrmEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a DrmSessionEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified MediaSource.MediaPeriodId
createEglContext(EGLDisplay) - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns a new EGLContext for the specified EGLDisplay.
createEglDisplay() - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns an initialized default EGLDisplay.
createEventDispatcher(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified window index, MediaSource.MediaPeriodId and time offset.
createEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified MediaSource.MediaPeriodId.
createEventDispatcher(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns a MediaSourceEventListener.EventDispatcher which dispatches all events to the registered listeners with the specified MediaSource.MediaPeriodId and time offset.
createExternalTexture() - Static method in class com.google.android.exoplayer2.util.GlUtil
Creates a GL_TEXTURE_EXTERNAL_OES with default configuration of GL_LINEAR filtering and GL_CLAMP_TO_EDGE wrapping.
createExtractor(Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
createExtractor(Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
Creates an Extractor for extracting HLS media chunks.
createExtractors() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
createExtractors() - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Returns an array of new Extractor instances.
createExtractors(Uri, Map<String, List<String>>) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
createExtractors(Uri, Map<String, List<String>>) - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Returns an array of new Extractor instances.
createFallbackOptions(ExoTrackSelection) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Returns the LoadErrorHandlingPolicy.FallbackOptions with the tracks of the given ExoTrackSelection and with a single location option indicating that there are no alternative locations available.
createForAd(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_AD.
createForAdGroup(Exception, int) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_AD_GROUP.
createForAllAds(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_ALL_ADS.
createForAudioDecoding(MediaCodecInfo, MediaFormat, Format, MediaCrypto) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Creates a configuration for audio decoding.
createForAudioEncoding(MediaCodecInfo, MediaFormat, Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Creates a configuration for audio encoding.
createForIOException(IOException, DataSpec, int) - Static method in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
Returns a HttpDataSourceException whose error code is assigned according to the cause and type.
createForMalformedContainer(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
Creates a new instance for which ParserException.contentIsMalformed is true and ParserException.dataType is C.DATA_TYPE_MEDIA.
createForMalformedDataOfUnknownType(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
createForMalformedManifest(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
createForManifestWithUnsupportedFeature(String, Throwable) - Static method in exception com.google.android.exoplayer2.ParserException
Creates a new instance for which ParserException.contentIsMalformed is false and ParserException.dataType is C.DATA_TYPE_MANIFEST.
createForRemote(String) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_REMOTE.
createForRenderer(Throwable, String, int, Format, int, boolean, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_RENDERER.
createForSource(IOException, int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_SOURCE.
createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns a new ad load exception of AdsMediaSource.AdLoadException.TYPE_UNEXPECTED.
createForUnexpected(RuntimeException, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
Creates an instance of type ExoPlaybackException.TYPE_UNEXPECTED.
createForUnsupportedContainerFeature(String) - Static method in exception com.google.android.exoplayer2.ParserException
Creates a new instance for which ParserException.contentIsMalformed is false and ParserException.dataType is C.DATA_TYPE_MEDIA.
createForVideoDecoding(MediaCodecInfo, MediaFormat, Format, Surface, MediaCrypto) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Creates a configuration for video decoding.
createForVideoEncoding(MediaCodecInfo, MediaFormat, Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Creates a configuration for video encoding.
createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Creates a CaptionStyleCompat equivalent to a provided CaptioningManager.CaptionStyle.
createFromParcel(Parcel) - Static method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
createHandler(Looper, Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the specified Looper thread.
createHandler(Looper, Handler.Callback) - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
createHandler(Looper, Handler.Callback) - Method in interface com.google.android.exoplayer2.util.Clock
Creates a HandlerWrapper using a specified looper and a specified callback for handling messages.
createHandler(Looper, Handler.Callback) - Method in class com.google.android.exoplayer2.util.SystemClock
 
createHandlerForCurrentLooper() - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler on the current Looper thread.
createHandlerForCurrentLooper(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the current Looper thread.
createHandlerForCurrentOrMainLooper() - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler on the current Looper thread.
createHandlerForCurrentOrMainLooper(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
Creates a Handler with the specified Handler.Callback on the current Looper thread.
createInitialPayloadReaders() - Method in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
createInitialPayloadReaders() - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Factory
Returns the initial mapping from PIDs to payload readers.
createInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates a new input buffer.
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
createInputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createInputSurface - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Whether to request a Surface and use it as to the input to an encoder.
createMediaFormatFromFormat(Format) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Returns a MediaFormat representing the given ExoPlayer Format.
createMediaPeriod(MediaSource.MediaPeriodId, TrackGroupArray, Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaSource
 
createMediaPeriod(MediaSource.MediaPeriodId, TrackGroupArray, Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a MediaPeriod for this media source.
createMediaPeriod(T, int) - Method in interface com.google.android.exoplayer2.testutil.MediaPeriodAsserts.FilterableManifestMediaPeriodFactory
Returns media period based on the provided filterable manifest.
createMediaPlaylistVariantUrl(Uri) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
Creates a variant for a given media playlist url.
createMediaSource() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource.Factory
Creates a new SilenceMediaSource.
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
createMediaSource(Uri) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
 
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Returns a new HlsMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Creates a new MediaSource with the specified MediaItem.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Returns a new ProgressiveMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Returns a new RtspMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters.
createMediaSource(MediaItem) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
 
createMediaSource(MediaItem.SubtitleConfiguration, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Returns a new SingleSampleMediaSource using the current parameters.
createMediaSource(DownloadRequest, DataSource.Factory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
createMediaSource(DownloadRequest, DataSource.Factory, DrmSessionManager) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Utility method to create a MediaSource that only exposes the tracks defined in downloadRequest.
createMediaSource(DashManifest) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(DashManifest, MediaItem) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Returns a new DashMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(SsManifest) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters and the specified sideloaded manifest.
createMediaSource(SsManifest, MediaItem) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Returns a new SsMediaSource using the current parameters and the specified sideloaded manifest.
createMessage(PlayerMessage.Target) - Method in interface com.google.android.exoplayer2.ExoPlayer
Creates a message that can be sent to a PlayerMessage.Target.
createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
createMetadataInputBuffer(byte[]) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Create a new MetadataInputBuffer and copy data into the backing ByteBuffer.
createNotification(Player, NotificationCompat.Builder, boolean, Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Creates the notification given the current player state.
createNotificationChannel(Context, String, int, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
Creates a notification channel that notifications can be posted to.
createOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates a new output buffer.
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
createOutputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createPayloadReader(int, TsPayloadReader.EsInfo) - Method in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
createPayloadReader(int, TsPayloadReader.EsInfo) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Factory
Returns a TsPayloadReader for a given stream type and elementary stream information.
createPayloadReader(RtpPayloadFormat) - Method in class com.google.android.exoplayer2.source.rtsp.reader.DefaultRtpPayloadReaderFactory
 
createPayloadReader(RtpPayloadFormat) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader.Factory
Returns a RtpPayloadReader for a given RtpPayloadFormat.
createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Calls MediaSource.createPeriod(MediaPeriodId, Allocator, long) on the wrapped source then prepares it if MaskingMediaPeriod.prepare(Callback, long) has been called.
createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaSource.createPeriod(MediaSource.MediaPeriodId, Allocator, long) with a zero start position on the playback thread, asserting that a non-null MediaPeriod is returned.
createPeriod(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaSource.createPeriod(MediaSource.MediaPeriodId, Allocator, long) on the playback thread, asserting that a non-null MediaPeriod is returned.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns a new MediaPeriod identified by periodId.
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
createPlaceholder(Object) - Static method in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition that corresponds to a placeholder timeline using the given tag.
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a stand-alone playlist parser.
createPlaylistParser(HlsMasterPlaylist, HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist, HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist, HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a playlist parser for playlists that were referenced by the given HlsMasterPlaylist.
createProgressiveMediaExtractor() - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor.Factory
Returns a new ProgressiveMediaExtractor instance.
createProgressiveMediaExtractor(@com.google.android.exoplayer2.C.TrackType int, Format, boolean, List<Format>, TrackOutput) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor.Factory
Returns a new ChunkExtractor instance.
createRendererException(Throwable, Format, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Method in class com.google.android.exoplayer2.BaseRenderer
Creates an ExoPlaybackException of type ExoPlaybackException.TYPE_RENDERER for this renderer.
createRendererException(Throwable, Format, boolean, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Method in class com.google.android.exoplayer2.BaseRenderer
Creates an ExoPlaybackException of type ExoPlaybackException.TYPE_RENDERER for this renderer.
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
 
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput) - Method in interface com.google.android.exoplayer2.RenderersFactory
Builds the Renderer instances for an ExoPlayer.
createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput) - Method in class com.google.android.exoplayer2.testutil.CapturingRenderersFactory
 
createRetryAction(boolean, long) - Static method in class com.google.android.exoplayer2.upstream.Loader
Creates a Loader.LoadErrorAction for retrying with the given parameters.
createRobolectricConditionVariable() - Static method in class com.google.android.exoplayer2.robolectric.RobolectricUtil
Creates a ConditionVariable whose ConditionVariable.block(long) method times out according to wallclock time when used in Robolectric tests.
createSampleFormat(String, String) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createSampleStream(Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, Format, List<FakeSampleStream.FakeSampleStreamItem>) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Creates a new FakeSampleStream.
createSeekParamsForTargetTimeUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
createSessionCreationData(DrmInitData, DrmInitData) - Static method in class com.google.android.exoplayer2.drm.DrmInitData
Merges DrmInitData obtained from a media manifest and a media stream.
createSingleVariantMasterPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Creates a playlist with a single variant.
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
createTempDirectory(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates an empty directory in the directory returned by Context.getCacheDir().
createTempFile(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Creates a new empty file in the directory returned by Context.getCacheDir().
createTestFile(File, long) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Writes test data with the specified length to the file and returns it.
createTestFile(File, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Writes one byte long test data to the file and returns it.
createTestFile(File, String, long) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Writes test data with the specified length to the file and returns it.
createTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.Factory
Creates a new tracker instance.
createTracks(ExtractorOutput, int) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
createTracks(ExtractorOutput, int) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
Initializes the reader by providing its output and track id.
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Initializes the reader by providing outputs and ids for the tracks.
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
 
createTrackSelections(ExoTrackSelection.Definition[], BandwidthMeter, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
 
createTrackSelections(ExoTrackSelection.Definition[], BandwidthMeter, MediaSource.MediaPeriodId, Timeline) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection.Factory
Creates track selections for the provided Definitions.
createTrackSelections(ExoTrackSelection.Definition[], BandwidthMeter, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
createTrackSelectionsForDefinitions(ExoTrackSelection.Definition[], TrackSelectionUtil.AdaptiveTrackSelectionFactory) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Creates track selections for an array of track selection definitions, with at most one multi-track adaptive selection.
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Creates an exception to propagate for an unexpected decode error.
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
Deprecated.
createWithDrm(Allocator, Looper, DrmSessionManager, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.source.SampleQueue
Creates a sample queue with DRM resource management.
createWithoutDrm(Allocator) - Static method in class com.google.android.exoplayer2.source.SampleQueue
Creates a sample queue without DRM resource management.
createWithWindowId(Object) - Static method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Convenience method to create a FakeMediaSource with the given window id.
CREATOR - Static variable in class com.google.android.exoplayer2.audio.AudioAttributes
Object that can restore AudioAttributes from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.DeviceInfo
Object that can restore DeviceInfo from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData
 
CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
CREATOR - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
Object that can restore ExoPlaybackException from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Format
Object that can restore Format from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.HeartRating
Object that can restore a HeartRating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
Object that can restore MediaItem.ClippingConfiguration from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaItem
Object that can restore MediaItem from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Object that can restore MediaItem.LiveConfiguration from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.MediaMetadata
Object that can restore MediaMetadata from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.Metadata
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
CREATOR - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
 
CREATOR - Static variable in class com.google.android.exoplayer2.offline.StreamKey
 
CREATOR - Static variable in class com.google.android.exoplayer2.PercentageRating
Object that can restore a PercentageRating from a Bundle.
CREATOR - Static variable in exception com.google.android.exoplayer2.PlaybackException
Object that can create a PlaybackException from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.PlaybackParameters
Object that can restore PlaybackParameters from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Player.Commands
Object that can restore Player.Commands from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Player.PositionInfo
Object that can restore Player.PositionInfo from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Rating
Object that can restore a Rating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Object that can restore AdPlaybackState.AdGroup from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Object that can restore AdPlaybackState from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroup
Object that can restore TrackGroup from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
Object that can restores a TrackGroupArray from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.StarRating
Object that can restore a StarRating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.testutil.FakeMetadataEntry
 
CREATOR - Static variable in class com.google.android.exoplayer2.text.Cue
 
CREATOR - Static variable in class com.google.android.exoplayer2.ThumbRating
Object that can restore a ThumbRating from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Timeline
Object that can restore a Timeline from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Timeline.Period
Object that can restore Timeline.Period from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.Timeline.Window
Object that can restore Timeline.Period from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Object that can restore Parameters from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Object that can restore SelectionOverride from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
Object that can restore TrackSelectionOverrides from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
Object that can restore TrackSelectionOverride from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Object that can restore TrackSelectionParameters from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.TracksInfo
Object that can restore a TracksInfo from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Object that can restores a TracksInfo from a Bundle.
CREATOR - Static variable in class com.google.android.exoplayer2.video.ColorInfo
 
CREATOR - Static variable in class com.google.android.exoplayer2.video.VideoSize
 
cronetConnectionStatus - Variable in exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
Returns the status of the connection establishment at the moment when the error occurred, as defined by UrlRequest.Status.
CronetDataSource - Class in com.google.android.exoplayer2.ext.cronet
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
CronetDataSource(CronetEngine, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, int, int, int, boolean, boolean, String, HttpDataSource.RequestProperties, Predicate<String>, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
CronetDataSource(CronetEngine, Executor, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
CronetDataSource.Factory - Class in com.google.android.exoplayer2.ext.cronet
CronetDataSource.OpenException - Exception in com.google.android.exoplayer2.ext.cronet
Thrown when an error is encountered when trying to open a CronetDataSource.
CronetDataSourceFactory - Class in com.google.android.exoplayer2.ext.cronet
Deprecated.
CronetDataSourceFactory(CronetEngineWrapper, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetDataSourceFactory(CronetEngineWrapper, Executor, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
Deprecated.
Creates an instance.
CronetEngineWrapper - Class in com.google.android.exoplayer2.ext.cronet
Deprecated.
Use CronetEngine directly. See the Android developer guide to learn how to instantiate a CronetEngine for use by your application. You can also use CronetUtil.buildCronetEngine(android.content.Context) to build a CronetEngine suitable for use with CronetDataSource.
CronetEngineWrapper(Context) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Deprecated.
Creates a wrapper for a CronetEngine built using the most suitable CronetProvider.
CronetEngineWrapper(Context, String, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Deprecated.
Creates a wrapper for a CronetEngine built using the most suitable CronetProvider.
CronetEngineWrapper(CronetEngine) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
Deprecated.
Creates a wrapper for an existing CronetEngine.
CronetUtil - Class in com.google.android.exoplayer2.ext.cronet
Cronet utility methods.
crypto - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
For DRM protected playbacks, a MediaCrypto to use for decryption.
CRYPTO_MODE_AES_CBC - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_MODE_AES_CTR - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_MODE_UNENCRYPTED - Static variable in class com.google.android.exoplayer2.C
 
CRYPTO_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom CRYPTO_TYPE_* constants greater than or equal to this value.
CRYPTO_TYPE_FRAMEWORK - Static variable in class com.google.android.exoplayer2.C
Framework crypto in which a MediaCodec is configured with a MediaCrypto.
CRYPTO_TYPE_NONE - Static variable in class com.google.android.exoplayer2.C
No crypto.
CRYPTO_TYPE_UNSUPPORTED - Static variable in class com.google.android.exoplayer2.C
An unsupported crypto type.
CryptoConfig - Interface in com.google.android.exoplayer2.decoder
Configuration for a decoder to allow it to decode encrypted media data.
cryptoData - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
A TrackOutput.CryptoData instance containing the encryption information from this TrackEncryptionBox.
CryptoData(int, byte[], int, int) - Constructor for class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
CryptoException - Exception in com.google.android.exoplayer2.decoder
Thrown when a non-platform component fails to decrypt data.
CryptoException(int, String) - Constructor for exception com.google.android.exoplayer2.decoder.CryptoException
 
cryptoInfo - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
CryptoInfo for encrypted data.
CryptoInfo - Class in com.google.android.exoplayer2.decoder
Metadata describing the structure of an encrypted input sample.
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.
cryptoType - Variable in class com.google.android.exoplayer2.Format
The type of crypto that must be used to decode samples associated with this format, or C.CRYPTO_TYPE_NONE if the content is not encrypted.
csrc - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP CSRC fields (Optional, up to 15 items).
CSRC_SIZE - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
csrcCount - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP CSRC count field (Word 0, bits 4-7).
cue - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueInfo
 
Cue - Class in com.google.android.exoplayer2.text
Contains information about a specific cue, including textual content and formatting data.
Cue(CharSequence) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
Cue(CharSequence, Layout.Alignment, float, @com.google.android.exoplayer2.text.Cue.LineType int, @com.google.android.exoplayer2.text.Cue.AnchorType int, float, @com.google.android.exoplayer2.text.Cue.AnchorType int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
Cue(CharSequence, Layout.Alignment, float, @com.google.android.exoplayer2.text.Cue.LineType int, @com.google.android.exoplayer2.text.Cue.AnchorType int, float, @com.google.android.exoplayer2.text.Cue.AnchorType int, float, @com.google.android.exoplayer2.text.Cue.TextSizeType int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
Cue(CharSequence, Layout.Alignment, float, @com.google.android.exoplayer2.text.Cue.LineType int, @com.google.android.exoplayer2.text.Cue.AnchorType int, float, @com.google.android.exoplayer2.text.Cue.AnchorType int, float, boolean, int) - Constructor for class com.google.android.exoplayer2.text.Cue
Deprecated.
CUE_HEADER_PATTERN - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
 
Cue.AnchorType - Annotation Type in com.google.android.exoplayer2.text
The type of anchor, which may be unset.
Cue.Builder - Class in com.google.android.exoplayer2.text
A builder for Cue objects.
Cue.LineType - Annotation Type in com.google.android.exoplayer2.text
The type of line, which may be unset.
Cue.TextSizeType - Annotation Type in com.google.android.exoplayer2.text
The type of default text size for this cue, which may be unset.
Cue.VerticalType - Annotation Type in com.google.android.exoplayer2.text
The type of vertical layout for this cue, which may be unset (i.e.
CueDecoder - Class in com.google.android.exoplayer2.text
Decodes data encoded by CueEncoder.
CueDecoder() - Constructor for class com.google.android.exoplayer2.text.CueDecoder
 
CueEncoder - Class in com.google.android.exoplayer2.text
Encodes data that can be decoded by CueDecoder.
CueEncoder() - Constructor for class com.google.android.exoplayer2.text.CueEncoder
 
CURRENT_POSITION_NOT_SET - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
Returned by AudioSink.getCurrentPositionUs(boolean) when the position is not set.
currentCapacity - Variable in exception com.google.android.exoplayer2.decoder.DecoderInputBuffer.InsufficientCapacityException
The current capacity of the buffer.
currentMediaPeriodId - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Media period identifier for the currently playing media period at the time of the event, or null if no current media period identifier is available.
currentPlaybackPositionMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Position in the current timeline window or the currently playing ad at the time of the event, in milliseconds.
currentTimeline - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
The current Timeline at the time of the event (equivalent to Player.getCurrentTimeline()).
currentTimeMillis() - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
currentTimeMillis() - Method in interface com.google.android.exoplayer2.util.Clock
Returns the current time in milliseconds since the Unix Epoch.
currentTimeMillis() - Method in class com.google.android.exoplayer2.util.SystemClock
 
currentWindowIndex - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
The current window index in AnalyticsListener.EventTime.currentTimeline at the time of the event, or the prospective window index if the timeline is not yet known and empty (equivalent to Player.getCurrentMediaItemIndex()).
CUSTOM_ERROR_CODE_BASE - Static variable in exception com.google.android.exoplayer2.PlaybackException
Player implementations that want to surface custom errors can use error codes greater than this value, so as to avoid collision with other error codes defined in this class.
customActionReceiver - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
customCacheKey - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
Optional custom cache key (only used for progressive streams).
customCacheKey - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
Custom key for cache indexing, or null.
customData - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Application specific data.

D

d(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
d(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
DashChunkSource - Interface in com.google.android.exoplayer2.source.dash
A ChunkSource for DASH streams.
DashChunkSource.Factory - Interface in com.google.android.exoplayer2.source.dash
Factory for DashChunkSources.
DashDownloader - Class in com.google.android.exoplayer2.source.dash.offline
A downloader for DASH streams.
DashDownloader(MediaItem, CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
Creates a new instance.
DashDownloader(MediaItem, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
Creates a new instance.
DashDownloader(MediaItem, ParsingLoadable.Parser<DashManifest>, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
Creates a new instance.
DashManifest - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
DashManifest(long, long, long, boolean, long, long, long, long, ProgramInformation, UtcTimingElement, ServiceDescriptionElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
A parser of media presentation description files.
DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
DashManifestParser.RepresentationInfo - Class in com.google.android.exoplayer2.source.dash.manifest
A parsed Representation element.
DashManifestStaleException - Exception in com.google.android.exoplayer2.source.dash
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
DashManifestStaleException() - Constructor for exception com.google.android.exoplayer2.source.dash.DashManifestStaleException
 
DashMediaSource - Class in com.google.android.exoplayer2.source.dash
A DASH MediaSource.
DashMediaSource.Factory - Class in com.google.android.exoplayer2.source.dash
Factory for DashMediaSources.
DashSegmentIndex - Interface in com.google.android.exoplayer2.source.dash
Indexes the segments within a media stream.
DashUtil - Class in com.google.android.exoplayer2.source.dash
Utility methods for DASH streams.
DashWrappingSegmentIndex - Class in com.google.android.exoplayer2.source.dash
An implementation of DashSegmentIndex that wraps a ChunkIndex parsed from a media stream.
DashWrappingSegmentIndex(ChunkIndex, long) - Constructor for class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
data - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The buffer's data, or null if no data has been set.
data - Variable in class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
 
data - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
RGB buffer for RGB mode.
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.testutil.FakeMetadataEntry
 
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_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.StandaloneDatabaseProvider
The file name used for the standalone database.
DatabaseIOException - Exception in com.google.android.exoplayer2.database
An IOException whose cause is an SQLException.
DatabaseIOException(SQLException) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
 
DatabaseIOException(SQLException, String) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
 
DatabaseProvider - Interface in com.google.android.exoplayer2.database
Provides SQLiteDatabase instances to media library components, which may read and write tables prefixed with DatabaseProvider.TABLE_PREFIX.
DataChunk - Class in com.google.android.exoplayer2.source.chunk
A base class for Chunk implementations where the data should be loaded into a byte[] before being consumed.
DataChunk(DataSource, DataSpec, int, Format, int, Object, byte[]) - Constructor for class com.google.android.exoplayer2.source.chunk.DataChunk
 
DataReader - Interface in com.google.android.exoplayer2.upstream
Reads bytes from a data stream.
DataSchemeDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading data URLs, as defined by RFC 2397.
DataSchemeDataSource() - Constructor for class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
dataSetFactory - Variable in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
DataSink - Interface in com.google.android.exoplayer2.upstream
A component to which streams of data can be written.
DataSink.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for DataSink instances.
dataSource - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
 
DataSource - Interface in com.google.android.exoplayer2.upstream
Reads data from URI-identified resources.
DataSource.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for DataSource instances.
DataSourceContractTest - Class in com.google.android.exoplayer2.testutil
A collection of contract tests for DataSource implementations.
DataSourceContractTest() - Constructor for class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
DataSourceContractTest.FakeTransferListener - Class in com.google.android.exoplayer2.testutil
A TransferListener that only keeps track of the transferred bytes.
DataSourceContractTest.TestResource - Class in com.google.android.exoplayer2.testutil
Information about a resource that can be used to test the DataSource instance.
DataSourceContractTest.TestResource.Builder - Class in com.google.android.exoplayer2.testutil
DataSourceException - Exception in com.google.android.exoplayer2.upstream
Used to specify reason of a DataSource error.
DataSourceException(@com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceException(String, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceException(String, Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
DataSourceException(Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
Constructs a DataSourceException.
dataSourceFactory - Variable in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
DataSourceInputStream - Class in com.google.android.exoplayer2.upstream
Allows data corresponding to a given DataSpec to be read from a DataSource and consumed through an InputStream.
DataSourceInputStream(DataSource, DataSpec) - Constructor for class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
DataSourceUtil - Class in com.google.android.exoplayer2.upstream
Utility methods for DataSource.
dataSpec - Variable in exception com.google.android.exoplayer2.drm.MediaDrmCallbackException
The DataSpec associated with the request.
dataSpec - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
The DataSpec of the segment.
dataSpec - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The DataSpec that defines the data to be loaded.
dataSpec - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
Defines the requested data.
dataSpec - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
The DataSpec associated with the current connection.
dataSpec - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
The DataSpec that defines the data to be loaded.
DataSpec - Class in com.google.android.exoplayer2.upstream
Defines a region of data in a resource.
DataSpec(Uri) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Constructs an instance.
DataSpec(Uri, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
Use DataSpec.Builder. Note that the httpMethod must be set explicitly for the Builder.
DataSpec(Uri, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, int, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, int, byte[], long, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Constructs an instance.
DataSpec(Uri, long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long, String) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec(Uri, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
Deprecated.
DataSpec.Builder - Class in com.google.android.exoplayer2.upstream
Builds DataSpec instances.
DataSpec.Flags - Annotation Type in com.google.android.exoplayer2.upstream
The flags that apply to any request for data.
DataSpec.HttpMethod - Annotation Type in com.google.android.exoplayer2.upstream
HTTP methods supported by ExoPlayer HttpDataSources.
dataSpecWithEndPositionOutOfRange_readsToEnd() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithLength_readExpectedRange() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPosition_readUntilEnd() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionAndLength_readExpectedRange() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionAtEnd_readsZeroBytes() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionAtEndAndLength_readsZeroBytes() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataSpecWithPositionOutOfRange_throwsPositionOutOfRangeException() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
dataType - Variable in exception com.google.android.exoplayer2.ParserException
The data type of the parsed bitstream.
dataType - Variable in class com.google.android.exoplayer2.source.MediaLoadData
DebugTextViewHelper - Class in com.google.android.exoplayer2.util
A helper class for periodically updating a TextView with debug information obtained from an ExoPlayer.
DebugTextViewHelper(ExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.util.DebugTextViewHelper
 
decode(byte[]) - Method in class com.google.android.exoplayer2.text.CueDecoder
Decodes byte array into list of Cue objects.
decode(byte[], int) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
Decodes ID3 tags.
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.dvb.DvbDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.pgs.PgsDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
Decodes data into a Subtitle.
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ssa.SsaDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.subrip.SubripDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ttml.TtmlDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
 
decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
 
decode(DecoderInputBuffer, SimpleDecoderOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
decode(DecoderInputBuffer, SimpleDecoderOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
decode(DecoderInputBuffer, VideoDecoderOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
decode(DecoderInputBuffer, VideoDecoderOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
decode(MetadataInputBuffer) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoder
Decodes a Metadata element from the provided input buffer.
decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTableDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.icy.IcyDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
 
decode(MetadataInputBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
Called by SimpleMetadataDecoder.decode(MetadataInputBuffer) after input buffer validation has been performed, except in the case that Buffer.isDecodeOnly() is true.
decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
decode(SubtitleInputBuffer, SubtitleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
decode(ParsableByteArray) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
decode(I, O, boolean) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Decodes the inputBuffer and stores any decoded output in outputBuffer.
Decoder<I,​O,​E extends DecoderException> - Interface in com.google.android.exoplayer2.decoder
A media decoder.
DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,​? extends SimpleDecoderOutputBuffer,​? 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 whose DecoderInputBuffer.bufferReplacementMode is DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED and who DecoderInputBuffer.data capacity is smaller than required.
decoderName - Variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The name of the decoder.
DecoderOutputBuffer - Class in com.google.android.exoplayer2.decoder
Output buffer decoded by a Decoder.
DecoderOutputBuffer() - Constructor for class com.google.android.exoplayer2.decoder.DecoderOutputBuffer
 
DecoderOutputBuffer.Owner<S extends DecoderOutputBuffer> - Interface in com.google.android.exoplayer2.decoder
Buffer owner.
decoderPrivate - Variable in class com.google.android.exoplayer2.decoder.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.ExoPlayer.DeviceComponent
Deprecated.
decreaseDeviceVolume() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
decreaseDeviceVolume() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
decreaseDeviceVolume() - Method in interface com.google.android.exoplayer2.Player
Decreases the volume of the device.
decreaseDeviceVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
decreaseDeviceVolume() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
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 interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Default SubtitleDecoderFactory implementation.
DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Deprecated.
This instance is not configured using Context constraints. Use DefaultTrackSelector.Parameters.getDefaults(Context) instead.
DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Deprecated.
This instance is not configured using Context constraints. Use TrackSelectionParameters.getDefaults(Context) instead.
DEFAULT - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Default caption style.
DEFAULT - Static variable in interface com.google.android.exoplayer2.upstream.cache.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 is Cue.DIMEN_UNSET, as a fraction of the viewport height.
DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default duration of media that must be buffered for playback to resume after a rebuffer, in milliseconds.
DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
The default duration of media that must be buffered for playback to start or resume following a user action such as a seek, in milliseconds.
DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.google.android.exoplayer2.C
A default size in bytes for an individual allocation that forms part of a larger buffer.
DEFAULT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
Default buffer size 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 interface com.google.android.exoplayer2.ExoPlayer
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 the MediaItem or the manifest.
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_IMAGE_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for an image buffer.
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_5G_SA - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Default initial 5G-SA 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
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.ProgressiveMediaSource
The default number of bytes that should be loaded between each each invocation of SequenceableLoader.Callback.onContinueLoadingRequested(SequenceableLoader).
DEFAULT_LOCATION_EXCLUSION_MS - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
The default duration for which a location is excluded in milliseconds.
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_HEIGHT_TO_DISCARD - 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_MAX_SEEK_TO_PREVIOUS_POSITION_MS - Static variable in class com.google.android.exoplayer2.C
A default maximum position for which a seek to previous will seek to the previous window, in milliseconds.
DEFAULT_MAX_WIDTH_TO_DISCARD - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
DEFAULT_MEDIA_ID - Static variable in class com.google.android.exoplayer2.MediaItem
The default media ID that is used if the media ID is not explicitly set by MediaItem.Builder.setMediaId(String).
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_PRIORITY - Static variable in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
The default priority.
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 new FrameworkMediaDrm 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() and ExoPlayer.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_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_BACK_INCREMENT_MS - Static variable in class com.google.android.exoplayer2.C
A default seek back increment, in milliseconds.
DEFAULT_SEEK_FORWARD_INCREMENT_MS - Static variable in class com.google.android.exoplayer2.C
A default seek forward increment, in milliseconds.
DEFAULT_SEEK_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
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_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_TEST_ASSET_DIRECTORY - Static variable in class com.google.android.exoplayer2.testutil.DumpFileAsserts
The default test asset directory used if no other directory is specified.
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_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
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
DEFAULT_TRACK_EXCLUSION_MS - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
The default duration for which a track is excluded in milliseconds.
DEFAULT_TRACK_SELECTOR_PARAMETERS - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
This instance does not have Context constraints. Use DownloadHelper.getDefaultTrackSelectorParameters(Context) instead.
DEFAULT_TRACK_SELECTOR_PARAMETERS_WITHOUT_CONTEXT - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
Default track selection parameters for downloading, but without any Context constraints.
DEFAULT_TRACK_SELECTOR_PARAMETERS_WITHOUT_VIEWPORT - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
Deprecated.
This instance does not have Context constraints. Use DownloadHelper.getDefaultTrackSelectorParameters(Context) instead.
DEFAULT_UNPLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
Default color for the unplayed portion of the time bar.
DEFAULT_VIDEO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
A default size in bytes for a video buffer.
DEFAULT_WEIGHT - Static variable in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
The default weight.
DEFAULT_WINDOW_DURATION_US - Static variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Default window duration in microseconds.
DEFAULT_WINDOW_OFFSET_IN_FIRST_PERIOD_US - Static variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Default offset of a window in its first period in microseconds.
DEFAULT_WINDOW_UID - Static variable in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
The window UID used by media sources that are created by the factory.
DEFAULT_WITHOUT_CONTEXT - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
An instance with default values, except those obtained from the Context.
DEFAULT_WITHOUT_CONTEXT - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
An instance with default values, except those obtained from the Context.
DefaultAllocator - Class in com.google.android.exoplayer2.upstream
Default implementation of Allocator.
DefaultAllocator(boolean, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
Constructs an instance without creating any Allocations up front.
DefaultAllocator(boolean, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
Constructs an instance with some Allocations created up front.
DefaultAllowedCommandProvider(Context) - Constructor for class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.DefaultAllowedCommandProvider
 
DefaultAudioProcessorChain(AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and speed adjustment processors.
DefaultAudioProcessorChain(AudioProcessor[], SilenceSkippingAudioProcessor, SonicAudioProcessor) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and speed adjustment processors.
DefaultAudioSink - Class in com.google.android.exoplayer2.audio
Plays audio data.
DefaultAudioSink(AudioCapabilities, AudioProcessor[]) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
Creates a new default audio sink.
DefaultAudioSink(AudioCapabilities, AudioProcessor[], boolean) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
Creates a new default audio sink, optionally using float output for high resolution PCM.
DefaultAudioSink(AudioCapabilities, DefaultAudioSink.AudioProcessorChain, boolean, boolean, int) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
Creates a new default audio sink, optionally using float output for high resolution PCM and with the specified audioProcessorChain.
DefaultAudioSink.AudioProcessorChain - Interface in com.google.android.exoplayer2.audio
Provides a chain of audio processors, which are used for any user-defined processing and applying playback parameters (if supported).
DefaultAudioSink.DefaultAudioProcessorChain - Class in com.google.android.exoplayer2.audio
The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
DefaultAudioSink.InvalidAudioTrackTimestampException - Exception in com.google.android.exoplayer2.audio
Thrown when the audio track has provided a spurious timestamp, if DefaultAudioSink.failOnSpuriousAudioTimestamp is set.
DefaultAudioSink.OffloadMode - Annotation Type in com.google.android.exoplayer2.audio
Audio offload mode configuration.
DefaultBandwidthMeter - Class in com.google.android.exoplayer2.upstream
Estimates bandwidth by listening to data transfers.
DefaultBandwidthMeter() - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Deprecated.
DefaultBandwidthMeter.Builder - Class in com.google.android.exoplayer2.upstream
Builder for a bandwidth meter.
DefaultCastOptionsProvider - Class in com.google.android.exoplayer2.ext.cast
A convenience OptionsProvider to target the default cast receiver app.
DefaultCastOptionsProvider() - Constructor for class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
 
DefaultCompositeSequenceableLoaderFactory - Class in com.google.android.exoplayer2.source
Default implementation of CompositeSequenceableLoaderFactory.
DefaultCompositeSequenceableLoaderFactory() - Constructor for class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
 
DefaultContentMetadata - Class in com.google.android.exoplayer2.upstream.cache
Default implementation of ContentMetadata.
DefaultContentMetadata() - Constructor for class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
DefaultContentMetadata(Map<String, byte[]>) - Constructor for class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
DefaultDashChunkSource - Class in com.google.android.exoplayer2.source.dash
A default DashChunkSource implementation.
DefaultDashChunkSource(ChunkExtractor.Factory, LoaderErrorThrower, DashManifest, BaseUrlExclusionList, int, int[], ExoTrackSelection, @com.google.android.exoplayer2.C.TrackType int, DataSource, long, int, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
DefaultDashChunkSource.Factory - Class in com.google.android.exoplayer2.source.dash
 
DefaultDashChunkSource.RepresentationHolder - Class in com.google.android.exoplayer2.source.dash
Holds information about a snapshot of a single Representation.
DefaultDashChunkSource.RepresentationSegmentIterator - Class in com.google.android.exoplayer2.source.dash
DefaultDatabaseProvider - Class in com.google.android.exoplayer2.database
A DatabaseProvider that provides instances obtained from a SQLiteOpenHelper.
DefaultDatabaseProvider(SQLiteOpenHelper) - Constructor for class com.google.android.exoplayer2.database.DefaultDatabaseProvider
 
DefaultDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource that supports multiple URI schemes.
DefaultDataSource(Context, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance, optionally configured to follow cross-protocol redirects.
DefaultDataSource(Context, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance that delegates to a provided DataSource for URI schemes other than file, asset and content.
DefaultDataSource(Context, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance, optionally configured to follow cross-protocol redirects.
DefaultDataSource(Context, String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
Constructs a new instance, optionally configured to follow cross-protocol redirects.
DefaultDataSource.Factory - Class in com.google.android.exoplayer2.upstream
DefaultDataSourceFactory - Class in com.google.android.exoplayer2.upstream
Deprecated.
DefaultDataSourceFactory(Context) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
Creates an instance.
DefaultDataSourceFactory(Context, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
Creates an instance.
DefaultDataSourceFactory(Context, TransferListener, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
Creates an instance.
DefaultDataSourceFactory(Context, String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
Creates an instance.
DefaultDataSourceFactory(Context, String, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
Deprecated.
Creates an instance.
DefaultDownloaderFactory - Class in com.google.android.exoplayer2.offline
Default DownloaderFactory, supporting creation of progressive, DASH, HLS and SmoothStreaming downloaders.
DefaultDownloaderFactory(CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
DefaultDownloaderFactory(CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
Creates an instance.
DefaultDownloadIndex - Class in com.google.android.exoplayer2.offline
A DownloadIndex that uses SQLite to persist Downloads.
DefaultDownloadIndex(DatabaseProvider) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloadIndex
Creates an instance that stores the Downloads in an SQLite database provided by a DatabaseProvider.
DefaultDownloadIndex(DatabaseProvider, String) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloadIndex
Creates an instance that stores the Downloads in an SQLite database provided by a DatabaseProvider.
DefaultDrmSessionManager - Class in com.google.android.exoplayer2.drm
A DrmSessionManager that supports playbacks using ExoMediaDrm.
DefaultDrmSessionManager(UUID, ExoMediaDrm, MediaDrmCallback, HashMap<String, String>) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Deprecated.
DefaultDrmSessionManager(UUID, ExoMediaDrm, MediaDrmCallback, HashMap<String, String>, boolean) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Deprecated.
DefaultDrmSessionManager(UUID, ExoMediaDrm, MediaDrmCallback, HashMap<String, String>, boolean, int) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Deprecated.
DefaultDrmSessionManager.Builder - Class in com.google.android.exoplayer2.drm
Builder for DefaultDrmSessionManager instances.
DefaultDrmSessionManager.MissingSchemeDataException - Exception in com.google.android.exoplayer2.drm
DefaultDrmSessionManager.Mode - Annotation Type in com.google.android.exoplayer2.drm
Determines the action to be done after a session acquired.
DefaultDrmSessionManagerProvider - Class in com.google.android.exoplayer2.drm
Default implementation of DrmSessionManagerProvider.
DefaultDrmSessionManagerProvider() - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider
 
DefaultExtractorInput - Class in com.google.android.exoplayer2.extractor
An ExtractorInput that wraps a DataReader.
DefaultExtractorInput(DataReader, long, long) - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
DefaultExtractorsFactory - Class in com.google.android.exoplayer2.extractor
An ExtractorsFactory that provides an array of extractors for the following formats: MP4, including M4A (Mp4Extractor) fMP4 (FragmentedMp4Extractor) Matroska and WebM (MatroskaExtractor) Ogg Vorbis/FLAC (OggExtractor MP3 (Mp3Extractor) AAC (AdtsExtractor) MPEG TS (TsExtractor) MPEG PS (PsExtractor) FLV (FlvExtractor) WAV (WavExtractor) AC3 (Ac3Extractor) AC4 (Ac4Extractor) AMR (AmrExtractor) FLAC If available, the FLAC extension's com.google.android.exoplayer2.ext.flac.FlacExtractor is used.
DefaultExtractorsFactory() - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
 
DefaultHlsDataSourceFactory - Class in com.google.android.exoplayer2.source.hls
Default implementation of HlsDataSourceFactory.
DefaultHlsDataSourceFactory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
DefaultHlsExtractorFactory - Class in com.google.android.exoplayer2.source.hls
Default HlsExtractorFactory implementation.
DefaultHlsExtractorFactory() - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
DefaultHlsExtractorFactory(int, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
Creates a factory for HLS segment extractors.
DefaultHlsPlaylistParserFactory - Class in com.google.android.exoplayer2.source.hls.playlist
Default implementation for HlsPlaylistParserFactory.
DefaultHlsPlaylistParserFactory() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
DefaultHlsPlaylistTracker - Class in com.google.android.exoplayer2.source.hls.playlist
Default implementation for HlsPlaylistTracker.
DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Creates an instance.
DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory, double) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Creates an instance.
DefaultHttpDataSource - Class in com.google.android.exoplayer2.upstream
An HttpDataSource that uses Android's HttpURLConnection.
DefaultHttpDataSource() - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
DefaultHttpDataSource(String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
DefaultHttpDataSource(String, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
DefaultHttpDataSource(String, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Deprecated.
DefaultHttpDataSource.Factory - Class in com.google.android.exoplayer2.upstream
defaultInitializationVector - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
If TrackEncryptionBox.perSampleIvSize is 0, holds the default initialization vector as defined in the track encryption box or sample group description box.
DefaultLivePlaybackSpeedControl - Class in com.google.android.exoplayer2
A LivePlaybackSpeedControl that adjusts the playback speed using a proportional controller.
DefaultLivePlaybackSpeedControl.Builder - Class in com.google.android.exoplayer2
DefaultLoadControl - Class in com.google.android.exoplayer2
The default LoadControl implementation.
DefaultLoadControl() - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
Constructs a new instance, using the DEFAULT_* constants defined in this class.
DefaultLoadControl(DefaultAllocator, int, int, int, int, int, boolean, int, boolean) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
 
DefaultLoadControl.Builder - Class in com.google.android.exoplayer2
Builder for DefaultLoadControl.
DefaultLoadErrorHandlingPolicy - Class in com.google.android.exoplayer2.upstream
Default implementation of LoadErrorHandlingPolicy.
DefaultLoadErrorHandlingPolicy() - Constructor for class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Creates an instance with default behavior.
DefaultLoadErrorHandlingPolicy(int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Creates an instance with the given value for DefaultLoadErrorHandlingPolicy.getMinimumLoadableRetryCount(int).
DefaultMediaCodecAdapterFactory - Class in com.google.android.exoplayer2.mediacodec
DefaultMediaCodecAdapterFactory() - Constructor for class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
 
DefaultMediaDescriptionAdapter - Class in com.google.android.exoplayer2.ui
DefaultMediaDescriptionAdapter(PendingIntent) - Constructor for class com.google.android.exoplayer2.ui.DefaultMediaDescriptionAdapter
DefaultMediaItemConverter - Class in com.google.android.exoplayer2.ext.cast
Default MediaItemConverter implementation.
DefaultMediaItemConverter - Class in com.google.android.exoplayer2.ext.media2
Default implementation of MediaItemConverter.
DefaultMediaItemConverter() - Constructor for class com.google.android.exoplayer2.ext.cast.DefaultMediaItemConverter
 
DefaultMediaItemConverter() - Constructor for class com.google.android.exoplayer2.ext.media2.DefaultMediaItemConverter
 
DefaultMediaMetadataProvider(MediaControllerCompat, String) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.DefaultMediaMetadataProvider
Creates a new instance.
DefaultMediaSourceFactory - Class in com.google.android.exoplayer2.source
The default MediaSourceFactory implementation.
DefaultMediaSourceFactory(Context) - Constructor for class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Creates a new instance.
DefaultMediaSourceFactory(Context, ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Creates a new instance.
DefaultMediaSourceFactory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Creates a new instance.
DefaultMediaSourceFactory(DataSource.Factory, ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Creates a new instance.
DefaultMediaSourceFactory.AdsLoaderProvider - Interface in com.google.android.exoplayer2.source
Provides AdsLoader instances for media items that have ad tag URIs.
DefaultPlaybackSessionManager - Class in com.google.android.exoplayer2.analytics
Default PlaybackSessionManager which instantiates a new session for each window in the timeline and also for each ad within the windows.
DefaultPlaybackSessionManager() - Constructor for class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
Creates session manager with a DefaultPlaybackSessionManager.DEFAULT_SESSION_ID_GENERATOR to generate session ids.
DefaultPlaybackSessionManager(Supplier<String>) - Constructor for class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
Creates session manager.
defaultPositionUs - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
defaultPositionUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The default position relative to the start of the window at which to begin playback, in microseconds.
DefaultRenderersFactory - Class in com.google.android.exoplayer2
Default RenderersFactory implementation.
DefaultRenderersFactory(Context) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
 
DefaultRenderersFactory(Context, int) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory(Context, int, long) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
DefaultRenderersFactory.ExtensionRendererMode - Annotation Type in com.google.android.exoplayer2
Modes for using extension renderers.
DefaultRenderersFactoryAsserts - Class in com.google.android.exoplayer2.testutil
Assertions for DefaultRenderersFactory.
DefaultRenderersFactoryAsserts() - Constructor for class com.google.android.exoplayer2.testutil.DefaultRenderersFactoryAsserts
 
DefaultRtpPayloadReaderFactory - Class in com.google.android.exoplayer2.source.rtsp.reader
Default RtpPayloadReader.Factory implementation.
DefaultRtpPayloadReaderFactory() - Constructor for class com.google.android.exoplayer2.source.rtsp.reader.DefaultRtpPayloadReaderFactory
 
DefaultSeekTimestampConverter() - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter
 
DefaultShuffleOrder(int) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Creates an instance with a specified length.
DefaultShuffleOrder(int[], long) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Creates an instance with a specified shuffle order and the specified random seed.
DefaultShuffleOrder(int, long) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
Creates an instance with a specified length and the specified random seed.
DefaultSsChunkSource - Class in com.google.android.exoplayer2.source.smoothstreaming
A default SsChunkSource implementation.
DefaultSsChunkSource(LoaderErrorThrower, SsManifest, int, ExoTrackSelection, DataSource) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
DefaultSsChunkSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
 
DefaultTimeBar - Class in com.google.android.exoplayer2.ui
A time bar that shows a current position, buffered position, duration and ad markers.
DefaultTimeBar(Context) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTimeBar(Context, AttributeSet, int, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DefaultTrackNameProvider - Class in com.google.android.exoplayer2.ui
DefaultTrackNameProvider(Resources) - Constructor for class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
 
DefaultTrackSelector - Class in com.google.android.exoplayer2.trackselection
A default TrackSelector suitable for most use cases.
DefaultTrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Deprecated.
DefaultTrackSelector(Context) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
DefaultTrackSelector(Context, ExoTrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
DefaultTrackSelector(DefaultTrackSelector.Parameters, ExoTrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
DefaultTrackSelector(ExoTrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
DefaultTrackSelector.AudioTrackScore - Class in com.google.android.exoplayer2.trackselection
Represents how well an audio track matches the selection DefaultTrackSelector.Parameters.
DefaultTrackSelector.OtherTrackScore - Class in com.google.android.exoplayer2.trackselection
Represents how well any other track (non video, audio or text) matches the selection DefaultTrackSelector.Parameters.
DefaultTrackSelector.Parameters - Class in com.google.android.exoplayer2.trackselection
Extends DefaultTrackSelector.Parameters by adding fields that are specific to DefaultTrackSelector.
DefaultTrackSelector.ParametersBuilder - Class in com.google.android.exoplayer2.trackselection
DefaultTrackSelector.SelectionOverride - Class in com.google.android.exoplayer2.trackselection
A track selection override.
DefaultTrackSelector.TextTrackScore - Class in com.google.android.exoplayer2.trackselection
Represents how well a text track matches the selection DefaultTrackSelector.Parameters.
DefaultTrackSelector.VideoTrackScore - Class in com.google.android.exoplayer2.trackselection
Represents how well a video track matches the selection DefaultTrackSelector.Parameters.
DefaultTsPayloadReaderFactory - Class in com.google.android.exoplayer2.extractor.ts
Default TsPayloadReader.Factory implementation.
DefaultTsPayloadReaderFactory() - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
DefaultTsPayloadReaderFactory(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
DefaultTsPayloadReaderFactory(int, List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
 
DefaultTsPayloadReaderFactory.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
Flags controlling elementary stream readers' behavior.
Definition(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.ExoTrackSelection.Definition
 
Definition(TrackGroup, int[], @com.google.android.exoplayer2.trackselection.TrackSelection.Type int) - Constructor for class com.google.android.exoplayer2.trackselection.ExoTrackSelection.Definition
 
delay(long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay between executing any previous actions and any subsequent ones.
delete() - Method in class com.google.android.exoplayer2.util.AtomicFile
Delete the atomic file.
delete() - Method in class com.google.android.exoplayer2.util.GlUtil.Program
Deletes the program.
delete(Uri, String, String[]) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
delete(File, DatabaseProvider) - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deletes all content belonging to a cache instance.
deleteTexture(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Deletes a GL texture.
deltaPicOrderAlwaysZeroFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
DeltaUpdateException() - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser.DeltaUpdateException
 
depth - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The color depth of the picture in bits-per-pixel.
dequeueInputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Dequeues the next input buffer to be filled and queued to the decoder.
dequeueInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
dequeueInputBuffer() - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
dequeueInputBufferIndex() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Returns the next available input buffer index from the underlying MediaCodec or MediaCodec.INFO_TRY_AGAIN_LATER if no such buffer exists.
dequeueInputBufferIndex() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
dequeueOutputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Dequeues the next output buffer from the decoder.
dequeueOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
dequeueOutputBuffer() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
dequeueOutputBuffer() - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
dequeueOutputBufferIndex(MediaCodec.BufferInfo) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Returns the next available output buffer index from the underlying MediaCodec.
dequeueOutputBufferIndex(MediaCodec.BufferInfo) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.Id3Frame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.Metadata
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
describeContents() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
describeContents() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
describeContents() - Method in class com.google.android.exoplayer2.offline.StreamKey
 
describeContents() - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
describeContents() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
describeContents() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
describeContents() - Method in class com.google.android.exoplayer2.testutil.FakeMetadataEntry
 
description - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional description.
description - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
A description of the picture.
description - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
description - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
Descriptor - Class in com.google.android.exoplayer2.source.dash.manifest
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
Descriptor(String, String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
descriptorBytes - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
destroyEglContext(EGLDisplay, EGLContext) - Static method in class com.google.android.exoplayer2.util.GlUtil
Destroys the EGLContext identified by the provided EGLDisplay and EGLContext.
DEVICE - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.DEVICE, but in a place where it can be conveniently overridden for local testing.
DEVICE_CHARGING - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device is charging.
DEVICE_DEBUG_INFO - Static variable in class com.google.android.exoplayer2.util.Util
A concise description of the device that it can be useful to log for debugging purposes.
DEVICE_IDLE - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device is idle.
DEVICE_STORAGE_NOT_LOW - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device's internal storage is not low.
DeviceInfo - Class in com.google.android.exoplayer2
Information about the playback device.
DeviceInfo(@com.google.android.exoplayer2.DeviceInfo.PlaybackType int, int, int) - Constructor for class com.google.android.exoplayer2.DeviceInfo
Creates device information.
DeviceInfo.PlaybackType - Annotation Type in com.google.android.exoplayer2
Types of playback.
diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
An optional developer-readable diagnostic information string.
diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
An optional developer-readable diagnostic information string.
DIMEN_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
An unset position, width or size.
disable() - Method in class com.google.android.exoplayer2.BaseRenderer
 
disable() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
disable() - Method in interface com.google.android.exoplayer2.Renderer
Disable the renderer, transitioning it to the Renderer.STATE_DISABLED state.
disable() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
disable() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
disable() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
disable() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Disables this track selection.
disable(MediaSource.MediaSourceCaller) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
disable(MediaSource.MediaSourceCaller) - Method in interface com.google.android.exoplayer2.source.MediaSource
Disables the source for the creation of MediaPeriods.
disable5GNsaDisambiguation() - Static method in class com.google.android.exoplayer2.util.NetworkTypeObserver.Config
Disables logic to disambiguate 5G-NSA networks from 4G networks.
disableChildSource(T) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Disables a child source.
disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
disabledTextTrackSelectionFlags - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Bitmask of selection flags that are disabled for text track selections.
disabledTrackTypes - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The track types that are disabled.
disableInternal() - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
disableInternal() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
disableInternal() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
disableInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
disableRenderer(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a renderer disable action.
disableSeeking() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Disables the extractor from being able to seek through the media.
disableSeeking() - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Overrides future received SeekMaps with non-seekable instances.
disableSeekingOnMp3Streams() - Method in class com.google.android.exoplayer2.source.BundledExtractorsAdapter
 
disableSeekingOnMp3Streams() - Method in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
disableSeekingOnMp3Streams() - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor
Disables seeking in MP3 streams.
disableTunneling() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Disables tunneling.
disableTunneling() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
disableTunneling() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
DISCARD_REASON_APP_OVERRIDE - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
Decoder reuse is disabled by overriding behavior in application code.
DISCARD_REASON_AUDIO_CHANNEL_COUNT_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The audio channel count is changing.
DISCARD_REASON_AUDIO_ENCODING_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The audio encoding is changing.
DISCARD_REASON_AUDIO_SAMPLE_RATE_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The audio sample rate is changing.
DISCARD_REASON_DRM_SESSION_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The DRM session is changing.
DISCARD_REASON_INITIALIZATION_DATA_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The format initialization data is changing.
DISCARD_REASON_MAX_INPUT_SIZE_EXCEEDED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The new format may exceed the decoder's configured maximum sample size, in bytes.
DISCARD_REASON_MIME_TYPE_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The sample MIME type is changing.
DISCARD_REASON_OPERATING_RATE_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The codec's operating rate is changing.
DISCARD_REASON_REUSE_NOT_IMPLEMENTED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
Decoder reuse is not implemented.
DISCARD_REASON_VIDEO_COLOR_INFO_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The video ColorInfo is changing.
DISCARD_REASON_VIDEO_MAX_RESOLUTION_EXCEEDED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The new format may exceed the decoder's configured maximum resolution.
DISCARD_REASON_VIDEO_RESOLUTION_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The video resolution is changing.
DISCARD_REASON_VIDEO_ROTATION_CHANGED - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The video rotation is changing.
DISCARD_REASON_WORKAROUND - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
Decoder reuse is disabled by a workaround.
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Discards buffered media up to the specified position.
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
discardBuffer(long, boolean) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Discards buffered media up to the specified position.
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
discardReasons - Variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
Reasons why the decoder cannot be reused.
discardSampleMetadataToRead() - Method in class com.google.android.exoplayer2.source.SampleQueue
 
discardTo(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Discards data from the queue.
discardTo(long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards up to but not including the sample immediately before or at the specified time.
discardToEnd() - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards all samples in the queue and advances the read position.
discardToRead() - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards up to but not including the read position.
discardToSps(ByteBuffer) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Discards data from the buffer up to the first SPS, where data.position() is interpreted as the length of the buffer.
discardUpstreamFrom(long) - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards samples from the write side of the queue.
discardUpstreamSamples(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Discards samples from the write side of the queue.
discNumber - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional disc number.
DISCONTINUITY_REASON_AUTO_TRANSITION - Static variable in interface com.google.android.exoplayer2.Player
Automatic playback transition from one period in the timeline to the next.
DISCONTINUITY_REASON_INTERNAL - Static variable in interface com.google.android.exoplayer2.Player
Discontinuity introduced internally (e.g.
DISCONTINUITY_REASON_REMOVE - Static variable in interface com.google.android.exoplayer2.Player
Discontinuity caused by the removal of the current period from the Timeline.
DISCONTINUITY_REASON_SEEK - Static variable in interface com.google.android.exoplayer2.Player
Seek within the current period or to another period.
DISCONTINUITY_REASON_SEEK_ADJUSTMENT - Static variable in interface com.google.android.exoplayer2.Player
Seek adjustment due to being unable to seek to the requested position or because the seek was permitted to be inexact.
DISCONTINUITY_REASON_SKIP - Static variable in interface com.google.android.exoplayer2.Player
Discontinuity introduced by a skipped period (for instance a skipped ad).
discontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The discontinuity sequence number of the first media segment in the playlist, as defined by #EXT-X-DISCONTINUITY-SEQUENCE.
dispatch(RecordedRequest) - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Called to process media key events.
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
Called to process media key events.
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Called to process media key events.
dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Called to process media key events.
dispatchTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
displayHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
displayTitle - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional display title.
displayWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
doActionAndScheduleNext(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action
Executes the action and schedules the next.
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action
Called by Action.doActionAndScheduleNext(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionNode) to perform the action and to schedule the next action node.
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.PlayUntilPosition
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForIsLoading
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForMessage
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPendingPlayerCommands
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlaybackState
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlayWhenReady
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPositionDiscontinuity
 
doActionAndScheduleNextImpl(ExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForTimelineChanged
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.AddMediaItems
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ClearMediaItems
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ExecuteRunnable
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.MoveMediaItem
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.PlayUntilPosition
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.Prepare
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.RemoveMediaItem
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.RemoveMediaItems
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.Seek
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SendMessages
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetAudioAttributes
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetMediaItems
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetMediaItemsResetPosition
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetPlaybackParameters
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetPlayWhenReady
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetRendererDisabled
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetRepeatMode
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetShuffleModeEnabled
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetShuffleOrder
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetVideoSurface
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.Stop
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ThrowPlaybackException
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForIsLoading
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForMessage
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPendingPlayerCommands
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlaybackState
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlayWhenReady
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPositionDiscontinuity
 
doActionImpl(ExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForTimelineChanged
 
DolbyVisionConfig - Class in com.google.android.exoplayer2.video
Dolby Vision configuration data.
domain - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
DONT_RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
Discards the failed Loader.Loadable and ignores any errors that have occurred.
DONT_RETRY_FATAL - Static variable in class com.google.android.exoplayer2.upstream.Loader
Discards the failed Loader.Loadable.
download(Downloader.ProgressListener) - Method in interface com.google.android.exoplayer2.offline.Downloader
Downloads the content.
download(Downloader.ProgressListener) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
download(Downloader.ProgressListener) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
Download - Class in com.google.android.exoplayer2.offline
Represents state of a download.
Download(DownloadRequest, int, long, long, long, int, int) - Constructor for class com.google.android.exoplayer2.offline.Download
 
Download(DownloadRequest, int, long, long, long, int, int, DownloadProgress) - Constructor for class com.google.android.exoplayer2.offline.Download
 
Download.FailureReason - Annotation Type in com.google.android.exoplayer2.offline
Failure reasons.
Download.State - Annotation Type in com.google.android.exoplayer2.offline
Download states.
DownloadBuilder - Class in com.google.android.exoplayer2.testutil
Builder for Download.
DownloadBuilder(DownloadRequest) - Constructor for class com.google.android.exoplayer2.testutil.DownloadBuilder
Creates a download builder based on the attributes of the specified request.
DownloadBuilder(String) - Constructor for class com.google.android.exoplayer2.testutil.DownloadBuilder
Creates a download builder for "uri" and no stream keys.
DownloadCursor - Interface in com.google.android.exoplayer2.offline
Provides random read-write access to the result set returned by a database query.
Downloader - Interface in com.google.android.exoplayer2.offline
Downloads and removes a piece of content.
Downloader.ProgressListener - Interface in com.google.android.exoplayer2.offline
Receives progress updates during download operations.
DownloaderFactory - Interface in com.google.android.exoplayer2.offline
Creates Downloaders for given DownloadRequests.
DownloadException - Exception in com.google.android.exoplayer2.offline
Thrown on an error during downloading.
DownloadException(String) - Constructor for exception com.google.android.exoplayer2.offline.DownloadException
 
DownloadException(Throwable) - Constructor for exception com.google.android.exoplayer2.offline.DownloadException
 
DownloadHelper - Class in com.google.android.exoplayer2.offline
A helper for initializing and removing downloads.
DownloadHelper(MediaItem, MediaSource, DefaultTrackSelector.Parameters, RendererCapabilities[]) - Constructor for class com.google.android.exoplayer2.offline.DownloadHelper
Creates download helper.
DownloadHelper.Callback - Interface in com.google.android.exoplayer2.offline
A callback to be notified when the DownloadHelper is prepared.
DownloadHelper.LiveContentUnsupportedException - Exception in com.google.android.exoplayer2.offline
Thrown at an attempt to download live content.
DownloadIndex - Interface in com.google.android.exoplayer2.offline
An index of Downloads.
downloadLicense(Format) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Downloads an offline license.
DownloadManager - Class in com.google.android.exoplayer2.offline
Manages downloads.
DownloadManager(Context, DatabaseProvider, Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
DownloadManager(Context, DatabaseProvider, Cache, DataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
Constructs a DownloadManager.
DownloadManager(Context, WritableDownloadIndex, DownloaderFactory) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
Constructs a DownloadManager.
DownloadManager.Listener - Interface in com.google.android.exoplayer2.offline
Listener for DownloadManager events.
DownloadNotificationHelper - Class in com.google.android.exoplayer2.ui
Helper for creating download notifications.
DownloadNotificationHelper(Context, String) - Constructor for class com.google.android.exoplayer2.ui.DownloadNotificationHelper
 
DownloadProgress - Class in com.google.android.exoplayer2.offline
Mutable Download progress.
DownloadProgress() - Constructor for class com.google.android.exoplayer2.offline.DownloadProgress
 
DownloadRequest - Class in com.google.android.exoplayer2.offline
Defines content to be downloaded.
DownloadRequest.Builder - Class in com.google.android.exoplayer2.offline
A builder for download requests.
DownloadRequest.UnsupportedRequestException - Exception in com.google.android.exoplayer2.offline
Thrown when the encoded request data belongs to an unsupported request type.
DownloadService - Class in com.google.android.exoplayer2.offline
A Service for downloading media.
DownloadService(int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService.
DownloadService(int, long) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService.
DownloadService(int, long, String, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
DownloadService(int, long, String, int, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
Creates a DownloadService.
downstreamFormatChanged(@com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
downstreamFormatChanged(MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
doWork() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler.SchedulerWorker
 
doWork() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
Performs the work or computation.
drawableStateChanged() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
DRM_UNSUPPORTED - Static variable in interface com.google.android.exoplayer2.drm.DrmSessionManager
An instance that supports no DRM schemes.
drmConfiguration - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
Optional MediaItem.DrmConfiguration for the media.
drmInitData - Variable in class com.google.android.exoplayer2.Format
DRM initialization data if the stream is protected, or null otherwise.
drmInitData - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
DRM initialization data for sample decryption, or null if the segment does not use CDM-DRM protection.
DrmInitData - Class in com.google.android.exoplayer2.drm
Initialization data for one or more DRM schemes.
DrmInitData(DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData(String, DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData(String, List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData(List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
 
DrmInitData.SchemeData - Class in com.google.android.exoplayer2.drm
Scheme initialization data.
drmKeysLoaded() - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
drmKeysRemoved() - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
drmKeysRestored() - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
drmSchemeDatas - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
drmSchemeType - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
drmSession - Variable in class com.google.android.exoplayer2.FormatHolder
An accompanying context for decrypting samples in the format.
DrmSession - Interface in com.google.android.exoplayer2.drm
A DRM session.
DrmSession.DrmSessionException - Exception in com.google.android.exoplayer2.drm
Wraps the throwable which is the cause of the error state.
DrmSession.State - Annotation Type in com.google.android.exoplayer2.drm
The state of the DRM session.
drmSessionAcquired(int) - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
DrmSessionEventListener - Interface in com.google.android.exoplayer2.drm
Listener of DrmSessionManager events.
DrmSessionEventListener.EventDispatcher - Class in com.google.android.exoplayer2.drm
Dispatches events to DrmSessionEventListeners.
DrmSessionException(Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.drm.DrmSession.DrmSessionException
 
DrmSessionManager - Interface in com.google.android.exoplayer2.drm
Manages a DRM session.
DrmSessionManager.DrmSessionReference - Interface in com.google.android.exoplayer2.drm
Represents a single reference count of a DrmSession, while deliberately not giving access to the underlying session.
drmSessionManagerError(Exception) - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
DrmSessionManagerProvider - Interface in com.google.android.exoplayer2.drm
A provider to obtain a DrmSessionManager suitable for playing the content described by a MediaItem.
drmSessionReleased() - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
DrmUtil - Class in com.google.android.exoplayer2.drm
DRM-related utility methods.
DrmUtil.ErrorSource - Annotation Type in com.google.android.exoplayer2.drm
Identifies the operation which caused a DRM-related error.
dropOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Drops the specified output buffer and releases it.
dropOutputBuffer(MediaCodecAdapter, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Drops the output buffer with the specified index.
droppedBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of dropped buffers.
droppedFrames(int, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
droppedToKeyframeCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of times all buffers to a keyframe were dropped.
DS64_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "ds64".
DTS_HD_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.DtsUtil
Maximum rate for a DTS-HD audio stream, in bytes per second.
DTS_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.DtsUtil
Maximum rate for a DTS audio stream, in bytes per second.
DtsReader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous DTS byte stream and extracts individual samples.
DtsReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.DtsReader
Constructs a new reader for DTS elementary streams.
DtsUtil - Class in com.google.android.exoplayer2.audio
Utility methods for parsing DTS frames.
Dummy() - Constructor for class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
 
DUMMY - Static variable in interface com.google.android.exoplayer2.drm.DrmSessionManager
DummyDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource which provides no data.
DummyExoMediaDrm - Class in com.google.android.exoplayer2.drm
An ExoMediaDrm that does not support any protection schemes.
DummyExoMediaDrm() - Constructor for class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
DummyExtractorOutput - Class in com.google.android.exoplayer2.extractor
A fake ExtractorOutput implementation.
DummyExtractorOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
DummyMainThread - Class in com.google.android.exoplayer2.testutil
Helper class to simulate main/UI thread in tests.
DummyMainThread() - Constructor for class com.google.android.exoplayer2.testutil.DummyMainThread
 
DummyMainThread.TestRunnable - Interface in com.google.android.exoplayer2.testutil
Runnable variant which can throw a checked exception.
DummySurface - Class in com.google.android.exoplayer2.video
A dummy Surface.
DummyTrackOutput - Class in com.google.android.exoplayer2.extractor
A fake TrackOutput implementation.
DummyTrackOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
dump(Dumper) - Method in class com.google.android.exoplayer2.robolectric.PlaybackOutput
 
dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.CapturingRenderersFactory
 
dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.DumpableFormat
 
dump(Dumper) - Method in interface com.google.android.exoplayer2.testutil.Dumper.Dumpable
Dumps the fields of the object using the dumper.
dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
DumpableFormat - Class in com.google.android.exoplayer2.testutil
Wraps a Format to allow dumping it.
DumpableFormat(Format, int) - Constructor for class com.google.android.exoplayer2.testutil.DumpableFormat
 
Dumper - Class in com.google.android.exoplayer2.testutil
Helper utility to dump field values.
Dumper() - Constructor for class com.google.android.exoplayer2.testutil.Dumper
 
Dumper.Dumpable - Interface in com.google.android.exoplayer2.testutil
Provides custom dump method.
DumpFileAsserts - Class in com.google.android.exoplayer2.testutil
Helper class to enable assertions based on golden-data dump files.
dumpFilesPrefix - Variable in class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig
The prefix prepended to the dump files path.
durationMs - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The duration of the event in milliseconds.
durationMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The duration of the presentation in milliseconds, or C.TIME_UNSET if not applicable.
durationsUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The chunk durations, in microseconds.
durationsUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The durations of each ad in the ad group, in microseconds.
durationUs - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The duration of the track in microseconds, or C.TIME_UNSET if unknown.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The total duration of the playlist in microseconds.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The duration of the segment in microseconds, as defined by #EXTINF or #EXT-X-PART.
durationUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The overall presentation duration of the media in microseconds, or C.TIME_UNSET if the duration is unknown.
durationUs - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
durationUs - Variable in class com.google.android.exoplayer2.Timeline.Period
The duration of this period in microseconds, or C.TIME_UNSET if unknown.
durationUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The duration of this window in microseconds, or C.TIME_UNSET if unknown.
DvbDecoder - Class in com.google.android.exoplayer2.text.dvb
A SimpleSubtitleDecoder for DVB subtitles.
DvbDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.dvb.DvbDecoder
 
DvbSubtitleInfo(String, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
dvbSubtitleInfos - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
DvbSubtitleReader - Class in com.google.android.exoplayer2.extractor.ts
Parses DVB subtitle data and extracts individual frames.
DvbSubtitleReader(List<TsPayloadReader.DvbSubtitleInfo>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
dvrWindowLengthUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The length of the trailing window for a live broadcast in microseconds, or C.TIME_UNSET if the stream is not live or if the window length is unspecified.
dynamic - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
Whether the manifest has value "dynamic" for the type attribute.

E

e(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
e(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
E_AC3_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
Maximum rate for an E-AC-3 audio stream, in bytes per second.
EbmlProcessor - Interface in com.google.android.exoplayer2.extractor.mkv
Defines EBML element IDs/types and processes events.
EbmlProcessor.ElementType - Annotation Type in com.google.android.exoplayer2.extractor.mkv
EBML element types.
EDGE_TYPE_DEPRESSED - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Edge type value specifying depressed bevel character edges.
EDGE_TYPE_DROP_SHADOW - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Edge type value specifying drop-shadowed character edges.
EDGE_TYPE_NONE - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Edge type value specifying no character edges.
EDGE_TYPE_OUTLINE - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Edge type value specifying uniformly outlined character edges.
EDGE_TYPE_RAISED - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Edge type value specifying raised bevel character edges.
edgeColor - Variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
The preferred edge color, if using an edge type other than CaptionStyleCompat.EDGE_TYPE_NONE.
edgeType - Variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
The preferred edge type.
editListDurations - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
Durations of edit list segments in the movie timescale.
editListMediaTimes - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
Media times for edit list segments in the track timescale.
effectId - Variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
The identifier of the effect, or AuxEffectInfo.NO_AUX_EFFECT_ID if there is no effect.
EGLSurfaceTexture - Class in com.google.android.exoplayer2.util
Generates a SurfaceTexture using EGL/GLES functions.
EGLSurfaceTexture(Handler) - Constructor for class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
EGLSurfaceTexture(Handler, EGLSurfaceTexture.TextureImageListener) - Constructor for class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
EGLSurfaceTexture.GlException - Exception in com.google.android.exoplayer2.util
A runtime exception to be thrown if some EGL operations failed.
EGLSurfaceTexture.SecureMode - Annotation Type in com.google.android.exoplayer2.util
Secure mode to be used by the EGL surface and context.
EGLSurfaceTexture.TextureImageListener - Interface in com.google.android.exoplayer2.util
Listener to be called when the texture image on SurfaceTexture has been updated.
elapsedRealtime() - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
elapsedRealtime() - Method in interface com.google.android.exoplayer2.util.Clock
 
elapsedRealtime() - Method in class com.google.android.exoplayer2.util.SystemClock
 
elapsedRealtimeEpochOffsetMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The offset between SystemClock.elapsedRealtime() and the time since the Unix epoch according to the clock of the media origin server, or C.TIME_UNSET if unknown or not applicable.
elapsedRealtimeMs - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
The value of SystemClock.elapsedRealtime() at the time of the load event.
ELEMENT_TYPE_BINARY - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for binary elements.
ELEMENT_TYPE_FLOAT - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for IEEE floating point value elements of either 4 or 8 bytes.
ELEMENT_TYPE_MASTER - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for elements that contain child elements.
ELEMENT_TYPE_STRING - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for string elements.
ELEMENT_TYPE_UNKNOWN - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for unknown elements.
ELEMENT_TYPE_UNSIGNED_INT - Static variable in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Type for integer value elements of up to 8 bytes.
ElementaryStreamReader - Interface in com.google.android.exoplayer2.extractor.ts
Extracts individual samples from an elementary media stream, preserving original order.
elementId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
elementSet() - Method in class com.google.android.exoplayer2.util.CopyOnWriteMultiset
Returns a snapshot of the unique elements currently in this multiset.
EmbeddedSampleStream(ChunkSampleStream<T>, SampleQueue, int) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
EMPTY - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Empty playback stats.
EMPTY - Static variable in interface com.google.android.exoplayer2.drm.DrmSessionManager.DrmSessionReference
A reference that is never populated with an underlying DrmSession.
EMPTY - Static variable in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
Extractor factory that returns an empty list of extractors.
EMPTY - Static variable in class com.google.android.exoplayer2.MediaItem
Empty MediaItem.
EMPTY - Static variable in class com.google.android.exoplayer2.MediaMetadata
EMPTY - Static variable in class com.google.android.exoplayer2.Player.Commands
An empty set of commands.
EMPTY - Static variable in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
An empty media chunk iterator without available data.
EMPTY - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Represents an empty master playlist, from which no attributes can be inherited.
EMPTY - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
The empty array.
EMPTY - Static variable in class com.google.android.exoplayer2.text.Cue
The empty cue.
EMPTY - Static variable in class com.google.android.exoplayer2.Timeline
An empty timeline.
EMPTY - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
Empty TrackSelectionOverrides, where no track selection is overridden.
EMPTY - Static variable in class com.google.android.exoplayer2.TracksInfo
An empty TrackInfo containing no TracksInfo.TrackGroupInfo.
EMPTY - Static variable in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
An empty DefaultContentMetadata.
EMPTY_BUFFER - Static variable in interface com.google.android.exoplayer2.audio.AudioProcessor
An empty, direct ByteBuffer.
EMPTY_BYTE_ARRAY - Static variable in class com.google.android.exoplayer2.util.Util
An empty byte array.
EmptySampleStream - Class in com.google.android.exoplayer2.source
An empty SampleStream.
EmptySampleStream() - Constructor for class com.google.android.exoplayer2.source.EmptySampleStream
 
enable() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
enable() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
enable() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
enable() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Enables the track selection.
enable(RendererConfiguration, Format[], SampleStream, long, boolean, boolean, long, long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
enable(RendererConfiguration, Format[], SampleStream, long, boolean, boolean, long, long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
enable(RendererConfiguration, Format[], SampleStream, long, boolean, boolean, long, long) - Method in interface com.google.android.exoplayer2.Renderer
Enables the renderer to consume from the specified SampleStream.
enable(MediaSource.MediaSourceCaller) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
enable(MediaSource.MediaSourceCaller) - Method in interface com.google.android.exoplayer2.source.MediaSource
Enables the source for the creation of MediaPeriods.
enableChildSource(T) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Enables a child source.
enableCount - Variable in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
enabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
enabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
enabledCount - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
 
enableInternal() - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
enableInternal() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
enableInternal() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
enableInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
enableRenderer(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a renderer enable action.
enableTunnelingV21() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Enables tunneling, if possible.
enableTunnelingV21() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
enableTunnelingV21() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
encode(EventMessage) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageEncoder
Encodes an EventMessage to a byte array that can be decoded by EventMessageDecoder.
encode(List<Cue>) - Method in class com.google.android.exoplayer2.text.CueEncoder
Encodes an List of Cue to a byte array that can be decoded by CueDecoder.
encoderDelay - Variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
The number of samples to trim from the start of the decoded audio stream, or Format.NO_VALUE if not set.
encoderDelay - Variable in class com.google.android.exoplayer2.Format
The number of frames to trim from the start of the decoded audio stream, or 0 if not applicable.
encoderPadding - Variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
The number of samples to trim from the end of the decoded audio stream, or Format.NO_VALUE if not set.
encoderPadding - Variable in class com.google.android.exoplayer2.Format
The number of frames to trim from the end of the decoded audio stream, or 0 if not applicable.
encoding - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
The type of linear PCM encoding.
ENCODING_AAC_ELD - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AAC_ER_BSAC - Static variable in class com.google.android.exoplayer2.C
AAC Error Resilient Bit-Sliced Arithmetic Coding.
ENCODING_AAC_HE_V1 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AAC_HE_V2 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AAC_LC - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AAC_XHE - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AC3 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_AC4 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_DOLBY_TRUEHD - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_DTS - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_DTS_HD - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_E_AC3 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_INVALID - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_MP3 - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_16BIT - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_16BIT_BIG_ENDIAN - Static variable in class com.google.android.exoplayer2.C
Like C.ENCODING_PCM_16BIT, but with the bytes in big endian order.
ENCODING_PCM_24BIT - Static variable in class com.google.android.exoplayer2.C
PCM encoding with 24 bits per sample.
ENCODING_PCM_32BIT - Static variable in class com.google.android.exoplayer2.C
PCM encoding with 32 bits per sample.
ENCODING_PCM_8BIT - Static variable in class com.google.android.exoplayer2.C
 
ENCODING_PCM_FLOAT - Static variable in class com.google.android.exoplayer2.C
 
encryptedBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
 
encryptedBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The number of encrypted blocks in the encryption pattern, 0 if pattern encryption does not apply.
encryptionIV - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The encryption initialization vector as defined by #EXT-X-KEY, or null if the segment is not encrypted.
encryptionKey - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
The encryption key associated with the sample.
END_OF_STREAM_ITEM - Static variable in class com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem
Item that designates the end of stream has been reached.
endBlock() - Method in class com.google.android.exoplayer2.testutil.Dumper
 
endData() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Returns the FakeDataSet this FakeData belongs to.
endedCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of playbacks which reached the ended state at least once.
endMasterElement(int) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when the end of a master element is encountered.
endMasterElement(int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when the end of a master element is encountered.
endOffset - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
The byte offset of the end of the chapter, or C.POSITION_UNSET if not set.
endOfStream - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
Indicates that the end of the stream has been reached.
endPositionMs - Variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
The end position in milliseconds.
endSection() - Static method in class com.google.android.exoplayer2.util.TraceUtil
Writes a trace message to indicate that a given section of code has ended.
endTimeMs - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
endTimeMs - Variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
The end time, in milliseconds, of the track segment that is intended to be slow motion.
endTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The end time of the media contained by the chunk, or C.TIME_UNSET if the data being loaded does not contain media samples.
endTimeUs - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueInfo
 
endTracks() - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
endTracks() - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Called when all tracks have been identified, meaning no new trackId values will be passed to ExtractorOutput.track(int, int).
endTracks() - Method in class com.google.android.exoplayer2.extractor.jpeg.StartOffsetExtractorOutput
 
endTracks() - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
endTracks() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
endWrite(OutputStream) - Method in class com.google.android.exoplayer2.util.AtomicFile
Call when you have successfully finished writing to the stream returned by AtomicFile.startWrite().
ensureCapacity(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Ensures the backing array is at least requiredCapacity long.
ensureClassLoader(Bundle) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Sets the application class loader to the given Bundle if no class loader is present.
ensureSpaceForWrite(int) - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Ensures that DecoderInputBuffer.data is large enough to accommodate a write of a given length at its current position.
ensureUpdated() - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
Should be called to ensure counter values are made visible across threads.
entrySet() - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
Returns the set of metadata entries in their raw byte array form.
equals(MediaDescriptionCompat, MediaDescriptionCompat) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaIdEqualityChecker
 
equals(Object) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
 
equals(Object) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndException
 
equals(Object) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndFormat
 
equals(Object) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndPlaybackState
 
equals(Object) - Method in class com.google.android.exoplayer2.audio.AudioAttributes
 
equals(Object) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
 
equals(Object) - Method in class com.google.android.exoplayer2.audio.AuxEffectInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
 
equals(Object) - Method in class com.google.android.exoplayer2.DeviceInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.SeekPoint
 
equals(Object) - Method in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
equals(Object) - Method in class com.google.android.exoplayer2.Format
 
equals(Object) - Method in class com.google.android.exoplayer2.HeartRating
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem.AdsConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.MediaMetadata
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.Metadata
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
equals(Object) - Method in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
equals(Object) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
equals(Object) - Method in class com.google.android.exoplayer2.offline.StreamKey
 
equals(Object) - Method in class com.google.android.exoplayer2.PercentageRating
 
equals(Object) - Method in class com.google.android.exoplayer2.PlaybackParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.Player.Commands
 
equals(Object) - Method in class com.google.android.exoplayer2.Player.Events
 
equals(Object) - Method in class com.google.android.exoplayer2.Player.PositionInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.RendererConfiguration
 
equals(Object) - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
equals(Object) - Method in class com.google.android.exoplayer2.SeekParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
 
equals(Object) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
 
equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement
 
equals(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
equals(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.source.MediaPeriodId
 
equals(Object) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
equals(Object) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
 
equals(Object) - Method in class com.google.android.exoplayer2.source.TrackGroup
 
equals(Object) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
equals(Object) - Method in class com.google.android.exoplayer2.StarRating
 
equals(Object) - Method in class com.google.android.exoplayer2.testutil.DumpableFormat
 
equals(Object) - Method in class com.google.android.exoplayer2.testutil.FakeMetadataEntry
 
equals(Object) - Method in class com.google.android.exoplayer2.text.Cue
 
equals(Object) - Method in class com.google.android.exoplayer2.ThumbRating
 
equals(Object) - Method in class com.google.android.exoplayer2.Timeline
 
equals(Object) - Method in class com.google.android.exoplayer2.Timeline.Period
 
equals(Object) - Method in class com.google.android.exoplayer2.Timeline.Window
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.AdaptationCheckpoint
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
 
equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
equals(Object) - Method in class com.google.android.exoplayer2.TracksInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
equals(Object) - Method in class com.google.android.exoplayer2.util.FlagSet
 
equals(Object) - Method in class com.google.android.exoplayer2.video.ColorInfo
 
equals(Object) - Method in class com.google.android.exoplayer2.video.VideoSize
 
ERROR_CODE_AUDIO_TRACK_INIT_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an AudioTrack initialization failure.
ERROR_CODE_AUDIO_TRACK_WRITE_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an AudioTrack write operation failure.
ERROR_CODE_BEHIND_LIVE_WINDOW - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by the loading position falling behind the sliding window of available live content.
ERROR_CODE_DECODER_INIT_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a decoder initialization failure.
ERROR_CODE_DECODER_QUERY_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a decoder query failure.
ERROR_CODE_DECODING_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a failure while trying to decode media samples.
ERROR_CODE_DECODING_FORMAT_EXCEEDS_CAPABILITIES - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by trying to decode content whose format exceeds the capabilities of the device.
ERROR_CODE_DECODING_FORMAT_UNSUPPORTED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by trying to decode content whose format is not supported.
ERROR_CODE_DRM_CONTENT_ERROR - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by attempting to play incompatible DRM-protected content.
ERROR_CODE_DRM_DEVICE_REVOKED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by the device having revoked DRM privileges.
ERROR_CODE_DRM_DISALLOWED_OPERATION - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an operation being disallowed by a license policy.
ERROR_CODE_DRM_LICENSE_ACQUISITION_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a failure while trying to obtain a license.
ERROR_CODE_DRM_LICENSE_EXPIRED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an expired DRM license being loaded into an open DRM session.
ERROR_CODE_DRM_PROVISIONING_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a failure while provisioning the device.
ERROR_CODE_DRM_SCHEME_UNSUPPORTED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a chosen DRM protection scheme not being supported by the device.
ERROR_CODE_DRM_SYSTEM_ERROR - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an error in the DRM system.
ERROR_CODE_DRM_UNSPECIFIED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an unspecified error related to DRM protection.
ERROR_CODE_FAILED_RUNTIME_CHECK - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a failed runtime check.
ERROR_CODE_IO_BAD_HTTP_STATUS - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an HTTP server returning an unexpected HTTP response status code.
ERROR_CODE_IO_CLEARTEXT_NOT_PERMITTED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by the player trying to access cleartext HTTP traffic (meaning http:// rather than https://) when the app's Network Security Configuration does not permit it.
ERROR_CODE_IO_FILE_NOT_FOUND - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a non-existent file.
ERROR_CODE_IO_INVALID_HTTP_CONTENT_TYPE - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a server returning a resource with an invalid "Content-Type" HTTP header value.
ERROR_CODE_IO_NETWORK_CONNECTION_FAILED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a network connection failure.
ERROR_CODE_IO_NETWORK_CONNECTION_TIMEOUT - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a network timeout, meaning the server is taking too long to fulfill a request.
ERROR_CODE_IO_NO_PERMISSION - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by lack of permission to perform an IO operation.
ERROR_CODE_IO_READ_POSITION_OUT_OF_RANGE - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by reading data out of the data bound.
ERROR_CODE_IO_UNSPECIFIED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an Input/Output error which could not be identified.
ERROR_CODE_PARSING_CONTAINER_MALFORMED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a parsing error associated with a media container format bitstream.
ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by attempting to extract a file with an unsupported media container format, or an unsupported media container feature.
ERROR_CODE_PARSING_MANIFEST_MALFORMED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a parsing error associated with a media manifest.
ERROR_CODE_PARSING_MANIFEST_UNSUPPORTED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an unsupported feature in a media manifest.
ERROR_CODE_REMOTE_ERROR - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an unidentified error in a remote Player, which is a Player that runs on a different host or process.
ERROR_CODE_TIMEOUT - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by a generic timeout.
ERROR_CODE_UNSPECIFIED - Static variable in exception com.google.android.exoplayer2.PlaybackException
Caused by an error whose cause could not be identified.
ERROR_SOURCE_EXO_MEDIA_DRM - Static variable in class com.google.android.exoplayer2.drm.DrmUtil
Corresponds to failures caused by an ExoMediaDrm method call.
ERROR_SOURCE_LICENSE_ACQUISITION - Static variable in class com.google.android.exoplayer2.drm.DrmUtil
Corresponds to failures caused by an operation related to obtaining DRM licenses.
ERROR_SOURCE_PROVISIONING - Static variable in class com.google.android.exoplayer2.drm.DrmUtil
Corresponds to failures caused by an operation related to provisioning the device.
errorCode - Variable in exception com.google.android.exoplayer2.audio.AudioSink.WriteException
The error value returned from the sink implementation.
errorCode - Variable in exception com.google.android.exoplayer2.decoder.CryptoException
A component specific error code.
errorCode - Variable in exception com.google.android.exoplayer2.drm.DrmSession.DrmSessionException
The PlaybackException.ErrorCode that corresponds to the failure.
errorCode - Variable in exception com.google.android.exoplayer2.PlaybackException
An error code which identifies the cause of the playback failure.
errorCount - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.LoadErrorInfo
The number of errors this load task has encountered, including this one.
errorInfoEquals(PlaybackException) - Method in exception com.google.android.exoplayer2.ExoPlaybackException
 
errorInfoEquals(PlaybackException) - Method in exception com.google.android.exoplayer2.PlaybackException
Returns whether the error data associated to this exception equals the error data associated to other.
ErrorMessageProvider<T extends Throwable> - Interface in com.google.android.exoplayer2.util
Converts throwables into error codes and user readable error messages.
ErrorStateDrmSession - Class in com.google.android.exoplayer2.drm
A DrmSession that's in a terminal error state.
ErrorStateDrmSession(DrmSession.DrmSessionException) - Constructor for class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
escapeFileName(String) - Static method in class com.google.android.exoplayer2.util.Util
Escapes a string so that it's safe for use as a file or directory name on at least FAT32 filesystems.
EsInfo(int, String, List<TsPayloadReader.DvbSubtitleInfo>, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
essentialProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Essential properties in the adaptation set.
essentialProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
essentialProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
Essential properties in the representation.
evaluate(int, int, int, int, int) - Method in interface com.google.android.exoplayer2.metadata.id3.Id3Decoder.FramePredicate
Returns whether a frame with the specified parameters should be decoded.
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
evaluateQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns the number of chunks that should be retained in the queue.
EVENT_AUDIO_ATTRIBUTES_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Audio attributes changed.
EVENT_AUDIO_CODEC_ERROR - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The audio codec encountered an error.
EVENT_AUDIO_DECODER_INITIALIZED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
An audio renderer created a decoder.
EVENT_AUDIO_DECODER_RELEASED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
An audio renderer released a decoder.
EVENT_AUDIO_DISABLED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
An audio renderer was disabled.
EVENT_AUDIO_ENABLED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
An audio renderer was enabled.
EVENT_AUDIO_INPUT_FORMAT_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The format consumed by an audio renderer changed.
EVENT_AUDIO_POSITION_ADVANCING - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The audio position has increased for the first time since the last pause or position reset.
EVENT_AUDIO_SESSION_ID - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
An audio session id was set.
EVENT_AUDIO_SINK_ERROR - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The audio sink encountered a non-fatal error.
EVENT_AUDIO_UNDERRUN - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
An audio underrun occurred.
EVENT_AVAILABLE_COMMANDS_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_AVAILABLE_COMMANDS_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_BANDWIDTH_ESTIMATE - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The bandwidth estimate has been updated.
EVENT_DOWNSTREAM_FORMAT_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The downstream format sent to renderers changed.
EVENT_DRM_KEYS_LOADED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
DRM keys were loaded.
EVENT_DRM_KEYS_REMOVED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
DRM keys were removed.
EVENT_DRM_KEYS_RESTORED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
DRM keys were restored.
EVENT_DRM_SESSION_ACQUIRED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A DRM session has been acquired.
EVENT_DRM_SESSION_MANAGER_ERROR - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A non-fatal DRM session manager error occurred.
EVENT_DRM_SESSION_RELEASED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A DRM session has been released.
EVENT_DROPPED_VIDEO_FRAMES - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Video frames have been dropped.
EVENT_IS_LOADING_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Player.isLoading() ()} changed.
EVENT_IS_LOADING_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
Player.isLoading() ()} changed.
EVENT_IS_PLAYING_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_IS_PLAYING_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_KEY_EXPIRED - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Event indicating that keys have expired, and are no longer usable.
EVENT_KEY_REQUIRED - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Event indicating that keys need to be requested from the license server.
EVENT_LOAD_CANCELED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A source canceled loading data.
EVENT_LOAD_COMPLETED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A source started completed loading data.
EVENT_LOAD_ERROR - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A source had a non-fatal error loading data.
EVENT_LOAD_STARTED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A source started loading data.
EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_MEDIA_ITEM_TRANSITION - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Player.getCurrentMediaItem() changed or the player started repeating the current item.
EVENT_MEDIA_ITEM_TRANSITION - Static variable in interface com.google.android.exoplayer2.Player
Player.getCurrentMediaItem() changed or the player started repeating the current item.
EVENT_MEDIA_METADATA_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_MEDIA_METADATA_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_METADATA - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Metadata associated with the current playback time was reported.
EVENT_PLAY_WHEN_READY_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_PLAY_WHEN_READY_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_PLAYBACK_PARAMETERS_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_PLAYBACK_PARAMETERS_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_PLAYBACK_STATE_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_PLAYBACK_STATE_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_PLAYER_ERROR - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_PLAYER_ERROR - Static variable in interface com.google.android.exoplayer2.Player
EVENT_PLAYER_RELEASED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The player was released.
EVENT_PLAYLIST_METADATA_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_PLAYLIST_METADATA_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_POSITION_DISCONTINUITY - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A position discontinuity occurred.
EVENT_POSITION_DISCONTINUITY - Static variable in interface com.google.android.exoplayer2.Player
A position discontinuity occurred.
EVENT_PROVISION_REQUIRED - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Event indicating that a certificate needs to be requested from the provisioning server.
EVENT_RENDERED_FIRST_FRAME - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The first frame has been rendered since setting the surface, since the renderer was reset or since the stream changed.
EVENT_REPEAT_MODE_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_REPEAT_MODE_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_SEEK_BACK_INCREMENT_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_SEEK_BACK_INCREMENT_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_SEEK_FORWARD_INCREMENT_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_SEEK_FORWARD_INCREMENT_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_SHUFFLE_MODE_ENABLED_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_SHUFFLE_MODE_ENABLED_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_SKIP_SILENCE_ENABLED_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Skipping silences was enabled or disabled in the audio stream.
EVENT_SURFACE_SIZE_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The surface size changed.
EVENT_TIMELINE_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_TIMELINE_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_TRACK_SELECTION_PARAMETERS_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_TRACKS_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
EVENT_TRACKS_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
EVENT_UPSTREAM_DISCARDED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Data was removed from the end of the media buffer.
EVENT_VIDEO_CODEC_ERROR - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The video codec encountered an error.
EVENT_VIDEO_DECODER_INITIALIZED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A video renderer created a decoder.
EVENT_VIDEO_DECODER_RELEASED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A video renderer released a decoder.
EVENT_VIDEO_DISABLED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A video renderer was disabled.
EVENT_VIDEO_ENABLED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
A video renderer was enabled.
EVENT_VIDEO_FRAME_PROCESSING_OFFSET - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Video frame processing offset data has been reported.
EVENT_VIDEO_INPUT_FORMAT_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The format consumed by a video renderer changed.
EVENT_VIDEO_SIZE_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The video size changed.
EVENT_VOLUME_CHANGED - Static variable in interface com.google.android.exoplayer2.analytics.AnalyticsListener
The volume changed.
EventDispatcher() - Constructor for class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
Creates an event dispatcher.
EventDispatcher() - Constructor for class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Creates an event dispatcher.
EventDispatcher() - Constructor for class com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener.EventDispatcher
Creates an event dispatcher.
EventDispatcher(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
 
EventDispatcher(Handler, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
 
EventLogger - Class in com.google.android.exoplayer2.util
Logs events from Player and other core components using Log.
EventLogger(MappingTrackSelector) - Constructor for class com.google.android.exoplayer2.util.EventLogger
Creates event logger.
EventLogger(MappingTrackSelector, String) - Constructor for class com.google.android.exoplayer2.util.EventLogger
Creates event logger.
EventMessage - Class in com.google.android.exoplayer2.metadata.emsg
An Event Message (emsg) as defined in ISO 23009-1.
EventMessage(String, String, long, long, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
EventMessageDecoder - Class in com.google.android.exoplayer2.metadata.emsg
Decodes data encoded by EventMessageEncoder.
EventMessageDecoder() - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
 
EventMessageEncoder - Class in com.google.android.exoplayer2.metadata.emsg
Encodes data that can be decoded by EventMessageDecoder.
EventMessageEncoder() - Constructor for class com.google.android.exoplayer2.metadata.emsg.EventMessageEncoder
 
eventPlaybackPositionMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Position in the window or ad this event belongs to at the time of the event, in milliseconds.
events - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
The list of scheduled events.
events - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
EventMessages in the event stream.
Events(FlagSet) - Constructor for class com.google.android.exoplayer2.Player.Events
Creates an instance.
Events(FlagSet, SparseArray<AnalyticsListener.EventTime>) - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Creates an instance.
EventStream - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
EventStream(String, String, long, long[], EventMessage[]) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.EventStream
 
eventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The event stream belonging to the period.
eventTime - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndException
The event time at which the exception occurred.
eventTime - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndFormat
The event time associated with PlaybackStats.EventTimeAndFormat.format.
eventTime - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndPlaybackState
The event time at which the playback state became active.
EventTime(long, Timeline, int, MediaSource.MediaPeriodId, long, Timeline, int, MediaSource.MediaPeriodId, long, long) - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
 
EventTimeAndException(AnalyticsListener.EventTime, Exception) - Constructor for class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndException
Creates a new timed exception event.
EventTimeAndFormat(AnalyticsListener.EventTime, Format) - Constructor for class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndFormat
Creates a new timed format event.
EventTimeAndPlaybackState(AnalyticsListener.EventTime, @com.google.android.exoplayer2.analytics.PlaybackStats.PlaybackState int) - Constructor for class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndPlaybackState
Creates a new timed playback state event.
EXACT - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for exact seeking.
exceedAudioConstraintsIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to exceed the TrackSelectionParameters.maxAudioChannelCount and TrackSelectionParameters.maxAudioBitrate constraints when no selection can be made otherwise.
exceedRendererCapabilitiesIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to exceed renderer capabilities when no selection can be made otherwise.
exceedVideoConstraintsIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to exceed the TrackSelectionParameters.maxVideoWidth, TrackSelectionParameters.maxVideoHeight and TrackSelectionParameters.maxVideoBitrate constraints when no selection can be made otherwise.
exception - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndException
The exception that was thrown.
exception - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
exception - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.LoadErrorInfo
The exception associated to the load error.
exceptionCleared - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
exceptionThrown - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
exclude(BaseUrl, long) - Method in class com.google.android.exoplayer2.source.dash.BaseUrlExclusionList
Excludes the given base URL.
excludeMediaPlaylist(Uri, long) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
excludeMediaPlaylist(Uri, long) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Excludes the given media playlist for the given duration, in milliseconds.
exclusionDurationMs - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackSelection
The duration for which the failing resource should be excluded, in milliseconds.
execute(RunnableFutureTask<T, ?>, boolean) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Executes the provided RunnableFutureTask.
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.drm.LocalMediaDrmCallback
 
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
Executes a key request.
executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.LicenseServer
 
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.drm.LocalMediaDrmCallback
 
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
Executes a provisioning request.
executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.LicenseServer
 
executeRunnable(Runnable) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a Runnable.
ExecuteRunnable(String, Runnable) - Constructor for class com.google.android.exoplayer2.testutil.Action.ExecuteRunnable
 
exists() - Method in class com.google.android.exoplayer2.util.AtomicFile
Returns whether the file or its backup exists.
ExoDatabaseProvider - Class in com.google.android.exoplayer2.database
Deprecated.
ExoDatabaseProvider(Context) - Constructor for class com.google.android.exoplayer2.database.ExoDatabaseProvider
Deprecated.
 
ExoHostedTest - Class in com.google.android.exoplayer2.testutil
A HostActivity.HostedTest for ExoPlayer playback tests.
ExoHostedTest(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.ExoHostedTest
 
ExoHostedTest(String, long, boolean) - Constructor for class com.google.android.exoplayer2.testutil.ExoHostedTest
 
ExoMediaDrm - Interface in com.google.android.exoplayer2.drm
Used to obtain keys for decrypting protected media streams.
ExoMediaDrm.AppManagedProvider - Class in com.google.android.exoplayer2.drm
Provides an ExoMediaDrm instance owned by the app.
ExoMediaDrm.KeyRequest - Class in com.google.android.exoplayer2.drm
Contains data used to request keys from a license server.
ExoMediaDrm.KeyRequest.RequestType - Annotation Type in com.google.android.exoplayer2.drm
Key request types.
ExoMediaDrm.KeyStatus - Class in com.google.android.exoplayer2.drm
Defines the status of a key.
ExoMediaDrm.OnEventListener - Interface in com.google.android.exoplayer2.drm
Called when a DRM event occurs.
ExoMediaDrm.OnExpirationUpdateListener - Interface in com.google.android.exoplayer2.drm
Called when a session expiration update occurs.
ExoMediaDrm.OnKeyStatusChangeListener - Interface in com.google.android.exoplayer2.drm
Called when the keys in a DRM session change state.
ExoMediaDrm.Provider - Interface in com.google.android.exoplayer2.drm
Provider for ExoMediaDrm instances.
ExoMediaDrm.ProvisionRequest - Class in com.google.android.exoplayer2.drm
Contains data to request a certificate from a provisioning server.
ExoPlaybackException - Exception in com.google.android.exoplayer2
Thrown when a non locally recoverable playback failure occurs.
ExoPlaybackException.Type - Annotation Type in com.google.android.exoplayer2
The type of source that produced the error.
ExoPlayer - Interface in com.google.android.exoplayer2
An extensible media player that plays MediaSources.
ExoPlayer.AudioComponent - Interface in com.google.android.exoplayer2
Deprecated.
Use ExoPlayer, as the ExoPlayer.AudioComponent methods are defined by that interface.
ExoPlayer.AudioOffloadListener - Interface in com.google.android.exoplayer2
A listener for audio offload events.
ExoPlayer.Builder - Class in com.google.android.exoplayer2
A builder for ExoPlayer instances.
ExoPlayer.DeviceComponent - Interface in com.google.android.exoplayer2
Deprecated.
Use Player, as the ExoPlayer.DeviceComponent methods are defined by that interface.
ExoPlayer.TextComponent - Interface in com.google.android.exoplayer2
Deprecated.
Use Player, as the ExoPlayer.TextComponent methods are defined by that interface.
ExoPlayer.VideoComponent - Interface in com.google.android.exoplayer2
Deprecated.
Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that interface.
ExoplayerCuesDecoder - Class in com.google.android.exoplayer2.text
A SubtitleDecoder that decodes subtitle samples of type MimeTypes.TEXT_EXOPLAYER_CUES
ExoplayerCuesDecoder() - Constructor for class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
ExoPlayerLibraryInfo - Class in com.google.android.exoplayer2
Information about the media libraries.
ExoPlayerTestRunner - Class in com.google.android.exoplayer2.testutil
Helper class to run an ExoPlayer test.
ExoPlayerTestRunner.Builder - Class in com.google.android.exoplayer2.testutil
Builder to set-up an ExoPlayerTestRunner.
ExoTimeoutException - Exception in com.google.android.exoplayer2
A timeout of an operation on the ExoPlayer playback thread.
ExoTimeoutException(int) - Constructor for exception com.google.android.exoplayer2.ExoTimeoutException
Creates the timeout exception.
ExoTimeoutException.TimeoutOperation - Annotation Type in com.google.android.exoplayer2
The operation which produced the timeout error.
ExoTrackSelection - Interface in com.google.android.exoplayer2.trackselection
ExoTrackSelection.Definition - Class in com.google.android.exoplayer2.trackselection
Contains of a subset of selected tracks belonging to a TrackGroup.
ExoTrackSelection.Factory - Interface in com.google.android.exoplayer2.trackselection
Factory for ExoTrackSelection instances.
EXPECTED_PLAYING_TIME_MEDIA_DURATION_MS - Static variable in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
EXPECTED_PLAYING_TIME_UNSET - Static variable in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
expectedPresentationTimeUs - Variable in exception com.google.android.exoplayer2.audio.AudioSink.UnexpectedDiscontinuityException
The expected presentation time of a sample, in microseconds.
experimentalFlushWithoutAudioTrackRelease() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Flushes the sink, after which it is ready to receive buffers from a new playback position.
experimentalFlushWithoutAudioTrackRelease() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
experimentalFlushWithoutAudioTrackRelease() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
experimentalIsSleepingForOffload() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns whether the player has paused its main loop to save power in offload scheduling mode.
experimentalIsSleepingForOffload() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
experimentalIsSleepingForOffload() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
experimentalSetEnableKeepAudioTrackOnSeek(boolean) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Sets whether to enable the experimental feature that keeps and flushes the AudioTrack when a seek occurs, as opposed to releasing and reinitialising.
experimentalSetEnableKeepAudioTrackOnSeek(boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Sets whether to enable the experimental feature that keeps and flushes the AudioTrack when a seek occurs, as opposed to releasing and reinitialising.
experimentalSetForegroundModeTimeoutMs(long) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets a limit on the time a call to ExoPlayer.setForegroundMode(boolean) can spend.
experimentalSetForegroundModeTimeoutMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
experimentalSetImmediateCodecStartAfterFlushEnabled(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Enable calling MediaCodec.start() immediately after MediaCodec.flush() on the playback thread, when operating the codec in asynchronous mode.
experimentalSetImmediateCodecStartAfterFlushEnabled(boolean) - Method in class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
Enable calling MediaCodec.start() immediately after MediaCodec.flush() on the playback thread, when operating the codec in asynchronous mode.
experimentalSetOffloadSchedulingEnabled(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets whether audio offload scheduling is enabled.
experimentalSetOffloadSchedulingEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
experimentalSetOffloadSchedulingEnabled(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Enable synchronizing codec interactions with asynchronous buffer queueing.
experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled(boolean) - Method in class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
Enable synchronizing codec interactions with asynchronous buffer queueing.
experimentalUseProgressiveMediaSourceForSubtitles(boolean) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
EXTENDED_SAR - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Value for aspect_ratio_idc indicating an extended aspect ratio, in H.264 and H.265 SPSs.
extension - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP extension bit (Word 0, bit 3).
EXTENSION_RENDERER_MODE_OFF - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
Do not allow use of extension renderers.
EXTENSION_RENDERER_MODE_ON - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
Allow use of extension renderers.
EXTENSION_RENDERER_MODE_PREFER - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
Allow use of extension renderers.
EXTRA_FROM_INDEX - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
EXTRA_INSTANCE_ID - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
The extra key of the instance id of the player notification manager.
EXTRA_TO_INDEX - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
extractAllSamplesFromFile(Extractor, Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Extracts all samples from the given file into a FakeTrackOutput.
Extractor - Interface in com.google.android.exoplayer2.extractor
Extracts media data from a container format.
Extractor.ReadResult - Annotation Type in com.google.android.exoplayer2.extractor
Result values that can be returned by Extractor.read(ExtractorInput, PositionHolder).
ExtractorAsserts - Class in com.google.android.exoplayer2.testutil
Assertion methods for Extractor.
ExtractorAsserts.AssertionConfig - Class in com.google.android.exoplayer2.testutil
A config for the assertions made (e.g.
ExtractorAsserts.AssertionConfig.Builder - Class in com.google.android.exoplayer2.testutil
Builder for ExtractorAsserts.AssertionConfig instances.
ExtractorAsserts.ExtractorFactory - Interface in com.google.android.exoplayer2.testutil
A factory for Extractor instances.
ExtractorAsserts.SimulationConfig - Class in com.google.android.exoplayer2.testutil
A config of different environments to simulate and extractor behaviours to test.
ExtractorInput - Interface in com.google.android.exoplayer2.extractor
Provides data to be consumed by an Extractor.
ExtractorOutput - Interface in com.google.android.exoplayer2.extractor
Receives stream level data extracted by an Extractor.
ExtractorsFactory - Interface in com.google.android.exoplayer2.extractor
Factory for arrays of Extractor instances.
ExtractorUtil - Class in com.google.android.exoplayer2.extractor
Extractor related utility methods.
extractSeekMap(Extractor, FakeExtractorOutput, DataSource, Uri) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Reads from the given input using the given Extractor, until it can produce the SeekMap and all of the track formats have been identified, or until the extractor encounters EOF.
extras - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional extras Bundle.
EXTRAS_SPEED - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
The name of the PlaybackStateCompat float extra with the value of Player.getPlaybackParameters().speed.

F

Factory() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.source.SilenceMediaSource.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory with default parameters.
Factory() - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink.Factory
Creates an instance.
Factory() - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
 
Factory() - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Creates an instance.
Factory() - Constructor for class com.google.android.exoplayer2.upstream.FileDataSource.Factory
 
Factory(int) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
 
Factory(int, int, int, float) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory.
Factory(int, int, int, float, float, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory.
Factory(int, int, int, int, int, float) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory.
Factory(int, int, int, int, int, float, float, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
Creates an adaptive track selection factory.
Factory(long, double, Random) - Constructor for class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Factory
Set up factory for FakeAdaptiveDataSets with a chunk duration and the standard deviation of the chunk size.
Factory(Context) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource.Factory
Creates an instance.
Factory(Context, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource.Factory
Creates an instance.
Factory(CronetEngineWrapper, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Deprecated.
Use Factory(CronetEngine, Executor) with an instantiated CronetEngine, or DefaultHttpDataSource for cases where CronetEngineWrapper.getCronetEngine() would have returned null.
Factory(ChunkExtractor.Factory, DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
Creates a new instance.
Factory(DashChunkSource.Factory, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Creates a new factory for DashMediaSources.
Factory(HlsDataSourceFactory) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Creates a new factory for HlsMediaSources.
Factory(SsChunkSource.Factory, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Creates a new factory for SsMediaSources.
Factory(FakeAdaptiveDataSet.Factory, FakeDataSource.Factory) - Constructor for class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
 
Factory(Cache, AtomicBoolean) - Constructor for class com.google.android.exoplayer2.testutil.FailOnCloseDataSink.Factory
Creates an instance.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Creates a new factory for DashMediaSources.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Creates a new factory for HlsMediaSources.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Creates a new factory for ProgressiveMediaSources, using the extractors provided by DefaultExtractorsFactory.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Creates a factory for SingleSampleMediaSources.
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
 
Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Creates a new factory for SsMediaSources.
Factory(DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
Factory(DataSource.Factory, ExtractorsFactory) - Constructor for class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Factory(DataSource.Factory, ProgressiveMediaExtractor.Factory) - Constructor for class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Creates a new factory for ProgressiveMediaSources.
Factory(DataSource.Factory, ResolvingDataSource.Resolver) - Constructor for class com.google.android.exoplayer2.upstream.ResolvingDataSource.Factory
 
Factory(DataSource.Factory, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSource.Factory
Creates an instance.
Factory(Call.Factory) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
Creates an instance.
Factory(CronetEngine, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Creates an instance.
FACTORY - Static variable in class com.google.android.exoplayer2.ext.flac.FlacExtractor
Factory that returns one extractor which is a FlacExtractor.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Factory for AmrExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
Factory for FlacExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
Factory for FlvExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Factory for MatroskaExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Factory for Mp3Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Factory for FragmentedMp4Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Factory for Mp4Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
Factory for OggExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
Factory for Ac3Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
Factory for Ac4Extractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Factory for AdtsExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
Factory for PsExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Factory for TsExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.extractor.wav.WavExtractor
Factory for WavExtractor instances.
FACTORY - Static variable in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
ChunkExtractor.Factory for instances of this class.
FACTORY - Static variable in class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
 
FACTORY - Static variable in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
HlsExtractorFactory implementation that produces MediaParserHlsMediaChunkExtractor for all container formats except WebVTT, for which a BundledHlsMediaChunkExtractor is returned.
FACTORY - Static variable in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Factory for DefaultHlsPlaylistTracker instances.
FACTORY - Static variable in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
A ProgressiveMediaExtractor.Factory for instances of this class, which rely on platform extractors through MediaParser.
FACTORY - Static variable in class com.google.android.exoplayer2.upstream.DummyDataSource
A factory that produces DummyDataSource.
FailOnCloseDataSink - Class in com.google.android.exoplayer2.testutil
A DataSink that can simulate caching the bytes being written to it, and then failing to persist them when FailOnCloseDataSink.close() is called.
FailOnCloseDataSink(Cache, AtomicBoolean) - Constructor for class com.google.android.exoplayer2.testutil.FailOnCloseDataSink
Creates an instance.
FailOnCloseDataSink.Factory - Class in com.google.android.exoplayer2.testutil
Factory to create a FailOnCloseDataSink.
failOnSpuriousAudioTimestamp - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
FAILURE_REASON_NONE - Static variable in class com.google.android.exoplayer2.offline.Download
The download isn't failed.
FAILURE_REASON_UNKNOWN - Static variable in class com.google.android.exoplayer2.offline.Download
The download is failed because of unknown reason.
failureReason - Variable in class com.google.android.exoplayer2.offline.Download
If Download.state is Download.STATE_FAILED then this is the cause, otherwise Download.FAILURE_REASON_NONE.
FAKE_MEDIA_ITEM - Static variable in class com.google.android.exoplayer2.testutil.FakeMediaSource
The media item used by the fake media source.
FAKE_MEDIA_ITEM - Static variable in class com.google.android.exoplayer2.testutil.FakeTimeline
The fake media item used by the fake timeline.
FAKE_PROVISION_REQUEST - Static variable in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
FakeAdaptiveDataSet - Class in com.google.android.exoplayer2.testutil
Fake data set emulating the data of an adaptive media source.
FakeAdaptiveDataSet.Factory - Class in com.google.android.exoplayer2.testutil
Factory for FakeAdaptiveDataSets.
FakeAdaptiveDataSet.Iterator - Class in com.google.android.exoplayer2.testutil
MediaChunkIterator for the chunks defined by a fake adaptive data set.
FakeAdaptiveMediaPeriod - Class in com.google.android.exoplayer2.testutil
Fake MediaPeriod that provides tracks from the given TrackGroupArray.
FakeAdaptiveMediaPeriod(TrackGroupArray, MediaSourceEventListener.EventDispatcher, Allocator, FakeChunkSource.Factory, long, TransferListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
FakeAdaptiveMediaSource - Class in com.google.android.exoplayer2.testutil
Fake MediaSource that provides a given timeline.
FakeAdaptiveMediaSource(Timeline, TrackGroupArray, FakeChunkSource.Factory) - Constructor for class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaSource
 
FakeAudioRenderer - Class in com.google.android.exoplayer2.testutil
FakeAudioRenderer(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeAudioRenderer
 
FakeChunkSource - Class in com.google.android.exoplayer2.testutil
Fake ChunkSource with adaptive media chunks of a given duration.
FakeChunkSource(ExoTrackSelection, DataSource, FakeAdaptiveDataSet) - Constructor for class com.google.android.exoplayer2.testutil.FakeChunkSource
 
FakeChunkSource.Factory - Class in com.google.android.exoplayer2.testutil
Factory for a FakeChunkSource.
FakeClock - Class in com.google.android.exoplayer2.testutil
Fake Clock implementation that allows to advance the time manually to trigger pending timed messages.
FakeClock(boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeClock
Creates a fake clock that assumes that the system was booted exactly at time 0 (the Unix Epoch) and an initialTimeMs of 0.
FakeClock(long) - Constructor for class com.google.android.exoplayer2.testutil.FakeClock
Creates a fake clock that doesn't auto-advance and assumes that the system was booted exactly at time 0 (the Unix Epoch) and initialTimeMs milliseconds have passed since system boot.
FakeClock(long, boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeClock
Creates a fake clock that assumes that the system was booted exactly at time 0 (the Unix Epoch) and initialTimeMs milliseconds have passed since system boot.
FakeClock(long, long, boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeClock
Creates a fake clock specifying when the system was booted and how much time has passed since then.
FakeClock.HandlerMessage - Class in com.google.android.exoplayer2.testutil
Message data saved to send messages or execute runnables at a later time on a Handler.
FakeCryptoConfig - Class in com.google.android.exoplayer2.testutil
FakeCryptoConfig() - Constructor for class com.google.android.exoplayer2.testutil.FakeCryptoConfig
 
fakeDataSet - Variable in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
FakeDataSet - Class in com.google.android.exoplayer2.testutil
Collection of FakeDataSet.FakeData to be served by a FakeDataSource.
FakeDataSet() - Constructor for class com.google.android.exoplayer2.testutil.FakeDataSet
 
FakeDataSet.FakeData - Class in com.google.android.exoplayer2.testutil
Container of fake data to be served by a FakeDataSource.
FakeDataSet.FakeData.Segment - Class in com.google.android.exoplayer2.testutil
A segment of FakeDataSet.FakeData.
FakeDataSource - Class in com.google.android.exoplayer2.testutil
A fake DataSource capable of simulating various scenarios.
FakeDataSource() - Constructor for class com.google.android.exoplayer2.testutil.FakeDataSource
 
FakeDataSource(FakeDataSet) - Constructor for class com.google.android.exoplayer2.testutil.FakeDataSource
 
FakeDataSource(FakeDataSet, boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeDataSource
 
FakeDataSource.Factory - Class in com.google.android.exoplayer2.testutil
Factory to create a FakeDataSource.
FakeExoMediaDrm - Class in com.google.android.exoplayer2.testutil
A fake implementation of ExoMediaDrm for use in tests.
FakeExoMediaDrm() - Constructor for class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Deprecated.
FakeExoMediaDrm(int) - Constructor for class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Deprecated.
FakeExoMediaDrm.Builder - Class in com.google.android.exoplayer2.testutil
Builder for FakeExoMediaDrm instances.
FakeExoMediaDrm.LicenseServer - Class in com.google.android.exoplayer2.testutil
An license server implementation to interact with FakeExoMediaDrm.
FakeExtractorInput - Class in com.google.android.exoplayer2.testutil
A fake ExtractorInput capable of simulating various scenarios.
FakeExtractorInput.Builder - Class in com.google.android.exoplayer2.testutil
Builder of FakeExtractorInput instances.
FakeExtractorInput.SimulatedIOException - Exception in com.google.android.exoplayer2.testutil
Thrown when simulating an IOException.
FakeExtractorOutput - Class in com.google.android.exoplayer2.testutil
FakeExtractorOutput() - Constructor for class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
FakeExtractorOutput(FakeTrackOutput.Factory) - Constructor for class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
FakeMediaChunk - Class in com.google.android.exoplayer2.testutil
FakeMediaChunk(Format, long, long) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaChunk
Creates a fake media chunk.
FakeMediaChunk(Format, long, long, int) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaChunk
Creates a fake media chunk.
FakeMediaChunkIterator - Class in com.google.android.exoplayer2.testutil
FakeMediaChunkIterator(long[], long[]) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
Creates a fake MediaChunkIterator.
FakeMediaClockRenderer - Class in com.google.android.exoplayer2.testutil
Fake abstract Renderer which is also a MediaClock.
FakeMediaClockRenderer(int) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaClockRenderer
 
FakeMediaPeriod - Class in com.google.android.exoplayer2.testutil
Fake MediaPeriod that provides tracks from the given TrackGroupArray.
FakeMediaPeriod(TrackGroupArray, Allocator, long, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Constructs a FakeMediaPeriod with a single sample for each track in trackGroupArray.
FakeMediaPeriod(TrackGroupArray, Allocator, long, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Constructs a FakeMediaPeriod with a single sample for each track in trackGroupArray.
FakeMediaPeriod(TrackGroupArray, Allocator, FakeMediaPeriod.TrackDataFactory, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Constructs a FakeMediaPeriod.
FakeMediaPeriod.TrackDataFactory - Interface in com.google.android.exoplayer2.testutil
A factory to create the test data for a particular track.
FakeMediaSource - Class in com.google.android.exoplayer2.testutil
Fake MediaSource that provides a given timeline.
FakeMediaSource() - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a FakeMediaSource with a default FakeTimeline.
FakeMediaSource(Timeline, DrmSessionManager, Format...) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a FakeMediaSource.
FakeMediaSource(Timeline, DrmSessionManager, FakeMediaPeriod.TrackDataFactory, Format...) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a FakeMediaSource.
FakeMediaSource(Timeline, DrmSessionManager, FakeMediaPeriod.TrackDataFactory, TrackGroupArray) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a FakeMediaSource.
FakeMediaSource(Timeline, Format...) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSource
Creates a FakeMediaSource.
FakeMediaSource.InitialTimeline - Class in com.google.android.exoplayer2.testutil
A forwarding timeline to provide an initial timeline for fake multi window sources.
FakeMediaSourceFactory - Class in com.google.android.exoplayer2.testutil
Fake MediaSourceFactory that creates a FakeMediaSource.
FakeMediaSourceFactory() - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
 
FakeMetadataEntry - Class in com.google.android.exoplayer2.testutil
FakeMetadataEntry(String) - Constructor for class com.google.android.exoplayer2.testutil.FakeMetadataEntry
 
FakeRenderer - Class in com.google.android.exoplayer2.testutil
Fake Renderer that supports any format with the matching track type.
FakeRenderer(@com.google.android.exoplayer2.C.TrackType int) - Constructor for class com.google.android.exoplayer2.testutil.FakeRenderer
 
FakeSampleStream - Class in com.google.android.exoplayer2.testutil
Fake SampleStream that outputs a given Format and any amount of items.
FakeSampleStream(Allocator, MediaSourceEventListener.EventDispatcher, DrmSessionManager, DrmSessionEventListener.EventDispatcher, Format, List<FakeSampleStream.FakeSampleStreamItem>) - Constructor for class com.google.android.exoplayer2.testutil.FakeSampleStream
Creates a fake sample stream which outputs the given Format followed by the provided items.
FakeSampleStream.FakeSampleStreamItem - Class in com.google.android.exoplayer2.testutil
FakeShuffleOrder - Class in com.google.android.exoplayer2.testutil
Fake ShuffleOrder which returns a reverse order.
FakeShuffleOrder(int) - Constructor for class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
FakeTimeline - Class in com.google.android.exoplayer2.testutil
Fake Timeline which can be setup to return custom FakeTimeline.TimelineWindowDefinitions.
FakeTimeline() - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline
Create a fake timeline with one seekable, non-dynamic window with one period and a duration of FakeTimeline.TimelineWindowDefinition.DEFAULT_WINDOW_DURATION_US.
FakeTimeline(int, Object...) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline
Creates a fake timeline with the given number of seekable, non-dynamic windows with one period with a duration of FakeTimeline.TimelineWindowDefinition.DEFAULT_WINDOW_DURATION_US each.
FakeTimeline(FakeTimeline.TimelineWindowDefinition...) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline
Creates a fake timeline with the given window definitions.
FakeTimeline(Object[], FakeTimeline.TimelineWindowDefinition...) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline
Creates a fake timeline with the given window definitions.
FakeTimeline.TimelineWindowDefinition - Class in com.google.android.exoplayer2.testutil
Definition used to define a FakeTimeline.
FakeTrackOutput - Class in com.google.android.exoplayer2.testutil
A fake TrackOutput.
FakeTrackOutput(boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
FakeTrackOutput.Factory - Interface in com.google.android.exoplayer2.testutil
Factory for FakeTrackOutput instances.
FakeTrackSelection - Class in com.google.android.exoplayer2.testutil
A fake ExoTrackSelection that only returns 1 fixed track, and allows querying the number of calls to its methods.
FakeTrackSelection(TrackGroup) - Constructor for class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
FakeTrackSelector - Class in com.google.android.exoplayer2.testutil
FakeTrackSelector() - Constructor for class com.google.android.exoplayer2.testutil.FakeTrackSelector
 
FakeTrackSelector(boolean) - Constructor for class com.google.android.exoplayer2.testutil.FakeTrackSelector
 
FakeTransferListener() - Constructor for class com.google.android.exoplayer2.testutil.DataSourceContractTest.FakeTransferListener
 
FakeVideoRenderer - Class in com.google.android.exoplayer2.testutil
FakeVideoRenderer(Handler, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
FALLBACK_TYPE_LOCATION - Static variable in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Fallback to the same resource at a different location (i.e., a different URL through which the exact same data can be requested).
FALLBACK_TYPE_TRACK - Static variable in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Fallback to a different track (i.e., a different representation of the same content; for example the same video encoded at a different bitrate or resolution).
fallbackDecoderInitializationException - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
If the decoder failed to initialize and another decoder being used as a fallback also failed to initialize, the MediaCodecRenderer.DecoderInitializationException for the fallback decoder.
FallbackOptions(int, int, int, int) - Constructor for class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackOptions
Creates an instance.
FallbackSelection(int, long) - Constructor for class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackSelection
Creates an instance.
fastForwardActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
fatalErrorCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of fatal errors.
fatalErrorHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The history of fatal errors as EventTimeAndExceptions ordered by EventTime.realTimeMs.
fatalErrorPlaybackCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of playback with at least one fatal error.
FEATURE_CACHE_CONTENT_METADATA - Static variable in class com.google.android.exoplayer2.database.VersionTable
Version of tables used for cache content metadata.
FEATURE_CACHE_FILE_METADATA - Static variable in class com.google.android.exoplayer2.database.VersionTable
Version of tables used for cache file metadata.
FEATURE_EXTERNAL - Static variable in class com.google.android.exoplayer2.database.VersionTable
Version of tables used from external features.
FEATURE_OFFLINE - Static variable in class com.google.android.exoplayer2.database.VersionTable
Version of tables used for offline functionality.
FfmpegAudioRenderer - Class in com.google.android.exoplayer2.ext.ffmpeg
Decodes and renders audio using FFmpeg.
FfmpegAudioRenderer() - Constructor for class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
FfmpegAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
Creates a new instance.
FfmpegAudioRenderer(Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
Creates a new instance.
FfmpegDecoderException - Exception in com.google.android.exoplayer2.ext.ffmpeg
Thrown when an FFmpeg decoder error occurs.
FfmpegLibrary - Class in com.google.android.exoplayer2.ext.ffmpeg
Configures and queries the underlying native library.
FIELD_CUSTOM_ID_BASE - Static variable in exception com.google.android.exoplayer2.PlaybackException
Defines a minimum field id value for subclasses to use when implementing PlaybackException.toBundle() and Bundleable.Creator.
file - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The file corresponding to this CacheSpan, or null if CacheSpan.isCached is false.
FileDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading local files.
FileDataSource() - Constructor for class com.google.android.exoplayer2.upstream.FileDataSource
 
FileDataSource.Factory - Class in com.google.android.exoplayer2.upstream
FileDataSource.FileDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when a FileDataSource encounters an error reading a file.
FileDataSourceException(Exception) - Constructor for exception com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException
FileDataSourceException(String, IOException) - Constructor for exception com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException
FileDataSourceException(String, Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException
Creates a FileDataSourceException.
FileDataSourceException(Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.FileDataSource.FileDataSourceException
Creates a FileDataSourceException.
filename - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
FileTypes - Class in com.google.android.exoplayer2.util
Defines common file type constants and helper methods.
FileTypes.Type - Annotation Type in com.google.android.exoplayer2.util
File types.
FilterableManifest<T> - Interface in com.google.android.exoplayer2.offline
A manifest that can generate copies of itself including only the streams specified by the given keys.
FilteringHlsPlaylistParserFactory - Class in com.google.android.exoplayer2.source.hls.playlist
A HlsPlaylistParserFactory that includes only the streams identified by the given stream keys.
FilteringHlsPlaylistParserFactory(HlsPlaylistParserFactory, List<StreamKey>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
 
FilteringManifestParser<T extends FilterableManifest<T>> - Class in com.google.android.exoplayer2.offline
A manifest parser that includes only the streams identified by the given stream keys.
FilteringManifestParser(ParsingLoadable.Parser<? extends T>, List<StreamKey>) - Constructor for class com.google.android.exoplayer2.offline.FilteringManifestParser
 
filterRequirements(int) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Filters the requirements, returning the subset that are enabled by the provided filter.
findNalUnit(byte[], int, int, boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Finds the first NAL unit in data.
findNextCueHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Reads lines up to and including the next WebVTT cue header.
findSyncBytePosition(byte[], int, int) - Static method in class com.google.android.exoplayer2.extractor.ts.TsUtil
Returns the position of the first TS_SYNC_BYTE within the range [startPosition, limitPosition) from the provided data array, or returns limitPosition if sync byte could not be found.
findTrueHdSyncframeOffset(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the offset relative to the buffer's position of the start of a TrueHD syncframe, or C.INDEX_UNSET if no syncframe was found.
finishAllSessions(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
finishAllSessions(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Finishes all existing sessions and calls their respective PlaybackSessionManager.Listener.onSessionFinished(EventTime, String, boolean) callback.
first - Variable in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
The first seek point.
firstPeriodIndex - Variable in class com.google.android.exoplayer2.Timeline.Window
The index of the first period that belongs to this window.
firstReportedTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The elapsed real-time as returned by SystemClock.elapsedRealtime() of the first reported playback event, or C.TIME_UNSET if no event has been reported.
FixedTrackSelection - Class in com.google.android.exoplayer2.trackselection
A TrackSelection consisting of a single track.
FixedTrackSelection(TrackGroup, int) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
FixedTrackSelection(TrackGroup, int, @com.google.android.exoplayer2.trackselection.TrackSelection.Type int) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
FixedTrackSelection(TrackGroup, int, @com.google.android.exoplayer2.trackselection.TrackSelection.Type int, int, Object) - Constructor for class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
fixSmoothStreamingIsmManifestUri(Uri) - Static method in class com.google.android.exoplayer2.util.Util
If the provided URI is an ISM Presentation URI, returns the URI with "Manifest" appended to its path (i.e., the corresponding default manifest URI).
FLAC - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the FLAC format.
FlacConstants - Class in com.google.android.exoplayer2.extractor.flac
Defines constants used by the FLAC extractor.
FlacDecoder - Class in com.google.android.exoplayer2.ext.flac
Flac decoder.
FlacDecoder(int, int, int, List<byte[]>) - Constructor for class com.google.android.exoplayer2.ext.flac.FlacDecoder
Creates a Flac decoder.
FlacDecoderException - Exception in com.google.android.exoplayer2.ext.flac
Thrown when an Flac decoder error occurs.
FlacExtractor - Class in com.google.android.exoplayer2.ext.flac
Facilitates the extraction of data from the FLAC container format.
FlacExtractor - Class in com.google.android.exoplayer2.extractor.flac
Extracts data from FLAC container format.
FlacExtractor() - Constructor for class com.google.android.exoplayer2.ext.flac.FlacExtractor
Constructs an instance with flags = 0.
FlacExtractor() - Constructor for class com.google.android.exoplayer2.extractor.flac.FlacExtractor
Constructs an instance with flags = 0.
FlacExtractor(int) - Constructor for class com.google.android.exoplayer2.ext.flac.FlacExtractor
Constructs an instance.
FlacExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.flac.FlacExtractor
Constructs an instance.
FlacExtractor.Flags - Annotation Type in com.google.android.exoplayer2.ext.flac
Flags controlling the behavior of the extractor.
FlacExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.flac
Flags controlling the behavior of the extractor.
FlacFrameReader - Class in com.google.android.exoplayer2.extractor
Reads and peeks FLAC frame elements according to the FLAC format specification.
FlacFrameReader.SampleNumberHolder - Class in com.google.android.exoplayer2.extractor
Holds a sample number.
FlacLibrary - Class in com.google.android.exoplayer2.ext.flac
Configures and queries the underlying native library.
FlacMetadataReader - Class in com.google.android.exoplayer2.extractor
Reads and peeks FLAC stream metadata elements according to the FLAC format specification.
FlacMetadataReader.FlacStreamMetadataHolder - Class in com.google.android.exoplayer2.extractor
FlacSeekTableSeekMap - Class in com.google.android.exoplayer2.extractor
A SeekMap implementation for FLAC streams that contain a seek table.
FlacSeekTableSeekMap(FlacStreamMetadata, long) - Constructor for class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
Creates a seek map from the FLAC stream seek table.
flacStreamMetadata - Variable in class com.google.android.exoplayer2.extractor.FlacMetadataReader.FlacStreamMetadataHolder
The FLAC stream metadata.
FlacStreamMetadata - Class in com.google.android.exoplayer2.extractor
Holder for FLAC metadata.
FlacStreamMetadata(byte[], int) - Constructor for class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Parses binary FLAC stream info metadata.
FlacStreamMetadata(int, int, int, int, int, int, int, long, ArrayList<String>, ArrayList<PictureFrame>) - Constructor for class com.google.android.exoplayer2.extractor.FlacStreamMetadata
 
FlacStreamMetadata.SeekTable - Class in com.google.android.exoplayer2.extractor
A FLAC seek table.
FlacStreamMetadataHolder(FlacStreamMetadata) - Constructor for class com.google.android.exoplayer2.extractor.FlacMetadataReader.FlacStreamMetadataHolder
 
FLAG_ALLOW_CACHE_FRAGMENTATION - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
Allows fragmentation of this request into multiple cache files, meaning a cache eviction policy will be able to evict individual fragments of the data.
FLAG_ALLOW_GZIP - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
Allows an underlying network stack to request that the server use gzip compression.
FLAG_ALLOW_NON_IDR_KEYFRAMES - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
When extracting H.264 samples, whether to treat samples consisting of non-IDR I slices as synchronization samples (key-frames).
FLAG_AUDIBILITY_ENFORCED - Static variable in class com.google.android.exoplayer2.C
 
FLAG_BLOCK_ON_CACHE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
A flag indicating whether we will block reads if the cache key is locked.
FLAG_DATA_ALIGNMENT_INDICATOR - Static variable in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Indicates the presence of the data_alignment_indicator in the PES header.
FLAG_DETECT_ACCESS_UNITS - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
When extracting H.264 samples, whether to split the input stream into access units (samples) based on slice headers.
FLAG_DISABLE_ID3_METADATA - Static variable in class com.google.android.exoplayer2.ext.flac.FlacExtractor
Flag to disable parsing of ID3 metadata.
FLAG_DISABLE_ID3_METADATA - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
Flag to disable parsing of ID3 metadata.
FLAG_DISABLE_ID3_METADATA - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Flag to disable parsing of ID3 metadata.
FLAG_DISABLE_SEEK_FOR_CUES - Static variable in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Flag to disable seeking for cues.
FLAG_DONT_CACHE_IF_LENGTH_UNKNOWN - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
Prevents caching if the length cannot be resolved when the DataSource is opened.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Flag to force enable seeking using a constant bitrate assumption in cases where seeking would otherwise not be possible.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Flag to force enable seeking using a constant bitrate assumption in cases where seeking would otherwise not be possible.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Flag to force enable seeking using a constant bitrate assumption in cases where seeking would otherwise not be possible.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING_ALWAYS - Static variable in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
Like AmrExtractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING, except that seeking is also enabled in cases where the content length (and hence the duration of the media) is unknown.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING_ALWAYS - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Like Mp3Extractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING, except that seeking is also enabled in cases where the content length (and hence the duration of the media) is unknown.
FLAG_ENABLE_CONSTANT_BITRATE_SEEKING_ALWAYS - Static variable in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
Like AdtsExtractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING, except that seeking is also enabled in cases where the content length (and hence the duration of the media) is unknown.
FLAG_ENABLE_EMSG_TRACK - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to indicate that the extractor should output an event message metadata track.
FLAG_ENABLE_HDMV_DTS_AUDIO_STREAMS - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Sets whether HDMV DTS audio streams will be handled.
FLAG_ENABLE_INDEX_SEEKING - Static variable in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
Flag to force index seeking, in which a time-to-byte mapping is built as the file is read.
FLAG_IGNORE_AAC_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Prevents the creation of AdtsReader and LatmReader instances.
FLAG_IGNORE_CACHE_FOR_UNSET_LENGTH_REQUESTS - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
A flag indicating that the cache should be bypassed for requests whose lengths are unset.
FLAG_IGNORE_CACHE_ON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
A flag indicating whether the cache is bypassed following any cache related error.
FLAG_IGNORE_H264_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Prevents the creation of H264Reader instances.
FLAG_IGNORE_SPLICE_INFO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Prevents the creation of SectionPayloadReaders for splice information sections (SCTE-35).
FLAG_MIGHT_NOT_USE_FULL_NETWORK_SPEED - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
Indicates there are known external factors that might prevent the data from being loaded at full network speed (e.g.
FLAG_OMIT_SAMPLE_DATA - Static variable in interface com.google.android.exoplayer2.source.SampleStream
Specifies that DecoderInputBuffer.data, DecoderInputBuffer.supplementalData and DecoderInputBuffer.cryptoInfo should not be populated when reading a sample buffer.
FLAG_OVERRIDE_CAPTION_DESCRIPTORS - Static variable in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
Whether the list of closedCaptionFormats passed to DefaultTsPayloadReaderFactory(int, List) should be used in spite of any closed captions service descriptors.
FLAG_PAYLOAD_UNIT_START_INDICATOR - Static variable in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Indicates the presence of the payload_unit_start_indicator in the TS packet header.
FLAG_PEEK - Static variable in interface com.google.android.exoplayer2.source.SampleStream
Specifies that the read position should not be advanced if a sample buffer is read.
FLAG_RANDOM_ACCESS_INDICATOR - Static variable in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Indicates the presence of the random_access_indicator in the TS packet header adaptation field.
FLAG_READ_MOTION_PHOTO_METADATA - Static variable in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Flag to extract MotionPhotoMetadata from HEIC motion photos following the Google Photos Motion Photo File Format V1.1.
FLAG_READ_SEF_DATA - Static variable in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Flag to extract SlowMotionData metadata from Samsung Extension Format (SEF) slow motion videos.
FLAG_REQUIRE_FORMAT - Static variable in interface com.google.android.exoplayer2.source.SampleStream
Specifies that if a sample buffer would normally be read next, the format of the stream should be read instead.
FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to work around an issue in some video streams where every frame is marked as a sync frame.
FLAG_WORKAROUND_IGNORE_EDIT_LISTS - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to ignore any edit lists in the stream.
FLAG_WORKAROUND_IGNORE_EDIT_LISTS - Static variable in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Flag to ignore any edit lists in the stream.
FLAG_WORKAROUND_IGNORE_TFDT_BOX - Static variable in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
Flag to ignore any tfdt boxes in the stream.
flags - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
flags - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
Specify CONFIGURE_FLAG_ENCODE to configure the component as an encoder.
flags - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Request flags.
FlagSet - Class in com.google.android.exoplayer2.util
A set of integer flags.
FlagSet.Builder - Class in com.google.android.exoplayer2.util
A builder for FlagSet instances.
flip() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Flips DecoderInputBuffer.data and DecoderInputBuffer.supplementalData in preparation for being queued to a decoder.
floatElement(int, double) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when a float element is encountered.
floatElement(int, double) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when a float element is encountered.
flush() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Clears any buffered data and pending output.
flush() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Flushes the sink, after which it is ready to receive buffers from a new playback position.
flush() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
flush() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
flush() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
flush() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
flush() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Flushes the decoder.
flush() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
flush() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Flushes the adapter and the underlying MediaCodec.
flush() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
flush() - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
flush() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
flush() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
flush() - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
flush(int, int, int) - Method in interface com.google.android.exoplayer2.audio.TeeAudioProcessor.AudioBufferSink
Called when the audio processor is flushed with a format of subsequent input.
flush(int, int, int) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor.WavFileAudioBufferSink
 
flushDecoder() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Flushes the decoder.
flushEvents() - Method in class com.google.android.exoplayer2.util.ListenerSet
Notifies listeners of events previously enqueued with ListenerSet.queueEvent(int, Event).
flushOrReinitializeCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Flushes the codec.
flushOrReleaseCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Flushes the codec.
FLV - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the FLV format.
FlvExtractor - Class in com.google.android.exoplayer2.extractor.flv
Extracts data from the FLV container format.
FlvExtractor() - Constructor for class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
FMT_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "fmt ".
fmtpParameters - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
The format parameters, mapped from the SDP FMTP attribute (RFC2327 Page 22).
focusSkipButton() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Moves UI focus to the skip button (or other interactive elements), if currently shown.
focusSurface(EGLDisplay, EGLContext, EGLSurface, int, int) - Static method in class com.google.android.exoplayer2.util.GlUtil
Makes the specified surface the render target, using a viewport of width by height pixels.
FOLDER_TYPE_ALBUMS - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing media categorized by album.
FOLDER_TYPE_ARTISTS - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing media categorized by artist.
FOLDER_TYPE_GENRES - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing media categorized by genre.
FOLDER_TYPE_MIXED - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing media of mixed types.
FOLDER_TYPE_NONE - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for an item that is not a folder.
FOLDER_TYPE_PLAYLISTS - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing a playlist.
FOLDER_TYPE_TITLES - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing only playable media.
FOLDER_TYPE_YEARS - Static variable in class com.google.android.exoplayer2.MediaMetadata
Type for a folder containing media categorized by year.
folderType - Variable in class com.google.android.exoplayer2.MediaMetadata
FONT_SIZE_UNIT_EM - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
FONT_SIZE_UNIT_PERCENT - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
FONT_SIZE_UNIT_PIXEL - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
forAllSupportedMimeTypes() - Static method in class com.google.android.exoplayer2.robolectric.ShadowMediaCodecConfig
 
forceAllowInsecureDecoderComponents - Variable in class com.google.android.exoplayer2.drm.FrameworkCryptoConfig
Whether to allow use of insecure decoder components even if the underlying platform says otherwise.
forceDefaultLicenseUri - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Whether to force use of MediaItem.DrmConfiguration.licenseUri even if the media specifies its own DRM license server URI.
forceDisableAsynchronous() - Method in class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
Forces the factory to always create SynchronousMediaCodecAdapter instances.
forceDisableMediaCodecAsynchronousQueueing() - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Disables MediaCodecRenderer instances from operating their MediaCodec in asynchronous mode and perform asynchronous queueing.
forcedSessionTrackTypes - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
The types of tracks for which to always use a DRM session even if the content is unencrypted.
forceEnableAsynchronous() - Method in class com.google.android.exoplayer2.mediacodec.DefaultMediaCodecAdapterFactory
Forces this factory to always create AsynchronousMediaCodecAdapter instances, provided the device API level is >= 23.
forceEnableMediaCodecAsynchronousQueueing() - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Enables MediaCodecRenderer instances to operate their MediaCodec in asynchronous mode and perform asynchronous queueing.
forceHighestSupportedBitrate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Whether to force selection of the highest bitrate audio and video tracks that comply with all other constraints.
forceLowestBitrate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Whether to force selection of the single lowest bitrate audio and video tracks that comply with all other constraints.
forceSessionsForAudioAndVideoTracks(boolean) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets whether a DRM session should be used for clear tracks of type C.TRACK_TYPE_VIDEO and C.TRACK_TYPE_AUDIO.
forceStop() - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
forceStop() - Method in interface com.google.android.exoplayer2.testutil.HostActivity.HostedTest
Called on the main thread to force stop the test (if it is not stopped already).
forDash(Context, Uri, DataSource.Factory, RenderersFactory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
forDash(Uri, DataSource.Factory, RenderersFactory, DrmSessionManager, DefaultTrackSelector.Parameters) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
FOREGROUND_NOTIFICATION_ID_NONE - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Invalid foreground notification id that can be used to run the service in the background.
foregroundColor - Variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
The preferred foreground color.
foregroundPlaybackCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of playbacks which were the active foreground playback at some point.
forHls(Context, Uri, DataSource.Factory, RenderersFactory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
forHls(Uri, DataSource.Factory, RenderersFactory, DrmSessionManager, DefaultTrackSelector.Parameters) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
format - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndFormat
The format that started being used, or null if no format was used.
format - Variable in exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
Input Format of the sink when the configuration failure occurs.
format - Variable in exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
The input Format of the sink when the error occurs.
format - Variable in exception com.google.android.exoplayer2.audio.AudioSink.WriteException
The input Format of the sink when the error occurs.
format - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The Format.
format - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
The format of the input from which this output buffer was decoded.
format - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The format.
format - Variable in class com.google.android.exoplayer2.FormatHolder
The held Format.
format - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
The Format for which the codec is being configured.
format - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
format - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The format of the representation.
format - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
Format information associated with this rendition.
format - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
Format information associated with this variant.
format - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
The Format of this RTP payload.
format(Format) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
format(Format) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called when the Format of the track has been extracted from the stream.
format(Format) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
 
format(Format) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
format(Format) - Static method in class com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem
Creates an item representing the provided format.
format(Format) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
Format - Class in com.google.android.exoplayer2
Represents a media format.
FORMAT_EXCEEDS_CAPABILITIES - Static variable in class com.google.android.exoplayer2.C
The Renderer is capable of rendering formats with the same MIME type, but the properties of the format exceed the renderer's capabilities.
FORMAT_EXCEEDS_CAPABILITIES - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
FORMAT_HANDLED - Static variable in class com.google.android.exoplayer2.C
The Renderer is capable of rendering the format.
FORMAT_HANDLED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
Use C.FORMAT_HANDLED instead.
FORMAT_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
A mask to apply to RendererCapabilities.Capabilities to obtain the C.FormatSupport only.
FORMAT_UNSUPPORTED_DRM - Static variable in class com.google.android.exoplayer2.C
The Renderer is capable of rendering formats with the same MIME type, but is not capable of rendering the format because the format's drm protection is not supported.
FORMAT_UNSUPPORTED_DRM - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
FORMAT_UNSUPPORTED_SUBTYPE - Static variable in class com.google.android.exoplayer2.C
The Renderer is a general purpose renderer for formats of the same top-level type, but is not capable of rendering the format or any other format with the same MIME type because the sub-type is not supported.
FORMAT_UNSUPPORTED_SUBTYPE - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
FORMAT_UNSUPPORTED_TYPE - Static variable in class com.google.android.exoplayer2.C
The Renderer is not capable of rendering the format, either because it does not support the format's top-level type, or because it's a specialized renderer for a different MIME type.
FORMAT_UNSUPPORTED_TYPE - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
Deprecated.
Format.Builder - Class in com.google.android.exoplayer2
Builds Format instances.
FormatHolder - Class in com.google.android.exoplayer2
Holds a Format.
FormatHolder() - Constructor for class com.google.android.exoplayer2.FormatHolder
 
formatInvariant(String, Object...) - Static method in class com.google.android.exoplayer2.util.Util
Formats a string using Locale.US.
formats - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
forMediaItem(Context, MediaItem) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Creates a DownloadHelper for the given progressive media item.
forMediaItem(Context, MediaItem, RenderersFactory, DataSource.Factory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Creates a DownloadHelper for the given media item.
forMediaItem(MediaItem, DefaultTrackSelector.Parameters, RenderersFactory, DataSource.Factory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Creates a DownloadHelper for the given media item.
forMediaItem(MediaItem, DefaultTrackSelector.Parameters, RenderersFactory, DataSource.Factory, DrmSessionManager) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Creates a DownloadHelper for the given media item.
forProgressive(Context, Uri) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
forProgressive(Context, Uri, String) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
forResources(Iterable<WebServerDispatcher.Resource>) - Static method in class com.google.android.exoplayer2.testutil.WebServerDispatcher
Constructs a dispatcher that handles requests based the provided WebServerDispatcher.Resource instances.
forSmoothStreaming(Context, Uri, DataSource.Factory, RenderersFactory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
forSmoothStreaming(Uri, DataSource.Factory, RenderersFactory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
forSmoothStreaming(Uri, DataSource.Factory, RenderersFactory, DrmSessionManager, DefaultTrackSelector.Parameters) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
ForwardingAudioSink - Class in com.google.android.exoplayer2.audio
An overridable AudioSink implementation forwarding all methods to another sink.
ForwardingAudioSink(AudioSink) - Constructor for class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
ForwardingExtractorInput - Class in com.google.android.exoplayer2.extractor
An overridable ExtractorInput implementation forwarding all methods to another input.
ForwardingExtractorInput(ExtractorInput) - Constructor for class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
ForwardingPlayer - Class in com.google.android.exoplayer2
A Player that forwards operations to another Player.
ForwardingPlayer(Player) - Constructor for class com.google.android.exoplayer2.ForwardingPlayer
Creates a new instance that forwards all operations to player.
ForwardingTimeline - Class in com.google.android.exoplayer2.source
An overridable Timeline implementation forwarding all methods to another timeline.
ForwardingTimeline(Timeline) - Constructor for class com.google.android.exoplayer2.source.ForwardingTimeline
 
FragmentedMp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
Extracts data from the FMP4 container format.
FragmentedMp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster, Track) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster, Track, List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor(int, TimestampAdjuster, Track, List<Format>, TrackOutput) - Constructor for class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
FragmentedMp4Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp4
Flags controlling the behavior of the extractor.
frameMbsOnlyFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
frameNumLength - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
frameRate - Variable in class com.google.android.exoplayer2.Format
The frame rate in frames per second, or Format.NO_VALUE if unknown or not applicable.
frameSize - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The size of the frame.
frameSize - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
The size of the frame.
frameSize - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Size of the frame associated with this header, in bytes.
FrameworkCryptoConfig - Class in com.google.android.exoplayer2.drm
FrameworkCryptoConfig(UUID, byte[], boolean) - Constructor for class com.google.android.exoplayer2.drm.FrameworkCryptoConfig
 
FrameworkMediaDrm - Class in com.google.android.exoplayer2.drm
An ExoMediaDrm implementation that wraps the framework MediaDrm.
framingFlag - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
The framing_flag field.
fromBundle(Bundle) - Method in interface com.google.android.exoplayer2.Bundleable.Creator
Restores a Bundleable instance from a Bundle produced by Bundleable.toBundle().
fromBundleList(Bundleable.Creator<T>, List<Bundle>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a list of Bundle to a list of Bundleable.
fromBundleNullableList(Bundleable.Creator<T>, List<Bundle>, List<T>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a list of Bundle to a list of Bundleable.
fromBundleNullableSparseArray(Bundleable.Creator<T>, SparseArray<Bundle>, SparseArray<T>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a SparseArray of Bundle to a SparseArray of Bundleable.
fromNullableBundle(Bundleable.Creator<T>, Bundle) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a Bundle to a Bundleable.
fromNullableBundle(Bundleable.Creator<T>, Bundle, T) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a Bundle to a Bundleable.
fromUri(Uri) - Static method in class com.google.android.exoplayer2.MediaItem
Creates a MediaItem for the given URI.
fromUri(String) - Static method in class com.google.android.exoplayer2.MediaItem
Creates a MediaItem for the given URI.
fromUtf8Bytes(byte[]) - Static method in class com.google.android.exoplayer2.util.Util
Returns a new String constructed by decoding UTF-8 encoded bytes.
fromUtf8Bytes(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns a new String constructed by decoding UTF-8 encoded bytes in a subarray.
fullSegmentEncryptionKeyUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The encryption identity key uri as defined by #EXT-X-KEY, or null if the segment does not use full segment encryption with identity key.

G

GaplessInfoHolder - Class in com.google.android.exoplayer2.extractor
Holder for gapless playback information.
GaplessInfoHolder() - Constructor for class com.google.android.exoplayer2.extractor.GaplessInfoHolder
Creates a new holder for gapless playback information.
Gav1Decoder - Class in com.google.android.exoplayer2.ext.av1
Gav1 decoder.
Gav1Decoder(int, int, int, int) - Constructor for class com.google.android.exoplayer2.ext.av1.Gav1Decoder
Creates a Gav1Decoder.
Gav1DecoderException - Exception in com.google.android.exoplayer2.ext.av1
Thrown when a libgav1 decoder error occurs.
Gav1Library - Class in com.google.android.exoplayer2.ext.av1
Configures and queries the underlying native library.
generalLevelIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
generalProfileCompatibilityFlags - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
generalProfileIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
generalProfileSpace - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
generalTierFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
generateAudioSessionIdV21(Context) - Static method in class com.google.android.exoplayer2.C
generateAudioSessionIdV21(Context) - Static method in class com.google.android.exoplayer2.util.Util
Returns a newly generated audio session identifier, or AudioManager.ERROR if an error occurred in which case audio playback may fail.
generateCurrentPlayerMediaPeriodEventTime() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Generates an AnalyticsListener.EventTime for the currently playing item in the player.
generateEventTime(Timeline, int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Returns a new AnalyticsListener.EventTime for the specified timeline, window and media period id.
generateNewId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
Generates a new set of track and track format ids.
genre - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional genre.
genre - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
The genre (icy-genre).
GeobFrame - Class in com.google.android.exoplayer2.metadata.id3
GEOB (General Encapsulated Object) ID3 frame.
GeobFrame(String, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
get() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
get(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns the event at the given index.
get(int) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Retrieves the DrmInitData.SchemeData at a given index.
get(int) - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns the entry at the specified index.
get(int) - Method in class com.google.android.exoplayer2.Player.Commands
Returns the Player.Command at the given index.
get(int) - Method in class com.google.android.exoplayer2.Player.Events
Returns the Player.Event at the given index.
get(int) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
Returns the group at a given index.
get(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
Returns the selection at a given index.
get(int) - Method in class com.google.android.exoplayer2.util.FlagSet
Returns the flag at the given index.
get(int) - Method in class com.google.android.exoplayer2.util.LongArray
Returns the value at a specified index.
get(long, TimeUnit) - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
get(MediaItem) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider
 
get(MediaItem) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManagerProvider
Returns a DrmSessionManager for the given media item.
get(String, byte[]) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns a metadata value.
get(String, byte[]) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
get(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns a metadata value.
get(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
get(String, String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns a metadata value.
get(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
getAbandonedBeforeReadyRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of foreground playbacks which were abandoned before they were ready to play, or 0.0 if no playback has been in foreground.
getAc4SampleHeader(int, ParsableByteArray) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
Populates buffer with an AC-4 sample header for a sample of the specified size.
getActionIndicesForCompactView(List<String>, Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Gets an array with the indices of the buttons to be shown in compact mode.
getActions(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Gets the names and order of the actions to be included in the notification at the current player state.
getActiveQueueItemId(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Gets the id of the currently active queue item, or MediaSessionCompat.QueueItem.UNKNOWN_ID if the active item is unknown.
getActiveQueueItemId(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
getActiveSessionId() - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
getActiveSessionId() - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Returns the session identifier of the session that is currently actively playing, or null if there no such session.
getAdaptationSetIndex(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Period
Returns the index of the first adaptation set of a given type, or C.INDEX_UNSET if no adaptation set of the specified type exists.
getAdaptiveMimeTypeForContentType(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the MIME type corresponding to the given adaptive C.ContentType, or null if the content type is C.TYPE_OTHER.
getAdaptiveSupport(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
getAdaptiveSupport(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which a renderer supports adaptation between supported tracks in a specified TrackGroup.
getAdaptiveSupport(int, int, int[]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which a renderer supports adaptation between specified tracks within a TrackGroup.
getAdCountInAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the number of ads in the ad group at index adGroupIndex, or C.LENGTH_UNSET if not yet known.
getAdCountInGroup(AdPlaybackState, int) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the number of ads in an ad group, treating an unknown number as zero ads.
getAdDisplayContainer() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Returns the AdDisplayContainer used by this loader, or null if ads have not been requested yet.
getAdditionalSessionProviders(Context) - Method in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
 
getAdDurationUs(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the duration of the ad at index adIndexInAdGroup in the ad group at adGroupIndex, in microseconds, or C.TIME_UNSET if not yet known.
getAdGroup(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns the specified AdPlaybackState.AdGroup.
getAdGroupCount() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the number of ad groups in the period.
getAdGroupIndexAfterPositionUs(long) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the next ad group after positionUs in the period that has ads that should be played.
getAdGroupIndexAfterPositionUs(long, long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns the index of the next ad group after positionUs that should be played.
getAdGroupIndexForPositionUs(long) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the ad group at or before positionUs in the period that should be played before the content at positionUs.
getAdGroupIndexForPositionUs(long, long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns the index of the ad group at or before positionUs that should be played before the content at positionUs.
getAdGroupTimeUs(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the time of the ad group at index adGroupIndex in the period, in microseconds.
getAdjustedPlaybackSpeed(long, long) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
 
getAdjustedPlaybackSpeed(long, long) - Method in interface com.google.android.exoplayer2.LivePlaybackSpeedControl
Returns the adjusted playback speed in order get closer towards the target live offset.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Adjusts a seek position given the specified SeekParameters.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Adjusts a seek position given the specified SeekParameters.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns the position to which a seek will be performed, given the specified seek position and SeekParameters.
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
getAdjustedUpstreamFormat(Format) - Method in class com.google.android.exoplayer2.source.SampleQueue
Adjusts the upstream Format (i.e., the Format that was most recently passed to SampleQueue.format(Format)).
getAdjuster(int) - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.
getAdOverlayInfos() - Method in interface com.google.android.exoplayer2.ui.AdViewProvider
Returns a list of AdOverlayInfo instances describing views that are on top of the ad view group, but that are essential for controlling playback and should be excluded from ad viewability measurements.
getAdOverlayInfos() - Method in class com.google.android.exoplayer2.ui.PlayerView
 
getAdOverlayInfos() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
getAdResumePositionUs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the position offset in the first unplayed ad at which to begin playback, in microseconds.
getAdsId() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the opaque identifier for ads played with this period, or null if unset.
getAdsLoader() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Returns the underlying AdsLoader wrapped by this instance, or null if ads have not been requested yet.
getAdsLoader(MediaItem.AdsConfiguration) - Method in interface com.google.android.exoplayer2.source.DefaultMediaSourceFactory.AdsLoaderProvider
Returns an AdsLoader for the given ads configuration, or null if no ads loader is available for the given ads configuration.
getAdViewGroup() - Method in interface com.google.android.exoplayer2.ui.AdViewProvider
Returns the ViewGroup on top of the player that will show any ad UI, or null if playing audio-only ads.
getAdViewGroup() - Method in class com.google.android.exoplayer2.ui.PlayerView
 
getAdViewGroup() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
getAll() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
Returns the selections in a newly allocated array.
getAllData() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Returns a list of all data including defaultData.
getAllocator() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
getAllocator() - Method in interface com.google.android.exoplayer2.LoadControl
Returns the Allocator that should be used to obtain media buffer allocations.
getAllOutputBytes() - Method in class com.google.android.exoplayer2.robolectric.RandomizedMp3Decoder
Returns all arrays of bytes output from the decoder.
getAllowedCommands(MediaSession, MediaSession.ControllerInfo, SessionCommandGroup) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.AllowedCommandProvider
Called to query allowed commands in following cases: A MediaController requests to connect, and allowed commands is required to tell initial allowed commands.
getAllowedCommands(MediaSession, MediaSession.ControllerInfo, SessionCommandGroup) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.DefaultAllowedCommandProvider
 
getAllTrackSelections() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelector
Returns list of all FakeTrackSelections that this track selector has made so far.
getAnalyticsCollector() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the AnalyticsCollector used for collecting analytics events.
getAnalyticsCollector() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAnalyticsCollector() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getAndClearOpenedDataSpecs() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
Returns the DataSpec instances passed to FakeDataSource.open(DataSpec) since the last call to this method.
getAndResetSeekPosition() - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
Returns the last value passed to InputReaderAdapterV30.seekToPosition(long) and sets the stored value to C.POSITION_UNSET.
getApplicationLooper() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getApplicationLooper() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
getApplicationLooper() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the Looper associated with the application thread that's used to access the manager, and on which the manager will call its Listeners.
getApplicationLooper() - Method in interface com.google.android.exoplayer2.Player
Returns the Looper associated with the application thread that's used to access the player and on which player events are received.
getApplicationLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getApplicationLooper() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getApplicationLooper() - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Returns the Looper associated with the application thread that's used to access the transcoding transformer and on which transcoding transformer events are received.
getApplicationLooper() - Method in class com.google.android.exoplayer2.transformer.Transformer
Returns the Looper associated with the application thread that's used to access the transformer and on which transformer events are received.
getApproxBytesPerFrame() - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns the approximate number of bytes per frame for the current FLAC stream.
getAttribLocation(String) - Method in class com.google.android.exoplayer2.util.GlUtil.Program
Returns the location of an GlUtil.Attribute.
getAttributes() - Method in class com.google.android.exoplayer2.util.GlUtil.Program
Returns the program's GlUtil.Attributes.
getAttributeValue(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns the value of an attribute of the current start tag.
getAttributeValueIgnorePrefix(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns the value of an attribute of the current start tag.
getAudioAttributes() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
getAudioAttributes() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and returns AudioAttributes.DEFAULT.
getAudioAttributes() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getAudioAttributes() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getAudioAttributes() - Method in interface com.google.android.exoplayer2.Player
Returns the attributes for audio playback.
getAudioAttributes() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAudioAttributes() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getAudioAttributesV21() - Method in class com.google.android.exoplayer2.audio.AudioAttributes
Returns a AudioAttributes from this instance.
getAudioComponent() - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use ExoPlayer, as the ExoPlayer.AudioComponent methods are defined by that interface.
getAudioComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAudioComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
getAudioContentTypeForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.AudioContentType corresponding to the specified C.StreamType.
getAudioDecoderCounters() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns DecoderCounters for audio, or null if no audio is being played.
getAudioDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAudioDecoderCounters() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getAudioFormat() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the audio format currently being played, or null if no audio is being played.
getAudioFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAudioFormat() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getAudioMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the first audio MIME type derived from an RFC 6381 codecs string.
getAudioProcessors() - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Returns the fixed chain of audio processors that will process audio.
getAudioProcessors() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
getAudioSessionId() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
getAudioSessionId() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the audio session identifier, or C.AUDIO_SESSION_ID_UNSET if not set.
getAudioSessionId() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAudioSessionId() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getAudioString() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
Returns a string containing audio debugging information.
getAudioTrackChannelConfig(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the audio track channel configuration for the given channel count, or AudioFormat.CHANNEL_INVALID if output is not possible.
getAudioUnderrunRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean rate at which audio underruns occurred, in underruns per play time second, or 0.0 if no time was spent playing.
getAudioUsageForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.AudioUsage corresponding to the specified C.StreamType.
getAvailableCommands() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getAvailableCommands() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getAvailableCommands() - Method in interface com.google.android.exoplayer2.Player
Returns the player's currently available Player.Commands.
getAvailableCommands() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getAvailableCommands() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getAvailableCommands(Player.Commands) - Method in class com.google.android.exoplayer2.BasePlayer
Returns the Player.Commands available in the player.
getAvailableSegmentCount(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the number of available segments in the index.
getAvailableSegmentCount(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getAvailableSegmentCount(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getAvailableSegmentCount(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getBackBufferDurationUs() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
getBackBufferDurationUs() - Method in interface com.google.android.exoplayer2.LoadControl
Returns the duration of media to retain in the buffer prior to the current playback position, for fast backward seeking.
getBackgroundColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getBandwidthMeter() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the bandwidth meter used by the player.
getBandwidthMeter() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Returns a bandwidth meter which can be used by track selections to select tracks.
getBigEndianInt(ByteBuffer, int) - Static method in class com.google.android.exoplayer2.util.Util
Absolute get method for reading an int value in ByteOrder.BIG_ENDIAN in a ByteBuffer.
getBinder(Bundle, String) - Static method in class com.google.android.exoplayer2.util.BundleUtil
Gets an IBinder inside a Bundle for all Android versions.
getBitmap() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the cue image.
getBitmap(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns a Bitmap read from an asset file.
getBitmapHeight() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the bitmap height as a fraction of the viewport size.
getBitrateEstimate() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Returns the estimated bitrate.
getBitrateEstimate() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
getBufferedPercentage() - Method in class com.google.android.exoplayer2.BasePlayer
 
getBufferedPercentage() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getBufferedPercentage() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the percentage in the current content or ad up to which data is buffered, or 0 if no estimate is available.
getBufferedPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getBufferedPosition() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
getBufferedPosition() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getBufferedPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the position in the current content or ad up to which data is buffered, in milliseconds.
getBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getBufferedPosition() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Returns an estimate of the position up to which data is buffered.
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns an estimate of the position up to which data is buffered for the enabled tracks.
getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Returns an estimate of the position up to which data is buffered.
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
getBufferingState() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getBuildConfig() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns the configuration string with which the underlying library was built if available, or null otherwise.
getByteArray(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns the bytes of an asset file.
getBytePosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Returns the current byte offset.
getBytesDownloaded() - Method in class com.google.android.exoplayer2.offline.Download
Returns the total number of downloaded bytes.
getBytesFromHexString(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a byte array containing values parsed from the hex string provided.
getBytesRead() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Returns the total number of bytes that have been read from the data source.
getCache() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Returns the cache that will be used, or null if CacheDataSource.Factory.setCache(com.google.android.exoplayer2.upstream.cache.Cache) has yet to be called.
getCache() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Returns the Cache used by this instance.
getCachedBytes(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the total number of cached bytes between position (inclusive) and (position + length) (exclusive) of a resource.
getCachedBytes(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCachedLength(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the length of continuously cached data starting from position, up to a maximum of maxLength, of a resource.
getCachedLength(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCachedSpans(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the cached spans for a given resource.
getCachedSpans(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns a cache key for the representation if set, or null.
getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
getCacheKeyFactory() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Returns the CacheKeyFactory that will be used.
getCacheKeyFactory() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
Returns the CacheKeyFactory used by this instance.
getCacheSpace() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the total disk space in bytes used by the cache.
getCacheSpace() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getCameraMotionListener() - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
Returns the CameraMotionListener that should be registered during playback.
getCapabilities() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getCapabilities() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getCapabilities() - Method in interface com.google.android.exoplayer2.Renderer
Returns the capabilities of the renderer.
getCapabilities(Context) - Static method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns the current audio capabilities for the device.
getCastOptions(Context) - Method in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
 
getChannelCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.OpusUtil
Parses the channel count from an Opus Identification Header.
getChildIndexByChildUid(Object) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the index of the child timeline with the given UID or C.INDEX_UNSET if not found.
getChildIndexByPeriodIndex(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the index of the child timeline containing the given period index.
getChildIndexByWindowIndex(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the index of the child timeline containing the given window index.
getChildPeriodUidFromConcatenatedUid(Object) - Static method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns UID of the period in the child timeline from a concatenated period UID.
getChildTimelineUidFromConcatenatedUid(Object) - Static method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns UID of child timeline from a concatenated period UID.
getChildUidByChildIndex(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the UID of the child timeline with the given index.
getChunkCount() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
 
getChunkDuration(int) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
 
getChunkDurationUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Returns the duration of the specified chunk.
getChunkEndTimeUs() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns the media end time of the chunk, in microseconds.
getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
 
getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
 
getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
 
getChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
getChunkIndex() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor
Returns the ChunkIndex most recently obtained from the chunks, or null if a ChunkIndex has not been obtained.
getChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
 
getChunkIndex() - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Returns the most recently output ChunkIndex, or null if none has been output.
getChunkIndex(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
Obtains the index of the chunk corresponding to a given time.
getChunkIndex(long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Returns the index of the chunk that contains the specified time.
getChunkIndexByPosition(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
 
getChunkSource() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Returns the ChunkSource used by this stream.
getChunkStartTimeUs() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns the media start time of the chunk, in microseconds.
getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
 
getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
 
getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
 
getClock() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the Clock used for playback.
getClock() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getClock() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getClock() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the clock used by the player.
getCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
getCodecAdapterFactory() - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Returns the MediaCodecAdapter.Factory that will be used when creating MediaCodecRenderer instances.
getCodecCountOfType(String, @com.google.android.exoplayer2.C.TrackType int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the number of codec strings in codecs whose type matches trackType.
getCodecInfo() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
getCodecMaxInputSize(MediaCodecInfo, Format, Format[]) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns a maximum input size suitable for configuring a codec for format in a way that will allow possible adaptation to other compatible formats in streamFormats.
getCodecMaxValues(MediaCodecInfo, Format, Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns MediaCodecVideoRenderer.CodecMaxValues suitable for configuring a codec for format in a way that will allow possible adaptation to other compatible formats in streamFormats.
getCodecNeedsEosPropagation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns whether the codec needs the renderer to propagate the end-of-stream signal directly, rather than by using an end-of-stream buffer queued to the codec.
getCodecNeedsEosPropagation() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getCodecOperatingRate() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the operating rate used by the current codec
getCodecOperatingRateV23(float, Format, Format[]) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getCodecOperatingRateV23(float, Format, Format[]) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the MediaFormat.KEY_OPERATING_RATE value for a given playback speed, current Format and set of possible stream formats.
getCodecOperatingRateV23(float, Format, Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getCodecOutputMediaFormat() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
getCodecProfileAndLevel(Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns profile and level (as defined by MediaCodecInfo.CodecProfileLevel) corresponding to the codec description string (as defined by RFC 6381) of the given format.
getCodecsCorrespondingToMimeType(String, String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns a subsequence of codecs containing the codec strings that correspond to the given mimeType.
getCodecsOfType(String, @com.google.android.exoplayer2.C.TrackType int) - Static method in class com.google.android.exoplayer2.util.Util
Returns a copy of codecs without the codecs whose track type doesn't match trackType.
getCombinedPlaybackStats() - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
Returns the combined PlaybackStats for all playback sessions this listener was and is listening to.
getCombineUpright() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getCommaDelimitedSimpleClassNames(Object[]) - Static method in class com.google.android.exoplayer2.util.Util
Returns a string with comma delimited simple names of each object's class.
getCompressibleDataSpec(Uri) - Static method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
getConcatenatedUid(Object, Object) - Static method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns a concatenated UID for a period or window in a child timeline.
getConfiguration() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns the configuration set when the renderer was most recently enabled.
getConfiguration() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Returns the configuration set when the renderer was most recently enabled, or null if the renderer has never been enabled.
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getContentBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns an estimate of the content position in the current content up to which data is buffered, in milliseconds.
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getContentBufferedPosition() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getContentDuration() - Method in class com.google.android.exoplayer2.BasePlayer
 
getContentDuration() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getContentDuration() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the duration of the current content in milliseconds, or C.TIME_UNSET if the duration is not known.
getContentLength(ContentMetadata) - Static method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns the value stored under ContentMetadata.KEY_CONTENT_LENGTH, or C.LENGTH_UNSET if not set.
getContentLength(String, String) - Static method in class com.google.android.exoplayer2.upstream.HttpUtil
Attempts to parse the length of a response body from the corresponding response headers.
getContentMetadata(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns a ContentMetadata for the given resource.
getContentMetadata(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getContentPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getContentPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getContentPosition() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the content position that will be played once all ads in the ad group have finished playing, in milliseconds.
getContentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getContentPosition() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getContentResumeOffsetUs(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the offset in microseconds which should be added to the content stream when resuming playback after the specified ad group.
getControllerAutoShow() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
getControllerAutoShow() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
getControllerHideOnTouch() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the playback controls are hidden by touch events.
getControllerHideOnTouch() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns whether the playback controls are hidden by touch events.
getControllerShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the playback controls timeout.
getControllerShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns the playback controls timeout.
getCount() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns the numbers of downloads in the cursor.
getCount() - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
getCountryCode(Context) - Static method in class com.google.android.exoplayer2.util.Util
Returns the upper-case ISO 3166-1 alpha-2 country code of the current registered operator's MCC (Mobile Country Code), or the country code of the default Locale if not available.
getCreatedMediaPeriods() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Returns a list of MediaSource.MediaPeriodIds, with one element for each created media period.
getCryptoConfig() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns a CryptoConfig for the open session, or null if called before the session has been opened or after it's been released.
getCryptoConfig() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getCryptoType() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
getCryptoType() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Returns the type of CryptoConfig instances returned by ExoMediaDrm.createCryptoConfig(byte[]).
getCryptoType() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getCryptoType() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getCryptoType(Format) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
getCryptoType(Format) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Returns the C.CryptoType that the DRM session manager will use for a given Format.
getCues(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
Retrieve the cues that should be displayed at a given time.
getCues(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentAdGroupIndex() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the index of the ad group in the period currently being played.
getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentAdIndexInAdGroup() - Method in interface com.google.android.exoplayer2.Player
If Player.isPlayingAd() returns true, returns the index of the ad in its ad group.
getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentContentText(Player) - Method in class com.google.android.exoplayer2.ui.DefaultMediaDescriptionAdapter
 
getCurrentContentText(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the content text for the current media item.
getCurrentContentTitle(Player) - Method in class com.google.android.exoplayer2.ui.DefaultMediaDescriptionAdapter
 
getCurrentContentTitle(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the content title for the current media item.
getCurrentCues() - Method in interface com.google.android.exoplayer2.ExoPlayer.TextComponent
Deprecated.
getCurrentCues() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and returns an empty list.
getCurrentCues() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentCues() - Method in interface com.google.android.exoplayer2.Player
Returns the current Cues.
getCurrentCues() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentCues() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentDisplayModeSize(Context) - Static method in class com.google.android.exoplayer2.util.Util
Gets the size of the current mode of the default display, in pixels.
getCurrentDisplayModeSize(Context, Display) - Static method in class com.google.android.exoplayer2.util.Util
Gets the size of the current mode of the specified display, in pixels.
getCurrentDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns current downloads.
getCurrentIndex() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
Returns the current index this iterator is pointing to.
getCurrentInputPosition() - Method in class com.google.android.exoplayer2.source.BundledExtractorsAdapter
 
getCurrentInputPosition() - Method in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
getCurrentInputPosition() - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor
Returns the current read position in the input stream, or C.POSITION_UNSET if no input is available.
getCurrentLargeIcon(Player, PlayerNotificationManager.BitmapCallback) - Method in class com.google.android.exoplayer2.ui.DefaultMediaDescriptionAdapter
 
getCurrentLargeIcon(Player, PlayerNotificationManager.BitmapCallback) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the large icon for the current media item.
getCurrentLiveOffset() - Method in class com.google.android.exoplayer2.BasePlayer
 
getCurrentLiveOffset() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentLiveOffset() - Method in interface com.google.android.exoplayer2.Player
Returns the offset of the current playback position from the live edge in milliseconds, or C.TIME_UNSET if the current MediaItem Player.isCurrentMediaItemLive() isn't live} or the offset is unknown.
getCurrentManifest() - Method in class com.google.android.exoplayer2.BasePlayer
 
getCurrentManifest() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentManifest() - Method in interface com.google.android.exoplayer2.Player
Returns the current manifest.
getCurrentMappedTrackInfo() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Returns the mapping information for the currently active track selection, or null if no selection is currently active.
getCurrentMediaItem() - Method in class com.google.android.exoplayer2.BasePlayer
 
getCurrentMediaItem() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getCurrentMediaItem() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentMediaItem() - Method in interface com.google.android.exoplayer2.Player
Returns the currently playing MediaItem.
getCurrentMediaItemIndex() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentMediaItemIndex() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getCurrentMediaItemIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentMediaItemIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the current MediaItem in the timeline, or the prospective index if the current timeline is empty.
getCurrentMediaItemIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentMediaItemIndex() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentOrMainLooper() - Static method in class com.google.android.exoplayer2.util.Util
Returns the Looper associated with the current thread, or the Looper of the application's main thread if the current thread doesn't have a Looper.
getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentPeriodIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the period currently being played.
getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentPosition() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
getCurrentPosition() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getCurrentPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentPosition() - Method in interface com.google.android.exoplayer2.Player
Returns the playback position in the current content or ad, in milliseconds, or the prospective position in milliseconds if the current timeline is empty.
getCurrentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentPosition() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentPositionUs(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns the playback position in the stream starting at zero, in microseconds, or AudioSink.CURRENT_POSITION_NOT_SET if it is not yet available.
getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
getCurrentSubText(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
Gets the content sub text for the current media item.
getCurrentTimeline() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentTimeline() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentTimeline() - Method in interface com.google.android.exoplayer2.Player
Returns the current Timeline.
getCurrentTimeline() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentTimeline() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentTrackGroups() - Method in interface com.google.android.exoplayer2.Player
getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentTrackSelections() - Method in interface com.google.android.exoplayer2.Player
getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentTracksInfo() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getCurrentTracksInfo() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getCurrentTracksInfo() - Method in interface com.google.android.exoplayer2.Player
Returns the available tracks, as well as the tracks' support, type, and selection status.
getCurrentTracksInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getCurrentTracksInfo() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getCurrentUnixTimeMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the current time in milliseconds since the Unix epoch.
getCurrentUrlRequest() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Returns current UrlRequest.
getCurrentUrlResponseInfo() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Returns current UrlResponseInfo.
getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
getCurrentWindowIndex() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
getCustomAction(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CustomActionProvider
Returns a PlaybackStateCompat.CustomAction which will be published to the media session by the connector or null if this action should not be published at the given player state.
getCustomAction(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
 
getCustomActions(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Gets the actions to be included in the notification given the current player state.
getCustomCommands(MediaSession, MediaSession.ControllerInfo) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.CustomCommandProvider
Returns a SessionCommandGroup with custom commands to publish to the controller, or null if no custom commands should be published.
getData() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Returns the opaque key request data.
getData() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
Returns the opaque provisioning request data.
getData() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Returns the whole data added by FakeDataSet.FakeData.appendReadData(byte[]).
getData() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
Returns the data served by this resource.
getData() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
Returns the data written to the sink since the last call to ByteArrayDataSink.open(DataSpec), or null if ByteArrayDataSink.open(DataSpec) has never been called.
getData() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the underlying array.
getData(int) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
getData(Uri) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Returns the data for the given uri, or defaultData if no data is set.
getData(String) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Returns the data for the given uri, or defaultData if no data is set.
getDataHolder() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
Returns the array in which the data is held.
getDataSet() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
getDataSpec() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns the DataSpec used to load the media chunk.
getDataSpec() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
 
getDataSpec() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
 
getDataSpec() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
 
getDataSpec(int) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
getDataUriForString(String, String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a data URI with the specified MIME type and data.
getDebugString() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
Returns the debugging information string to be shown by the target TextView.
getDecodedBitrate() - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns the bitrate of the stream after it's decoded into PCM.
getDecoderInfo(String, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns information about the preferred decoder for a given mime type.
getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns a list of decoders that can decode media in the specified format, in priority order.
getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getDecoderInfos(String, boolean, boolean) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
Returns a list of decoders that can decode media in the specified MIME type, in priority order.
getDecoderInfos(String, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
 
getDecoderInfosSortedByFormatSupport(List<MediaCodecInfo>, Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns a copy of the provided decoder list sorted such that decoders with format support are listed first.
getDecryptOnlyDecoderInfo() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns information about a decoder that will only decrypt data, without decoding it.
getDefaultArtwork() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the default artwork to display.
getDefaultArtwork() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns the default artwork to display.
getDefaultDisplayLocale() - Static method in class com.google.android.exoplayer2.util.Util
Returns the default DISPLAY Locale.
getDefaultPositionMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the default position relative to the start of the window at which to begin playback, in milliseconds.
getDefaultPositionUs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the default position relative to the start of the window at which to begin playback, in microseconds.
getDefaults(Context) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns an instance configured with default values.
getDefaults(Context) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Returns an instance configured with default values.
getDefaultTrackSelectorParameters(Context) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the default parameters used for track selection for downloading.
getDefaultUrl() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
Returns the default URL of the provisioning server to which the request can be made, or the empty string if not known.
getDeleteAfterDelivery() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns whether the message will be deleted after delivery.
getDeviceComponent() - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use Player, as the ExoPlayer.DeviceComponent methods are defined by that interface.
getDeviceComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getDeviceComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
getDeviceInfo() - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated.
getDeviceInfo() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and always returns DeviceInfo.UNKNOWN.
getDeviceInfo() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getDeviceInfo() - Method in interface com.google.android.exoplayer2.Player
Gets the device information.
getDeviceInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getDeviceInfo() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getDeviceVolume() - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated.
getDeviceVolume() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and always returns 0.
getDeviceVolume() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getDeviceVolume() - Method in interface com.google.android.exoplayer2.Player
Gets the current volume of the device.
getDeviceVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getDeviceVolume() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getDocumentSize(String) - Static method in class com.google.android.exoplayer2.upstream.HttpUtil
Attempts to parse the document size from a Content-Range header.
getDownload() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns the download at the current position.
getDownload(String) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
getDownload(String) - Method in interface com.google.android.exoplayer2.offline.DownloadIndex
Returns the Download with the given id, or null.
getDownloadIndex() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the used DownloadIndex.
getDownloadManager() - Method in class com.google.android.exoplayer2.offline.DownloadService
Returns a DownloadManager to be used to downloaded content.
getDownloadRequest(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Builds a DownloadRequest for downloading the selected tracks.
getDownloadRequest(String, byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Builds a DownloadRequest for downloading the selected tracks.
getDownloads(int...) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
getDownloads(int...) - Method in interface com.google.android.exoplayer2.offline.DownloadIndex
Returns a DownloadCursor to Downloads with the given states.
getDownloadsPaused() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns whether downloads are currently paused.
getDrmUuid(String) - Static method in class com.google.android.exoplayer2.util.Util
Derives a DRM UUID from drmScheme.
getDroppedFramesRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean rate at which video frames are dropped, in dropped frames per play time second, or 0.0 if no time was spent playing.
getDtsFrameSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns the size in bytes of the given DTS frame.
getDummyDrmSessionManager() - Static method in interface com.google.android.exoplayer2.drm.DrmSessionManager
getDummySeekMap() - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Returns a dummy MediaParser.SeekMap, or null if not available.
getDuration() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getDuration() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
getDuration() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getDuration() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getDuration() - Method in interface com.google.android.exoplayer2.Player
Returns the duration of the current content or ad in milliseconds, or C.TIME_UNSET if the duration is not known.
getDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getDuration() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the duration of the period in milliseconds, or C.TIME_UNSET if unknown.
getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the duration of the window in milliseconds, or C.TIME_UNSET if unknown.
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns the duration of the FLAC stream in microseconds, or C.TIME_UNSET if the total number of samples if unknown.
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.IndexSeekMap
 
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
getDurationUs() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Returns the duration of the stream in microseconds.
getDurationUs() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
getDurationUs() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the duration of the chunk in microseconds.
getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the duration of this period in microseconds, or C.TIME_UNSET if unknown.
getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the duration of this window in microseconds, or C.TIME_UNSET if unknown.
getDurationUs(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the duration of a segment.
getDurationUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getDurationUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getEditedValues() - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Returns a map of metadata name, value pairs to be set.
getEglSurface(EGLDisplay, Object) - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns a new EGLSurface wrapping the specified surface.
getElapsedRealtimeOffsetMs() - Static method in class com.google.android.exoplayer2.util.SntpClient
Returns the offset between SystemClock.elapsedRealtime() and the NTP server time in milliseconds, or C.TIME_UNSET if SntpClient.isInitialized() returns false.
getElementType(int) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Maps an element ID to a corresponding type.
getElementType(int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Maps an element ID to a corresponding type.
getEncoding(String, String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the C.Encoding constant corresponding to the specified audio MIME type and RFC 6381 codec string, or C.ENCODING_INVALID if the corresponding C.Encoding cannot be determined.
getEndedRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of foreground playbacks which reached the ended state at least once, or 0.0 if no playback has been in foreground.
getEndTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns the result of adding the duration of the playlist to its start time.
getError() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns the cause of the error state, or null if DrmSession.getState() is not DrmSession.STATE_ERROR.
getError() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getErrorCodeForMediaDrmErrorCode(int) - Static method in class com.google.android.exoplayer2.C
getErrorCodeForMediaDrmErrorCode(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns a PlaybackException.ErrorCode value that corresponds to the provided MediaDrm.ErrorCodes value.
getErrorCodeForMediaDrmException(Exception, int) - Static method in class com.google.android.exoplayer2.drm.DrmUtil
Returns the PlaybackException.ErrorCode that corresponds to the given DRM-related exception.
getErrorCodeFromPlatformDiagnosticsInfo(String) - Static method in class com.google.android.exoplayer2.util.Util
Attempts to parse an error code from a diagnostic string found in framework media exceptions.
getErrorCodeName() - Method in exception com.google.android.exoplayer2.PlaybackException
getErrorCodeName(@com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Static method in exception com.google.android.exoplayer2.PlaybackException
Returns the name of a given errorCode.
getErrorMessage(T) - Method in interface com.google.android.exoplayer2.util.ErrorMessageProvider
Returns a pair consisting of an error code and a user readable error message for the given throwable.
getEventTime(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns the AnalyticsListener.EventTime for the specified event.
getEventTime(int) - Method in interface com.google.android.exoplayer2.text.Subtitle
Returns the event time at a specified index.
getEventTime(int) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getEventTimeCount() - Method in interface com.google.android.exoplayer2.text.Subtitle
Returns the number of event times, where events are defined as points in time at which the cues returned by Subtitle.getCues(long) changes.
getEventTimeCount() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getExpectedBytes() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource
Returns the expected contents of this resource.
getExtractorInputFromPosition(DataSource, long, Uri) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns an ExtractorInput to read from the given input at given position.
getFallbackSelectionFor(LoadErrorHandlingPolicy.FallbackOptions, LoadErrorHandlingPolicy.LoadErrorInfo) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Returns whether a loader should fall back to using another resource on encountering an error, and if so the duration for which the failing resource should be excluded.
getFallbackSelectionFor(LoadErrorHandlingPolicy.FallbackOptions, LoadErrorHandlingPolicy.LoadErrorInfo) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Returns whether a loader should fall back to using another resource on encountering an error, and if so the duration for which the failing resource should be excluded.
getFatalErrorRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the rate of fatal errors, in errors per play time second, or 0.0 if no time was spend playing.
getFatalErrorRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of foreground playbacks which experienced fatal errors, or 0.0 if no playback has been in foreground.
getFirstAdIndexToPlay() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns the index of the first ad in the ad group that should be played, or AdPlaybackState.AdGroup.count if no ads should be played.
getFirstAdIndexToPlay(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the first ad in the specified ad group that should be played, or the number of ads in the ad group if no ads should be played.
getFirstAvailableSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getFirstAvailableSegmentNum(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the segment number of the first available segment in the index.
getFirstAvailableSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getFirstAvailableSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getFirstAvailableSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getFirstIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the current absolute start index.
getFirstIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getFirstIndex() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the first index in the shuffle order, or C.INDEX_UNSET if the shuffle order is empty.
getFirstIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getFirstIndex() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
getFirstPeriodIndexByChildIndex(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the first period index belonging to the child timeline with the given index.
getFirstSampleIndex(int) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Returns the index of the first sample in the specified track of the output that will originate from this chunk.
getFirstSampleNumber(ExtractorInput, FlacStreamMetadata) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Returns the number of the first sample in the given frame.
getFirstSampleTimestampUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the value of the first adjusted sample timestamp in microseconds, or C.TIME_UNSET if timestamps will not be offset or if the adjuster is in shared mode.
getFirstSegmentNum() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the segment number of the first defined segment in the index.
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getFirstTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the timestamp of the first sample, or Long.MIN_VALUE if the queue is empty.
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the first window in the playback order depending on whether shuffling is enabled.
getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getFirstWindowIndexByChildIndex(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the first window index belonging to the child timeline with the given index.
getFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the specified flag has been set on this buffer.
getFontColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getFontFamily() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getFontSize() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getFontSizeUnit() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getForegroundNotification(List<Download>, int) - Method in class com.google.android.exoplayer2.offline.DownloadService
Returns a notification to be displayed when this service running in the foreground.
getFormat(byte[], Metadata) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a Format extracted from the FLAC stream metadata.
getFormat(int) - Method in class com.google.android.exoplayer2.source.TrackGroup
Returns the format of the track at a given index.
getFormat(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getFormat(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getFormat(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the format of the track at a given index in the selection.
getFormatHolder() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns a clear FormatHolder.
getFormatId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
Returns the last generated format id, with the format "programNumber/trackId".
getFormatLanguageScore(Format, String, boolean) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Returns a score for how well a language specified in a Format matches a given language.
getFormatsRead() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
Returns the list of formats read by the renderer.
getFormatSupport(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the C.FormatSupport from the combined RendererCapabilities.Capabilities.
getFormatSupport(Format) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns the level of support that the sink provides for a given Format.
getFormatSupport(Format) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
getFormatSupport(Format) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
getFormatSupportString(int) - Static method in class com.google.android.exoplayer2.C
getFormatSupportString(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns string representation of a C.FormatSupport flag.
getFrameSize(int) - Static method in class com.google.android.exoplayer2.audio.MpegAudioUtil
Returns the size of the frame associated with header, or C.LENGTH_UNSET if it is invalid.
getFrameStartMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Returns the frame start marker, consisting of the 2 first bytes of the first frame.
getFrameworkCryptoInfo() - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
Returns an equivalent MediaCodec.CryptoInfo instance.
getGzipSupport() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
Returns the level of gzip support the server should provide for this resource.
getH265NalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Returns the type of the H.265 NAL unit in data that starts at offset.
getHttpMethodString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns the uppercase HTTP method name (e.g., "GET", "POST", "HEAD") corresponding to the DataSpec.httpMethod.
getId(DownloadRequest) - Method in interface com.google.android.exoplayer2.offline.ActionFileUpgradeUtil.DownloadIdProvider
Returns a download id for given request.
getIncomingRtpDataSpec(int) - Static method in class com.google.android.exoplayer2.source.rtsp.RtpUtils
Returns the DataSpec with the Uri for incoming RTP connection.
getIndex() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns the index of the renderer within the player.
getIndex() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Returns the index of the renderer within the player.
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns an index if the representation provides one directly, or null otherwise.
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
 
getIndexInTrackGroup(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getIndexInTrackGroup(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getIndexInTrackGroup(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the track group of the track at a given index in the selection.
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the period identified by its unique Timeline.Period.uid, or C.INDEX_UNSET if the period is not in the timeline.
getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns a RangedUri defining the location of the representation's segment index, or null if the representation provides an index directly.
getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
getIndividualAllocationLength() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Returns the length of each individual Allocation.
getIndividualAllocationLength() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
Returns the RangedUri defining the location of initialization data for a given representation, or null if no initialization data exists.
getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
getInitializationUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Returns a RangedUri defining the location of the representation's initialization data, or null if no initialization data exists.
getInitialStartTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
getInitialStartTimeUs() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the start time of the first loaded primary playlist, or C.TIME_UNSET if no media playlist has been loaded.
getInitialTimeline() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
getInitialTimeline() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
getInitialTimeline() - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns the initial placeholder timeline that is returned immediately when the real timeline is not yet known, or null to let the player create an initial timeline.
getInitialTimeline() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
getInMemoryDatabaseProvider() - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns a DatabaseProvider that provides an in-memory database.
getInputBuffer(int) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Returns a writable ByteBuffer object for a dequeued input buffer index.
getInputBuffer(int) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
getInputBufferPaddingSize() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns the required amount of padding for input buffers in bytes, or C.LENGTH_UNSET if the underlying library is not available.
getInputStream(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns an InputStream for reading from an asset file.
getInputSurface() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Returns the input Surface, or null if the input is not a surface.
getInputSurface() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
getInstance() - Static method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
Returns a new instance.
getInstance(Context) - Static method in class com.google.android.exoplayer2.util.NetworkTypeObserver
Returns a network type observer instance.
getIntegerCodeForString(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns the integer equal to the big-endian concatenation of the characters in string as bytes.
getIsDisabled() - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Returns whether the renderer is disabled.
getItem(int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Returns the item that corresponds to the period with the given id, or null if no media queue or period with id periodId exist.
getJoinTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of foreground join time to the total time spent playing and waiting, or 0.0 if no time was spend playing or waiting.
getKeyId() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
Returns the ID of the key.
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Generates a key request.
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getKeys() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns the cache keys of all of the resources that are at least partially cached.
getKeys() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getKeySetId() - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Returns the key set ID of the offline license.
getLargestQueuedTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the largest sample timestamp that has been queued since the last SampleQueue.reset().
getLargestQueuedTimestampUs() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Returns the timestamp of the largest queued sample in the queue, or Long.MIN_VALUE if no samples are queued.
getLargestReadTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the largest sample timestamp that has been read since the last SampleQueue.reset().
getLastAdjustedTimestampUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the last adjusted timestamp, in microseconds.
getLastAvailableSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getLastIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getLastIndex() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the last index in the shuffle order, or C.INDEX_UNSET if the shuffle order is empty.
getLastIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getLastIndex() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
getLastOpenedUri() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Returns the Uri associated with the last StatsDataSource.open(DataSpec) call.
getLastResetPositionUs() - Method in class com.google.android.exoplayer2.BaseRenderer
getLastResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Returns the response headers associated with the last StatsDataSource.open(DataSpec) call.
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the last window in the playback order depending on whether shuffling is enabled.
getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getLength() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
getLength() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Returns the length of the source stream, or C.LENGTH_UNSET if it is unknown.
getLength() - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
getLength() - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
 
getLength() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getLength() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns length of shuffle order.
getLength() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getLength() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
getLength() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
getLicenseDurationRemainingSec(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Returns the remaining license and playback durations in seconds, for an offline license.
getLicenseDurationRemainingSec(DrmSession) - Static method in class com.google.android.exoplayer2.drm.WidevineUtil
Returns license and playback durations remaining in seconds.
getLicenseServerUrl() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Returns the URL of the license server to which the request should be made.
getLine() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the position of the lineAnchor of the cue box within the viewport in the direction orthogonal to the writing direction.
getLineAnchor() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the cue box anchor positioned by line.
getLineType() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the type of the value of Cue.Builder.getLine().
getList(IBinder) - Static method in class com.google.android.exoplayer2.BundleListRetriever
Gets a list of Bundles from a BundleListRetriever.
getLoadControl() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the LoadControl that will be used by the player.
getLocaleLanguageTag(Locale) - Static method in class com.google.android.exoplayer2.util.Util
Returns the language tag for a Locale.
getLocalPort() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
Returns the local port number opened for the UDP connection, or UdpDataSource.UDP_PORT_UNSET if no connection is open
getLogLevel() - Static method in class com.google.android.exoplayer2.util.Log
Returns current Log.LogLevel for ExoPlayer logcat logging.
getLooper() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the Looper the message is delivered on.
getLooper() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the Looper that will be used by the player, or null if no Looper has been set yet and no default is available.
getLooper() - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
getManifest() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the manifest, or null if no manifest is loaded.
getManifest(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Loads and parses a manifest.
getMappedTrackInfo(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the mapped track info for the given period.
getMasterPlaylist() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
getMasterPlaylist() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the master playlist.
getMaxChannelCount() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns the maximum number of channels the device can play at the same time.
getMaxDecodedFrameSize() - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns the maximum size for a decoded frame from the FLAC stream.
getMaxInputSize(MediaCodecInfo, Format) - Static method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns a maximum input buffer size for a given MediaCodec and Format.
getMaxParallelDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the maximum number of parallel downloads.
getMaxSeekToPreviousPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getMaxSeekToPreviousPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getMaxSeekToPreviousPosition() - Method in interface com.google.android.exoplayer2.Player
Returns the maximum position for which Player.seekToPrevious() seeks to the previous MediaItem, in milliseconds.
getMaxSeekToPreviousPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getMaxSeekToPreviousPosition() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getMaxStars() - Method in class com.google.android.exoplayer2.StarRating
Returns the maximum number of stars.
getMaxSupportedInstances() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns an upper bound on the maximum number of supported instances, or MediaCodecInfo.MAX_SUPPORTED_INSTANCES_UNKNOWN if unknown.
getMeanAudioFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean audio format bitrate, in bits per second, or C.LENGTH_UNSET if no audio format data is available.
getMeanBandwidth() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean network bandwidth based on transfer measurements, in bits per second, or C.LENGTH_UNSET if no transfer data is available.
getMeanElapsedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time covered by any playback state per playback, in milliseconds, or C.TIME_UNSET if no playback was recorded.
getMeanInitialAudioFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean initial audio format bitrate, in bits per second, or C.LENGTH_UNSET if no audio format data is available.
getMeanInitialVideoFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean initial video format bitrate, in bits per second, or C.LENGTH_UNSET if no video format data is available.
getMeanInitialVideoFormatHeight() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean initial video format height, in pixels, or C.LENGTH_UNSET if no video format data is available.
getMeanJoinTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent joining the playback, in milliseconds, or C.TIME_UNSET if no valid join time is available.
getMeanNonFatalErrorCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean number of non-fatal errors per foreground playback, or 0.0 if no playback has been in foreground.
getMeanPauseBufferCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean number of times a playback has been paused while rebuffering per foreground playback, or 0.0 if no playback has been in foreground.
getMeanPauseCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean number of times a playback has been paused per foreground playback, or 0.0 if no playback has been in foreground.
getMeanPausedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent in a paused state per foreground playback, in milliseconds, or C.TIME_UNSET if no playback has been in foreground.
getMeanPlayAndWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent playing or actively waiting for playback per foreground playback, in milliseconds, or C.TIME_UNSET if no playback has been in foreground.
getMeanPlayTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent actively playing per foreground playback, in milliseconds, or C.TIME_UNSET if no playback has been in foreground.
getMeanRebufferCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean number of times a rebuffer occurred per foreground playback, or 0.0 if no playback has been in foreground.
getMeanRebufferTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent rebuffering per foreground playback, in milliseconds, or C.TIME_UNSET if no playback has been in foreground.
getMeanSeekCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean number of times a seek occurred per foreground playback, or 0.0 if no playback has been in foreground.
getMeanSeekTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent per foreground playback from the start of a seek until playback is ready again, in milliseconds, or C.TIME_UNSET if no playback has been in foreground.
getMeanSingleRebufferTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent during a single rebuffer, in milliseconds, or C.TIME_UNSET if no rebuffer was recorded.
getMeanSingleSeekTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent from the start of a single seek until playback is ready again, in milliseconds, or C.TIME_UNSET if no seek occurred.
getMeanTimeBetweenFatalErrors() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean play time between fatal errors, in seconds.
getMeanTimeBetweenNonFatalErrors() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean play time between non-fatal errors, in seconds.
getMeanTimeBetweenRebuffers() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean play time between rebuffer events, in seconds.
getMeanVideoFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean video format bitrate, in bits per second, or C.LENGTH_UNSET if no video format data is available.
getMeanVideoFormatHeight() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean video format height, in pixels, or C.LENGTH_UNSET if no video format data is available.
getMeanWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the mean time spent actively waiting for playback per foreground playback, in milliseconds, or C.TIME_UNSET if no playback has been in foreground.
getMediaClock() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
getMediaClock() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getMediaClock() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getMediaClock() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getMediaClock() - Method in interface com.google.android.exoplayer2.Renderer
If the renderer advances its own playback position then this method returns a corresponding MediaClock.
getMediaClock() - Method in class com.google.android.exoplayer2.testutil.FakeMediaClockRenderer
 
getMediaCodecConfiguration(MediaCodecInfo, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getMediaCodecConfiguration(MediaCodecInfo, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the MediaCodecAdapter.Configuration that will be used to create and configure a MediaCodec to decode the given Format for a playback.
getMediaCodecConfiguration(MediaCodecInfo, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getMediaDescription(Player, int) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
Gets the MediaDescriptionCompat for a given timeline window index.
getMediaDuration(long) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Returns the media duration corresponding to the specified playout duration, taking speed adjustment due to audio processing into account.
getMediaDuration(long) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
getMediaDuration(long) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Returns the media duration corresponding to the specified playout duration, taking speed adjustment into account.
getMediaDurationForPlayoutDuration(long, float) - Static method in class com.google.android.exoplayer2.util.Util
Returns the duration of media that will elapse in playoutDuration.
getMediaFormat(Format, String, int, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Returns the framework MediaFormat that can be used to configure a MediaCodec for decoding the given Format for playback.
getMediaFormat(Format, String, MediaCodecVideoRenderer.CodecMaxValues, float, boolean, int) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns the framework MediaFormat that should be used to configure the decoder.
getMediaItem() - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
getMediaItem() - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns the MediaItem whose media is provided by the source.
getMediaItem() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
getMediaItem() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
getMediaItemAt(int) - Method in class com.google.android.exoplayer2.BasePlayer
 
getMediaItemAt(int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getMediaItemAt(int) - Method in interface com.google.android.exoplayer2.Player
Returns the MediaItem at the given index.
getMediaItemCount() - Method in class com.google.android.exoplayer2.BasePlayer
 
getMediaItemCount() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getMediaItemCount() - Method in interface com.google.android.exoplayer2.Player
Returns the number of media items in the playlist.
getMediaItemIndex() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns media item index at which the message will be delivered.
getMediaMetadata() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getMediaMetadata() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getMediaMetadata() - Method in interface com.google.android.exoplayer2.Player
Returns the current combined MediaMetadata, or MediaMetadata.EMPTY if not supported.
getMediaMetadata() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getMediaMetadata() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the MIME type corresponding to an RFC 6381 codec string, or null if it could not be determined.
getMediaPeriodIdForChildMediaPeriodId(ConcatenatingMediaSource.MediaSourceHolder, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(MediaSource.MediaPeriodId, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(Integer, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(Void, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
getMediaPeriodIdForChildMediaPeriodId(Void, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
getMediaPeriodIdForChildMediaPeriodId(T, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Returns the MediaSource.MediaPeriodId in the composite source corresponding to the specified MediaSource.MediaPeriodId in a child source.
getMediaPeriodPositionUs(long, MediaPeriodId, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in a MediaPeriod for a position in the underlying server-side inserted ads stream.
getMediaPeriodPositionUsForAd(long, int, int, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in an ad MediaPeriod for a position in the underlying server-side inserted ads stream.
getMediaPeriodPositionUsForContent(long, int, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in a content MediaPeriod for a position in the underlying server-side inserted ads stream.
getMediaSource(int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Returns the MediaSource at a specified index.
getMediaSourceFactory() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the MediaSourceFactory that will be used by the player, or null if no MediaSourceFactory has been set yet and no default is available.
getMediaTimeForChildMediaTime(T, long) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Returns the media time in the MediaPeriod of the composite source corresponding to the specified media time in the MediaPeriod of the child source.
getMediaTimeMsAtRealtimeMs(long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the estimated media time at the given realtime, in milliseconds, or C.TIME_UNSET if the media time history is unknown.
getMediaTimeUsForPlayoutTimeMs(long) - Method in class com.google.android.exoplayer2.PlaybackParameters
Returns the media time in microseconds that will elapse in timeMs milliseconds of wallclock time.
getMetadata(MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.DefaultMediaItemConverter
Returns a MediaMetadata corresponding to the given ExoPlayer MediaItem.
getMetadata(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.DefaultMediaMetadataProvider
 
getMetadata(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.MediaMetadataProvider
Gets the MediaMetadataCompat to be published to the session.
getMetadataCopyWithAppendedEntriesFrom(Metadata) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns a copy of the content metadata with entries from other appended.
getMetrics() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
getMetrics() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Returns metrics data for this ExoMediaDrm instance, or null if metrics are unavailable.
getMetrics() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getMetrics() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getMimeTypeFromMp4ObjectType(int) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the MIME type corresponding to an MP4 object type identifier, as defined in RFC 6381 and https://mp4ra.org/#/object_types.
getMimeTypeFromRtpMediaType(String) - Static method in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
Gets the MIME type that is associated with the RTP media type.
getMinDurationToRetainAfterDiscardUs() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Called from AdaptiveTrackSelection.evaluateQueueSize(long, List) to determine the minimum duration of buffer to retain after discarding chunks.
getMinimumLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
See DefaultLoadErrorHandlingPolicy() and DefaultLoadErrorHandlingPolicy(int) for documentation about the behavior of this method.
getMinimumLoadableRetryCount(int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Returns the minimum number of times to retry a load before a load error that can be retried may be considered fatal.
getMinRetryCount() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the minimum number of times that a download will be retried.
getNalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Returns the type of the NAL unit in data that starts at offset.
getName() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getName() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Returns the name of the decoder.
getName() - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
getName() - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
getName() - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
getName() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
getName() - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
getName() - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
getName() - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
getName() - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
getName() - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
getName() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
getName() - Method in interface com.google.android.exoplayer2.Renderer
Returns the name of this renderer, for logging and debugging purposes.
getName() - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the name of the Renderer.
getName() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource
Returns a human-readable name for the resource, for use in test failure messages.
getName() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
getName() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
getName() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
getName() - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
getName() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
getName() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
getName() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getName() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
getNetworkType() - Method in class com.google.android.exoplayer2.util.NetworkTypeObserver
Returns the current network type.
getNewId() - Static method in class com.google.android.exoplayer2.source.LoadEventInfo
Returns an non-negative identifier which is unique to the JVM instance.
getNextAdIndexToPlay(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns the index of the next ad in the ad group that should be played after playing lastPlayedAdIndex, or AdPlaybackState.AdGroup.count if no later ads should be played.
getNextAdIndexToPlay(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the index of the next ad in the specified ad group that should be played after playing adIndexInAdGroup, or the number of ads in the ad group if no later ads should be played.
getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Returns the next chunk to load.
getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
Returns the next chunk index or C.INDEX_UNSET if it is not known.
getNextEventTimeIndex(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
Returns the index of the first event that occurs after a given time (exclusive).
getNextEventTimeIndex(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
getNextIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getNextIndex(int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the next index in the shuffle order.
getNextIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getNextIndex(int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns the next load time, or C.TIME_END_OF_SOURCE if loading has finished.
getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Returns the next load time, or C.TIME_END_OF_SOURCE if loading has finished.
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
getNextMediaItemIndex() - Method in class com.google.android.exoplayer2.BasePlayer
 
getNextMediaItemIndex() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getNextMediaItemIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getNextMediaItemIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the MediaItem that will be played if Player.seekToNextMediaItem() is called, which may depend on the current repeat mode and whether shuffle mode is enabled.
getNextPeriodIndex(int, Timeline.Period, Timeline.Window, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the period after the period at index periodIndex depending on the repeatMode and whether shuffling is enabled.
getNextRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
Gets the next repeat mode out of enabledModes starting from currentMode.
getNextSegmentAvailableTimeUs(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the time, in microseconds, at which a new segment becomes available, or C.TIME_UNSET if not applicable.
getNextSegmentAvailableTimeUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getNextSegmentAvailableTimeUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getNextSegmentAvailableTimeUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getNextWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
getNextWindowIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
getNextWindowIndex() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
getNextWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getNextWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getNextWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getNextWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the window after the window at index windowIndex depending on the repeatMode and whether shuffling is enabled.
getNextWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getNonexistentUrl() - Method in class com.google.android.exoplayer2.testutil.HttpDataSourceTestEnv
 
getNonFatalErrorRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the rate of non-fatal errors, in errors per play time second, or 0.0 if no time was spend playing.
getNotFoundUri() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
Returns a Uri that doesn't resolve.
getNotMetRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the requirements needed for downloads to progress that are not currently met.
getNotMetRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns requirements that are not met, or 0.
getNowUnixTimeMs(long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the current time in milliseconds since the epoch.
getNtpHost() - Static method in class com.google.android.exoplayer2.util.SntpClient
Returns the NTP host address used to retrieve SntpClient.getElapsedRealtimeOffsetMs().
getOfflineLicenseKeySetId() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns the key set id of the offline license loaded into this session, or null if there isn't one.
getOfflineLicenseKeySetId() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getOngoing(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Returns whether the generated notification should be ongoing.
getOutput() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns a buffer containing processed output data between its position and limit.
getOutput() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
getOutput() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Returns the output most recently passed to BaseMediaChunk.init(BaseMediaChunkOutput).
getOutputBuffer(int) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Returns a read-only ByteBuffer for a dequeued output buffer index.
getOutputBuffer(int) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
getOutputFormat() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Gets the MediaFormat that was output from the MediaCodec.
getOutputFormat() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
getOutputFormat(FfmpegAudioDecoder) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
getOutputFormat(FlacDecoder) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
getOutputFormat(OpusDecoder) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
getOutputFormat(T) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Returns the format of audio buffers output by the decoder.
getOutputStreamOffsetUs() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the offset that should be subtracted from bufferPresentationTimeUs in MediaCodecRenderer.processOutputBuffer(long, long, MediaCodecAdapter, ByteBuffer, int, int, int, long, boolean, boolean, Format) to get the playback position with respect to the media.
getOverlayFrameLayout() - Method in class com.google.android.exoplayer2.ui.PlayerView
Gets the overlay FrameLayout, which can be populated with UI elements to show on top of the player.
getOverlayFrameLayout() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Gets the overlay FrameLayout, which can be populated with UI elements to show on top of the player.
getOverride(TrackGroup) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
Returns the TrackSelectionOverrides.TrackSelectionOverride of the provided TrackGroup or null if there is none.
getOverrides() - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Returns the list of selected track selection overrides.
getParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
getParameters() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Returns the current parameters for track selection.
getPath() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
Returns the path this resource is available at.
getPauseAtEndOfMediaItems() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns whether the player pauses playback at the end of each media item.
getPauseAtEndOfMediaItems() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPauseAtEndOfMediaItems() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getPayload() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
getPcmEncoding(int) - Static method in class com.google.android.exoplayer2.util.Util
Converts a sample bit depth to a corresponding PCM encoding constant.
getPcmEncodingForType(int, int) - Static method in class com.google.android.exoplayer2.audio.WavUtil
Returns the C.PcmEncoding for the given WAVE format type value, or C.ENCODING_INVALID if the type is not a known PCM type.
getPcmFormat(int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Gets a PCM Format with the specified parameters.
getPcmFrameSize(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the frame size for audio with channelCount channels in the specified encoding.
getPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
getPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Returns the current peek position (byte offset) in the stream.
getPeekPosition() - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
getPeekPosition() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
getPercent() - Method in class com.google.android.exoplayer2.PercentageRating
Returns the percent value of this rating.
getPercentDownloaded() - Method in class com.google.android.exoplayer2.offline.Download
Returns the estimated download percentage, or C.PERCENTAGE_UNSET if no estimate is available.
getPercentile(float) - Method in class com.google.android.exoplayer2.upstream.SlidingPercentile
Computes a percentile by integration.
getPeriod(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
getPeriod(int, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Period with data for the period at the specified index.
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.testutil.NoUidTimeline
 
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Period with data for the period at the specified index.
getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getPeriodByUid(Object, Timeline.Period) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getPeriodByUid(Object, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Period with data for the period with the specified unique identifier.
getPeriodCount() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the number of periods for which media is available.
getPeriodCount() - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
getPeriodCount() - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getPeriodCount() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
 
getPeriodCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getPeriodCount() - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getPeriodCount() - Method in class com.google.android.exoplayer2.Timeline
Returns the number of periods in the timeline.
getPeriodCount() - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getPeriodDurationMs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
getPeriodDurationUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
 
getPeriodPosition(Timeline.Window, Timeline.Period, int, long) - Method in class com.google.android.exoplayer2.Timeline
getPeriodPosition(Timeline.Window, Timeline.Period, int, long, long) - Method in class com.google.android.exoplayer2.Timeline
getPeriodPositionUs(Timeline.Window, Timeline.Period, int, long) - Method in class com.google.android.exoplayer2.Timeline
Calls Timeline.getPeriodPosition(Window, Period, int, long, long) with a zero default position projection.
getPeriodPositionUs(Timeline.Window, Timeline.Period, int, long, long) - Method in class com.google.android.exoplayer2.Timeline
Converts (windowIndex, windowPositionUs) to the corresponding (periodUid, periodPositionUs).
getPixelCount() - Method in class com.google.android.exoplayer2.Format
Returns the number of pixels if this is a video format whose Format.width and Format.height are known, or Format.NO_VALUE otherwise
getPlaybackLooper() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the Looper associated with the playback thread.
getPlaybackLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlaybackLooper() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getPlaybackParameters() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns the active PlaybackParameters.
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPlaybackParameters() - Method in interface com.google.android.exoplayer2.Player
Returns the currently active playback parameters.
getPlaybackParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlaybackParameters() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getPlaybackParameters() - Method in interface com.google.android.exoplayer2.util.MediaClock
Returns the active playback parameters.
getPlaybackParameters() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
 
getPlaybackSpeed() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getPlaybackSpeed() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the current playback speed, as set by MediaCodecRenderer.setPlaybackSpeed(float, float).
getPlaybackState() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getPlaybackState() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPlaybackState() - Method in interface com.google.android.exoplayer2.Player
Returns the current playback state of the player.
getPlaybackState() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlaybackState() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getPlaybackStateAtTime(long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the PlaybackStats.PlaybackState at the given time.
getPlaybackStateDurationMs(@com.google.android.exoplayer2.analytics.PlaybackStats.PlaybackState int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent in a given PlaybackStats.PlaybackState, in milliseconds.
getPlaybackStats() - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
Returns the PlaybackStats for the currently playback session, or null if no session is active.
getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPlaybackSuppressionReason() - Method in interface com.google.android.exoplayer2.Player
Returns the reason why playback is suppressed even though Player.getPlayWhenReady() is true, or Player.PLAYBACK_SUPPRESSION_REASON_NONE if playback is not suppressed.
getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getPlayer() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns the Player currently being controlled by this view, or null if no player is set.
getPlayer() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns the player currently set on this view, or null if no player is set.
getPlayer() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns the Player currently being controlled by this view, or null if no player is set.
getPlayer() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns the player currently set on this view, or null if no player is set.
getPlayerError() - Method in interface com.google.android.exoplayer2.ExoPlayer
Equivalent to Player.getPlayerError(), except the exception is guaranteed to be an ExoPlaybackException.
getPlayerError() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getPlayerError() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPlayerError() - Method in interface com.google.android.exoplayer2.Player
Returns the error that caused playback to fail.
getPlayerError() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlayerError() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getPlayerError() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getPlayerState() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getPlayerStateString() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
Returns a string containing player state debugging information.
getPlaylist() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getPlaylistMetadata() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getPlaylistMetadata() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getPlaylistMetadata() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPlaylistMetadata() - Method in interface com.google.android.exoplayer2.Player
Returns the playlist MediaMetadata, as set by Player.setPlaylistMetadata(MediaMetadata), or MediaMetadata.EMPTY if not supported.
getPlaylistMetadata() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlaylistMetadata() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getPlaylistSnapshot(Uri, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
getPlaylistSnapshot(Uri, boolean) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the most recent snapshot available of the playlist referenced by the provided Uri.
getPlayoutDurationForMediaDuration(long, float) - Static method in class com.google.android.exoplayer2.util.Util
Returns the playout duration of mediaDuration of media.
getPlayWhenReady() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getPlayWhenReady() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPlayWhenReady() - Method in interface com.google.android.exoplayer2.Player
Whether playback will proceed when Player.getPlaybackState() == Player.STATE_READY.
getPlayWhenReady() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getPlayWhenReady() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
getPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Returns the current read position (byte offset) in the stream.
getPosition() - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
getPosition() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Returns the reading position in bits.
getPosition() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns the current position of the cursor in the download set.
getPosition() - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
 
getPosition() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
getPosition() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the fractional position of the positionAnchor of the cue box within the viewport in the direction orthogonal to line.
getPosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Returns the current bit offset.
getPosition() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the current offset in the array, in bytes.
getPositionAnchor() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the cue box anchor positioned by position.
getPositionInFirstPeriodMs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the position of the start of this window relative to the start of the first period belonging to it, in milliseconds.
getPositionInFirstPeriodUs() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns the position of the start of this window relative to the start of the first period belonging to it, in microseconds.
getPositionInWindowMs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the position of the start of this period relative to the start of the window to which it belongs, in milliseconds.
getPositionInWindowUs() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the position of the start of this period relative to the start of the window to which it belongs, in microseconds.
getPositionMs() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns position in the media item at PlayerMessage.getMediaItemIndex() at which the message will be delivered, in milliseconds.
getPositionUs() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
getPositionUs() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
getPositionUs() - Method in interface com.google.android.exoplayer2.util.MediaClock
Returns the current media position in microseconds.
getPositionUs() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
 
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Evaluates whether MediaChunks should be removed from the back of the queue.
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
getPreferredUpdateDelay() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
getPreferredUpdateDelay() - Method in interface com.google.android.exoplayer2.ui.TimeBar
Returns the preferred delay in milliseconds of media time after which the time bar position should be updated.
getPreparePositionOverrideUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Returns the prepare position override set by MaskingMediaPeriod.overridePreparePositionUs(long).
getPreparePositionUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Returns the position at which the masking media period was prepared, in microseconds.
getPresentationTimeOffsetUs() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
Returns the presentation time offset, in microseconds.
getPreviousIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
 
getPreviousIndex(int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
Returns the previous index in the shuffle order.
getPreviousIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
 
getPreviousIndex(int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
 
getPreviousMediaItemIndex() - Method in class com.google.android.exoplayer2.BasePlayer
 
getPreviousMediaItemIndex() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getPreviousMediaItemIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getPreviousMediaItemIndex() - Method in interface com.google.android.exoplayer2.Player
Returns the index of the MediaItem that will be played if Player.seekToPreviousMediaItem() is called, which may depend on the current repeat mode and whether shuffle mode is enabled.
getPreviousWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
getPreviousWindowIndex() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
getPreviousWindowIndex() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
getPreviousWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getPreviousWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getPreviousWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getPreviousWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns the index of the window before the window at index windowIndex depending on the repeatMode and whether shuffling is enabled.
getPreviousWindowIndex(int, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getPriorityCount(List<BaseUrl>) - Static method in class com.google.android.exoplayer2.source.dash.BaseUrlExclusionList
Returns the number of priority levels of the given list of base URLs.
getPriorityCountAfterExclusion(List<BaseUrl>) - Method in class com.google.android.exoplayer2.source.dash.BaseUrlExclusionList
Returns the number of priority levels for the given list of base URLs after exclusion.
getProfileLevels() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The profile levels supported by the decoder.
getProgress(ProgressHolder) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Returns the current TranscodingTransformer.ProgressState and updates progressHolder with the current progress if it is available.
getProgress(ProgressHolder) - Method in class com.google.android.exoplayer2.transformer.Transformer
Returns the current Transformer.ProgressState and updates progressHolder with the current progress if it is available.
getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
getPropertyByteArray(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Returns the value of a byte array property.
getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
getPropertyString(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Returns the value of a string property.
getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getPropertyString(String) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getProvisionRequest() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
getProvisionRequest() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Generates a provisioning request.
getProvisionRequest() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
getProvisionRequest() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getReadableDatabase() - Method in interface com.google.android.exoplayer2.database.DatabaseProvider
Creates and/or opens a database.
getReadableDatabase() - Method in class com.google.android.exoplayer2.database.DefaultDatabaseProvider
 
getReadIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the current absolute read index.
getReadingPositionUs() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getReadingPositionUs() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getReadingPositionUs() - Method in interface com.google.android.exoplayer2.Renderer
Returns the renderer time up to which the renderer has read samples, in microseconds, or C.TIME_END_OF_SOURCE if the renderer has read the current SampleStream to the end.
getRebufferRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the rate of rebuffer events, in rebuffers per play time second, or 0.0 if no time was spend playing.
getRebufferTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of rebuffer time to the total time spent playing and waiting, or 0.0 if no time was spend playing or waiting.
getReceivedProvisionRequests() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.LicenseServer
 
getReceivedSchemeDatas() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.LicenseServer
 
getRedirectedUri(ContentMetadata) - Static method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Returns the value stored under ContentMetadata.KEY_REDIRECTED_URI as a Uri, or {code null} if not set.
getReferenceCount() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
getRegionEndTimeMs(long) - Method in class com.google.android.exoplayer2.upstream.CachedRegionTracker
When provided with a byte offset, this method locates the cached region within which the offset falls, and returns the approximate end position in milliseconds of that region.
getRemovedAdGroupCount() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns the number of removed ad groups in the period.
getRemovedValues() - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Returns a list of names of metadata values to be removed.
getRendererCapabilities(RenderersFactory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
Extracts renderer capabilities for the renderers created by the provided renderers factory.
getRendererCount() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the number of renderers.
getRendererCount() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getRendererCount() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getRendererCount() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the number of renderers.
getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Returns whether the renderer is disabled.
getRendererException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_RENDERER.
getRendererName(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the name of the renderer at a given index.
getRenderers() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the Renderers that have been set with TestExoPlayerBuilder.setRenderers(com.google.android.exoplayer2.Renderer...) or null if no Renderers have been explicitly set.
getRenderersFactory() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the RenderersFactory that has been set with TestExoPlayerBuilder.setRenderersFactory(com.google.android.exoplayer2.RenderersFactory) or null if no factory has been explicitly set.
getRendererSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which a renderer can play the tracks that are mapped to it.
getRendererType(int) - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the track type that the renderer at a given index handles.
getRendererType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getRendererType(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getRendererType(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the track type that the renderer at a given index handles.
getRepeatMode() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getRepeatMode() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getRepeatMode() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getRepeatMode() - Method in interface com.google.android.exoplayer2.Player
Returns the current Player.RepeatMode used for playback.
getRepeatMode() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getRepeatMode() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getRepeatToggleModes() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns which repeat toggle modes are enabled.
getRepeatToggleModes() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns which repeat toggle modes are enabled.
getRequestPath(RecordedRequest) - Static method in class com.google.android.exoplayer2.testutil.WebServerDispatcher
Returns the path for a given RecordedRequest, stripping any query parameters.
getRequestType() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Returns the type of the request, or ExoMediaDrm.KeyRequest.REQUEST_TYPE_UNKNOWN if the underlying key request does not specify a type.
getRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns the requirements needed to be met to progress.
getRequirements() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns the requirements.
getRequirements() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
Returns watched Requirements.
getResizeMode() - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
getResizeMode() - Method in class com.google.android.exoplayer2.ui.PlayerView
getResizeMode() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
getResponseCode() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
getResponseCode() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
getResponseCode() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
getResponseCode() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
When the source is open, returns the HTTP response status code associated with the last HttpDataSource.open(com.google.android.exoplayer2.upstream.DataSpec) call.
getResponseHeaders() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
Returns the response headers associated with the last DataSource.open(com.google.android.exoplayer2.upstream.DataSpec) call.
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.DataSource
When the source is open, returns the response headers associated with the last DataSource.open(com.google.android.exoplayer2.upstream.DataSpec) call.
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the response headers associated with the load.
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
getResponseHeaders_caseInsensitive() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
getResponseHeaders_isEmptyWhileNotOpen() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
getResponseHeaders_noNullKeysOrValues() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
getResponseHeaders_resourceNotFound_isEmptyWhileNotOpen() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
getResult() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the loaded object, or null if an object has not been loaded.
getRetryDelayMsFor(LoadErrorHandlingPolicy.LoadErrorInfo) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
getRetryDelayMsFor(LoadErrorHandlingPolicy.LoadErrorInfo) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Returns whether a loader can retry on encountering an error, and if so the duration to wait before retrying.
getRubyPosition() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
getRuntimeExceptionForUnexpected() - Method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Returns the RuntimeException that caused the exception if its type is AdsMediaSource.AdLoadException.TYPE_UNEXPECTED.
getSampleCount() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
getSampleCryptoData(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
getSampleData(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
getSampleDescriptionEncryptionBox(int) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
Returns the TrackEncryptionBox for the given sample description index.
getSampleDurationUs() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
Returns the duration in microseconds per sample, or C.TIME_UNSET if the sample duration is not available.
getSampleFlags(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
getSampleFormats() - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
getSampleFormats() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor
Returns the sample Formats for the tracks identified by the extractor, or null if the extractor has not finished identifying tracks.
getSampleFormats() - Method in class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
 
getSampleFormats() - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Returns the last output format for each track, or null if not all the tracks have been identified.
getSampleNumber(long) - Method in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Returns the sample number of the sample at a given time.
getSampleTimesUs() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
getSampleTimeUs(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
getScheduler() - Method in class com.google.android.exoplayer2.offline.DownloadService
Returns a Scheduler to restart the service when requirements for downloads to continue are met.
getSchemeUuid() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns the DRM scheme UUID for this session.
getSchemeUuid() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getSeekBackIncrement() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getSeekBackIncrement() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getSeekBackIncrement() - Method in interface com.google.android.exoplayer2.Player
Returns the Player.seekBack() increment.
getSeekBackIncrement() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getSeekBackIncrement() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getSeekBackIncrementMs() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the seek back increment used by the player.
getSeekForwardIncrement() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getSeekForwardIncrement() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getSeekForwardIncrement() - Method in interface com.google.android.exoplayer2.Player
Returns the Player.seekForward() increment.
getSeekForwardIncrement() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getSeekForwardIncrement() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getSeekForwardIncrementMs() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the seek forward increment used by the player.
getSeekMap() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Returns the seek map for the stream.
getSeekParameters() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the currently active SeekParameters of the player.
getSeekParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getSeekParameters() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.IndexSeekMap
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
getSeekPoints(long) - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Obtains seek points for the specified seek time in microseconds.
getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
getSeekPoints(long) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Returns the MediaParser.SeekPoint instances corresponding to the given timestamp.
getSeekTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of seek time to the total time spent playing and waiting, or 0.0 if no time was spend playing or waiting.
getSegmentCount() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentCount(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the number of segments defined in the index, or DashSegmentIndex.INDEX_UNBOUNDED.
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
getSegmentDurationUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getSegmentEndTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentNum(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns getFirstSegmentNum() if the index has no segments or if the given media time is earlier than the start of the first segment.
getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getSegments() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Returns the list of FakeDataSet.FakeData.Segments.
getSegments(DataSource, DashManifest, boolean) - Method in class com.google.android.exoplayer2.source.dash.offline.DashDownloader
 
getSegments(DataSource, HlsPlaylist, boolean) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
 
getSegments(DataSource, SsManifest, boolean) - Method in class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
 
getSegments(DataSource, M, boolean) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
Returns a list of all downloadable SegmentDownloader.Segments for a given manifest.
getSegmentStartTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
getSegmentUrl(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns a RangedUri defining the location of a segment.
getSegmentUrl(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getSegmentUrl(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
getSegmentUrl(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getSegmentUrl(Representation, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
Returns a RangedUri defining the location of a segment for the given index in the given representation.
getSegmentUrl(Representation, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
getSegmentUrl(Representation, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
getSelectedFormat() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getSelectedFormat() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getSelectedFormat() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns the Format of the individual selected track.
getSelectedIndex() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
getSelectedIndex() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns the index of the selected track.
getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
getSelectedIndexInTrackGroup() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getSelectedIndexInTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getSelectedIndexInTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns the index in the track group of the individual selected track.
getSelectionData() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
getSelectionData() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns optional data associated with the current track selection.
getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
getSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
getSelectionReason() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
getSelectionReason() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns the reason for the current track selection.
getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
getServedResources() - Method in class com.google.android.exoplayer2.testutil.HttpDataSourceTestEnv
 
getSessionForMediaPeriodId(Timeline, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
getSessionForMediaPeriodId(Timeline, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Returns the session identifier for the given media period id.
getShowShuffleButton() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns whether the shuffle button is shown.
getShowShuffleButton() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns whether the shuffle button is shown.
getShowSubtitleButton() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns whether the subtitle button is shown.
getShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns the playback controls timeout.
getShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns the playback controls timeout.
getShowVrButton() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns whether the VR button is shown.
getShowVrButton() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns whether the VR button is shown.
getShuffleMode() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getShuffleModeEnabled() - Method in interface com.google.android.exoplayer2.Player
Returns whether shuffling of media items is enabled.
getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getSingletonInstance(Context) - Static method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Returns a singleton instance of a DefaultBandwidthMeter with default configuration.
getSinkFormatSupport(Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Returns the level of support that the renderer's AudioSink provides for a given Format.
getSize() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Returns the number of media sources in the playlist.
getSize() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the size of the cue box in the writing direction specified as a fraction of the viewport size in that direction.
getSkipCount(long, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the number of samples that need to be skipped to advance the read position to the keyframe before or at the specified time.
getSkippedFrames() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Returns the total number of frames of input audio that were skipped due to being classified as silence since the last call to BaseAudioProcessor.flush().
getSkippedOutputFrameCount() - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
Returns the number of output audio frames skipped since the audio processors were last flushed.
getSkippedOutputFrameCount() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
 
getSkipSilenceEnabled() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether silences are skipped in the audio stream.
getSkipSilenceEnabled() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
getSkipSilenceEnabled() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
getSkipSilenceEnabled() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
getSkipSilenceEnabled() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns whether skipping silences in the audio stream is enabled.
getSkipSilenceEnabled() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getSkipSilenceEnabled() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getSnapshot() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Gets a snapshot of the request properties.
getSourceException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_SOURCE.
getSpecificityScore(String, String, Set<String>, String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
Returns a value in a score system compliant with the CSS Specificity rules.
getStarRating() - Method in class com.google.android.exoplayer2.StarRating
Returns the fractional number of stars of this rating.
getStartTime(int) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
 
getStartTimeUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
Returns the start time of the specified chunk.
getState() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getState() - Method in interface com.google.android.exoplayer2.drm.DrmSession
getState() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
getState() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getState() - Method in interface com.google.android.exoplayer2.Renderer
Returns the current state of the renderer.
getStatusCode() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
Returns the status of the key, as defined by MediaDrm.KeyStatus.getStatusCode().
getStream() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getStream() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getStream() - Method in interface com.google.android.exoplayer2.Renderer
Returns the SampleStream being consumed, or null if the renderer is disabled.
getStreamDurationUs(Player, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the duration of the underlying server-side inserted ads stream for the current Timeline.Period in the Player.
getStreamFormats() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns the formats of the currently enabled stream.
getStreamKeys(List<ExoTrackSelection>) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getStreamKeys(List<ExoTrackSelection>) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns a list of StreamKeys which allow to filter the media in this period to load only the parts needed to play the provided TrackSelections.
getStreamMetadata() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
Returns the FlacStreamMetadata decoded from the initialization data.
getStreamPositionUs(long, MediaPeriodId, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in the underlying server-side inserted ads stream for a position in a MediaPeriod.
getStreamPositionUs(Player, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in the underlying server-side inserted ads stream for the current playback position in the Player.
getStreamPositionUsForAd(long, int, int, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in the underlying server-side inserted ads stream for a position in an ad MediaPeriod.
getStreamPositionUsForContent(long, int, AdPlaybackState) - Static method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsUtil
Returns the position in the underlying server-side inserted ads stream for a position in a content MediaPeriod.
getStreamTypeForAudioUsage(@com.google.android.exoplayer2.C.AudioUsage int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the C.StreamType corresponding to the specified C.AudioUsage.
getString(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Returns a String read from an asset file.
getStringForHttpMethod(int) - Static method in class com.google.android.exoplayer2.upstream.DataSpec
Returns an uppercase HTTP method name (e.g., "GET", "POST", "HEAD") corresponding to the given DataSpec.HttpMethod.
getStringForTime(StringBuilder, Formatter, long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the specified millisecond time formatted as a string.
getStyle() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
Returns the style or WebvttCssStyle.UNSPECIFIED when no style information is given.
getSubFrame(int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
Returns the sub-frame at index.
getSubFrame(int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
Returns the sub-frame at index.
getSubFrameCount() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
Returns the number of sub-frames.
getSubFrameCount() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
Returns the number of sub-frames.
getSubtitleView() - Method in class com.google.android.exoplayer2.ui.PlayerView
Gets the SubtitleView.
getSubtitleView() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Gets the SubtitleView.
getSupportedPrepareActions() - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
Returns the actions which are supported by the preparer.
getSupportedQueueNavigatorActions(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Returns the actions which are supported by the navigator.
getSupportedQueueNavigatorActions(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
getSupportedRequirements(Requirements) - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
 
getSupportedRequirements(Requirements) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
getSupportedRequirements(Requirements) - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Checks whether this Scheduler supports the provided Requirements.
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
 
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
 
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
 
getSupportedTypes() - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Returns the content types supported by media sources created by this factory.
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
 
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
 
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
 
getSupportedTypes() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
 
getSurface() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
getSurfaceTexture() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Returns the wrapped SurfaceTexture.
getSystemLanguageCodes() - Static method in class com.google.android.exoplayer2.util.Util
Returns a non-empty array of normalized IETF BCP 47 language tags for the system languages ordered by preference.
getTarget() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the target the message is sent to.
getTarget() - Method in class com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
 
getTarget() - Method in interface com.google.android.exoplayer2.util.HandlerWrapper.Message
getTargetLiveOffsetUs() - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
 
getTargetLiveOffsetUs() - Method in interface com.google.android.exoplayer2.LivePlaybackSpeedControl
Returns the current target live offset, in microseconds, or C.TIME_UNSET if no target live offset is defined for the current media.
getTestResources() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
getText() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the cue text.
getTextAlignment() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the alignment of the cue text within the cue box, or null if the alignment is undefined.
getTextComponent() - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use Player, as the ExoPlayer.TextComponent methods are defined by that interface.
getTextComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getTextComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
getTextMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the first text MIME type derived from an RFC 6381 codecs string.
getTextSize() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the default text size for this cue's text.
getTextSizeType() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the default text size type for this cue's text.
getThrowableString(Throwable) - Static method in class com.google.android.exoplayer2.util.Log
Returns a string representation of a Throwable suitable for logging, taking into account whether Log.setLogStackTraces(boolean) stack trace logging} is enabled.
getTimeline() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the timeline used for setting the position with PlayerMessage.setPosition(long).
getTimeline() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
Returns the Timeline.
getTimeline() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
getTimelineByChildIndex(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
Returns the child timeline for the child with the given index.
getTimestampOffsetUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Returns the offset between the input of TimestampAdjuster.adjustSampleTimestamp(long) and its output, or C.TIME_UNSET if the offset has not yet been determined.
getTimeToFirstByteEstimateUs() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Returns the estimated time to first byte, in microseconds, or C.TIME_UNSET if no estimate is available.
getTimeToFirstByteEstimateUs() - Method in interface com.google.android.exoplayer2.upstream.TimeToFirstByteEstimator
Returns the estimated time to first byte of the response body, in microseconds, or C.TIME_UNSET if no estimate is available.
getTimeUs(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns the start time of a segment.
getTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
getTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
getTimeUsAtPosition(long) - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
Returns the stream time in microseconds for a given position.
getTotalBufferCount(DecoderCounters) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
Returns the sum of the skipped, dropped and rendered buffers.
getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getTotalBufferedDuration() - Method in interface com.google.android.exoplayer2.Player
Returns an estimate of the total buffered duration from the current position, in milliseconds.
getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getTotalBytesAllocated() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Returns the total number of bytes currently allocated.
getTotalBytesAllocated() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
getTotalElapsedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time covered by any playback state, in milliseconds.
getTotalJoinTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent joining the playback in foreground, in milliseconds.
getTotalPausedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent in a paused state, in milliseconds.
getTotalPlayAndWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent playing or actively waiting for playback, in milliseconds.
getTotalPlayTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent actively playing, in milliseconds.
getTotalRebufferTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent rebuffering, in milliseconds.
getTotalSeekTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent from the start of a seek until playback is ready again, in milliseconds.
getTotalWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the total time spent actively waiting for playback, in milliseconds.
getTrackGroup() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the TrackGroup to which the selected tracks belong.
getTrackGroup() - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns the TrackGroup described by this TrackGroupInfo.
getTrackGroupInfos() - Method in class com.google.android.exoplayer2.TracksInfo
Returns the TrackGroupInfos, describing each TrackGroup.
getTrackGroups() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
getTrackGroups() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getTrackGroups() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
getTrackGroups() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns the TrackGroups exposed by the period.
getTrackGroups() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
getTrackGroups() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
getTrackGroups(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns the track groups for the given period.
getTrackGroups(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the TrackGroups mapped to the renderer at the specified index.
getTrackId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
Returns the last generated track id.
getTrackName(Format) - Method in class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
 
getTrackName(Format) - Method in interface com.google.android.exoplayer2.ui.TrackNameProvider
Returns a user readable track name for the given Format.
getTrackOutputProvider(BaseMediaChunkOutput) - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
Returns the ChunkExtractor.TrackOutputProvider to be used by the wrapped extractor.
getTrackSelectionParameters() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
getTrackSelectionParameters() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getTrackSelectionParameters() - Method in interface com.google.android.exoplayer2.Player
Returns the parameters constraining the track selection.
getTrackSelectionParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getTrackSelectionParameters() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getTrackSelections(int, int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Returns all track selections for a period and renderer.
getTrackSelector() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the track selector that this player uses, or null if track selection is not supported.
getTrackSelector() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getTrackSelector() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getTrackSelector() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns the track selector used by the player.
getTrackSupport(int) - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns the level of support for a track in a TrackGroup.
getTrackSupport(int, int, int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which an individual track is supported by the renderer.
getTrackType() - Method in class com.google.android.exoplayer2.BaseRenderer
 
getTrackType() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
getTrackType() - Method in interface com.google.android.exoplayer2.Renderer
Returns the track type that the renderer handles.
getTrackType() - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the track type that the Renderer handles.
getTrackType() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
Returns the C.TrackType of the overriden track group.
getTrackType() - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns the C.TrackType of the tracks in the TrackGroup.
getTrackType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the track type constant corresponding to a specified MIME type, which may be C.TRACK_TYPE_UNKNOWN if it could not be determined.
getTrackTypeOfCodec(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Equivalent to getTrackType(getMediaMimeType(codec)).
getTrackTypeString(@com.google.android.exoplayer2.C.TrackType int) - Static method in class com.google.android.exoplayer2.util.Util
Returns a string representation of a C.TrackType.
getTransferListener() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
Returns the TransferListener that this instance uses to gather bandwidth information from data transfers.
getTransferListener() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
getTransferListenerDataSource() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
Returns the DataSource that will be included in the TransferListener callbacks for the DataSource most recently created by DataSourceContractTest.createDataSource().
getTunnelingSupport(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
getType() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns the message type forwarded to PlayerMessage.Target.handleMessage(int, Object).
getType() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
getType() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
getType() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns an integer specifying the type of the selection, or TrackSelection.TYPE_UNSET if not specified.
getType(Uri) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
getTypeForPcmEncoding(int) - Static method in class com.google.android.exoplayer2.audio.WavUtil
Returns the WAVE format type value for the given C.PcmEncoding.
getTypeSupport(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns the extent to which tracks of a specified type are supported.
getUid() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns a non-negative unique identifier for the cache, or Cache.UID_UNSET if initialization failed before the unique identifier was determined.
getUid() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.Timeline
Returns the unique id of the period identified by its index in the timeline.
getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getUnexpectedException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Retrieves the underlying error when ExoPlaybackException.type is ExoPlaybackException.TYPE_UNEXPECTED.
getUniformLocation(String) - Method in class com.google.android.exoplayer2.util.GlUtil.Program
Returns the location of a GlUtil.Uniform.
getUniforms() - Method in class com.google.android.exoplayer2.util.GlUtil.Program
Returns the program's GlUtil.Uniforms.
getUnmappedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
Returns TrackGroups not mapped to any renderer.
getUpstreamFormat() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the upstream Format in which samples are being queued.
getUpstreamPriorityTaskManager() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Returns the PriorityTaskManager that will bs used when requesting data from upstream, or null if there is none.
getUri() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
getUri() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
getUri() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
getUri() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
getUri() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource
Returns the URI where the resource is available.
getUri() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
getUri() - Method in interface com.google.android.exoplayer2.upstream.DataSource
When the source is open, returns the Uri from which data is being read.
getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Returns the Uri from which data was read.
getUri() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
getUri() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
getUri(int) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
 
getUri_resourceNotFound_returnsNullIfNotOpened() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
getUri_returnsNonNullValueOnlyWhileOpen() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
getUseArtwork() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether artwork is displayed if present in the media.
getUseArtwork() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns whether artwork is displayed if present in the media.
getUseController() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the playback controls can be shown.
getUseController() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns whether the playback controls can be shown.
getUseLazyPreparation() - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Returns whether the player will use lazy preparation.
getUserAgent(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a user agent string based on the given application name and the library version.
getUtf8Bytes(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a new byte array containing the code points of a String encoded using UTF-8.
getVersion() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns the version of the underlying library if available, or null otherwise.
getVersion() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Returns the version of the underlying library if available, or null otherwise.
getVersion() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns the version of the underlying library if available, or null otherwise.
getVersion(SQLiteDatabase, int, String) - Static method in class com.google.android.exoplayer2.database.VersionTable
Returns the version of a specified instance of a feature, or VersionTable.VERSION_UNSET if no version is set.
getVerticalType() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the vertical formatting for this Cue.
getVideoChangeFrameRateStrategy() - Method in interface com.google.android.exoplayer2.ExoPlayer
getVideoChangeFrameRateStrategy() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
getVideoChangeFrameRateStrategy() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVideoChangeFrameRateStrategy() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getVideoComponent() - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that interface.
getVideoComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVideoComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
getVideoDecoderCounters() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns DecoderCounters for video, or null if no video is being played.
getVideoDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVideoDecoderCounters() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getVideoDecoderOutputBufferRenderer() - Method in class com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView
Deprecated.
This class implements VideoDecoderOutputBufferRenderer directly.
getVideoFormat() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the video format currently being played, or null if no video is being played.
getVideoFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVideoFormat() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getVideoFrameMetadataListener() - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
Returns the VideoFrameMetadataListener that should be registered during playback.
getVideoMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns the first video MIME type derived from an RFC 6381 codecs string.
getVideoScalingMode() - Method in interface com.google.android.exoplayer2.ExoPlayer
Returns the C.VideoScalingMode.
getVideoScalingMode() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
getVideoScalingMode() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVideoScalingMode() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
getVideoSize() - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
getVideoSize() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and returns VideoSize.UNKNOWN.
getVideoSize() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getVideoSize() - Method in interface com.google.android.exoplayer2.Player
Gets the size of the video.
getVideoSize() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVideoSize() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getVideoString() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
Returns a string containing video debugging information.
getVideoSurface() - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
Returns the Surface to which video frames should be rendered, or null if it has not been created.
getVideoSurfaceView() - Method in class com.google.android.exoplayer2.ui.PlayerView
Gets the view onto which video is rendered.
getVideoSurfaceView() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Gets the view onto which video is rendered.
getVolume() - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
Use Player.getVolume() instead.
getVolume() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and returns 1.
getVolume() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
getVolume() - Method in interface com.google.android.exoplayer2.Player
Returns the audio volume, with 0 being silence and 1 being unity gain (signal unchanged).
getVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
getVolume() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
getWaitTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the ratio of wait times to the total time spent playing and waiting, or 0.0 if no time was spend playing or waiting.
getWindow(int, Timeline.Window) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Window with data for the window at the specified index.
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.AbstractConcatenatedTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource.InitialTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.testutil.NoUidTimeline
 
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.Timeline
Populates a Timeline.Window with data for the window at the specified index.
getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getWindowColor() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Gets the fill color of the window.
getWindowCount() - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
 
getWindowCount() - Method in class com.google.android.exoplayer2.Timeline
Returns the number of windows in the timeline.
getWindowCount() - Method in class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
getWindowIndexForChildWindowIndex(ConcatenatingMediaSource.MediaSourceHolder, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
getWindowIndexForChildWindowIndex(T, int) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Returns the window index in the composite source corresponding to the specified window index in a child source.
getWrappedMetadataBytes() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
getWrappedMetadataBytes() - Method in interface com.google.android.exoplayer2.metadata.Metadata.Entry
Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.
getWrappedMetadataFormat() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
getWrappedMetadataFormat() - Method in interface com.google.android.exoplayer2.metadata.Metadata.Entry
Returns the Format that can be used to decode the wrapped metadata in Metadata.Entry.getWrappedMetadataBytes(), or null if this Entry doesn't contain wrapped metadata.
getWrappedPlayer() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Returns the Player to which operations are forwarded.
getWritableDatabase() - Method in interface com.google.android.exoplayer2.database.DatabaseProvider
Creates and/or opens a database that will be used for reading and writing.
getWritableDatabase() - Method in class com.google.android.exoplayer2.database.DefaultDatabaseProvider
 
getWriteIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns the current absolute write index.
getWriteIndices() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
Returns the current absolute write indices of the individual sample queues.
glAssertionsEnabled - Static variable in class com.google.android.exoplayer2.util.GlUtil
Whether to throw a GlUtil.GlException in case of an OpenGL error.
GlException(String) - Constructor for exception com.google.android.exoplayer2.util.GlUtil.GlException
Creates an instance with the specified error message.
GlUtil - Class in com.google.android.exoplayer2.util
GL utilities.
GlUtil.Attribute - Class in com.google.android.exoplayer2.util
GL attribute, which can be attached to a buffer with GlUtil.Attribute.setBuffer(float[], int).
GlUtil.GlException - Exception in com.google.android.exoplayer2.util
Thrown when an OpenGL error occurs and GlUtil.glAssertionsEnabled is true.
GlUtil.Program - Class in com.google.android.exoplayer2.util
GL program.
GlUtil.Uniform - Class in com.google.android.exoplayer2.util
GL uniform, which can be attached to a sampler using GlUtil.Uniform.setSamplerTexId(int, int).
GlUtil.UnsupportedEglVersionException - Exception in com.google.android.exoplayer2.util
Thrown when the required EGL version is not supported by the device.
group - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The selected TrackGroup.
group - Variable in class com.google.android.exoplayer2.trackselection.ExoTrackSelection.Definition
The TrackGroup which tracks belong to.
GROUP_INDEX_AUDIO - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
GROUP_INDEX_SUBTITLE - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
GROUP_INDEX_VARIANT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
groupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
The GROUP-ID value of this track, if the track is derived from an EXT-X-MEDIA tag.
groupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
The group to which this rendition belongs.
groupIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
The group index.
groupIndex - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
groupKey - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
gzip(byte[]) - Static method in class com.google.android.exoplayer2.util.Util
Compresses input using gzip and returns the result in a newly allocated byte array.
GZIP_SUPPORT_DISABLED - Static variable in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
The server doesn't support gzip.
GZIP_SUPPORT_ENABLED - Static variable in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
The server supports gzip.
GZIP_SUPPORT_FORCED - Static variable in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
The server supports gzip.

H

H262Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous H262 byte stream and extracts individual frames.
H262Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.H262Reader
 
H263Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses an ISO/IEC 14496-2 (MPEG-4 Part 2) or ITU-T Recommendation H.263 byte stream and extracts individual frames.
H263Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.H263Reader
Creates a new reader.
H264Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous H264 byte stream and extracts individual frames.
H264Reader(SeiReader, boolean, boolean) - Constructor for class com.google.android.exoplayer2.extractor.ts.H264Reader
 
H265Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous H.265 byte stream and extracts individual frames.
H265Reader(SeiReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.H265Reader
 
H265SpsData(int, boolean, int, int, int[], int, int, int, int, float) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
handleBlockAddIDExtraData(MatroskaExtractor.Track, ExtractorInput, int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
handleBlockAdditionalData(MatroskaExtractor.Track, int, ExtractorInput, int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
handleBuffer(ByteBuffer) - Method in interface com.google.android.exoplayer2.audio.TeeAudioProcessor.AudioBufferSink
Called when data is written to the audio processor.
handleBuffer(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor.WavFileAudioBufferSink
 
handleBuffer(ByteBuffer, long, int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Attempts to process data from a ByteBuffer, starting from its current position and ending at its limit (exclusive).
handleBuffer(ByteBuffer, long, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
handleBuffer(ByteBuffer, long, int) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
handleBuffer(ByteBuffer, long, int) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
handleDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Signals to the sink that the next buffer may be discontinuous with the previous buffer.
handleDiscontinuity() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
handleDiscontinuity() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
handleDiscontinuity() - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
handleInputBufferSupplementalData(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Handles supplemental data associated with an input buffer.
handleInputBufferSupplementalData(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.BaseRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
handleMessage(int, Object) - Method in interface com.google.android.exoplayer2.PlayerMessage.Target
Handles a message delivered to the target.
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
handleMessage(int, Object) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
 
handleMessage(Message) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
handleMessage(ExoPlayer, int, Object) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget
Handles the message send to the component and additionally provides access to the player.
handlePendingSeek(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Continues to handle the pending seek operation.
handlePrepareComplete(AdsMediaSource, int, int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
handlePrepareComplete(AdsMediaSource, int, int) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Notifies the ads loader that preparation of an ad media period is complete.
handlePrepareError(AdsMediaSource, int, int, IOException) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
handlePrepareError(AdsMediaSource, int, int, IOException) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Notifies the ads loader that the player was not able to prepare media for a given ad.
HandlerMessage(long, FakeClock.ClockHandler, int, int, int, Object, Runnable) - Constructor for class com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
 
HandlerWrapper - Interface in com.google.android.exoplayer2.util
An interface to call through to a Handler.
HandlerWrapper.Message - Interface in com.google.android.exoplayer2.util
A message obtained from the handler.
hardwareAccelerated - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the codec is hardware accelerated.
hasAbsoluteSizeSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a AbsoluteSizeSpan from start to end.
hasAlignmentSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a AlignmentSpan from start to end.
hasBackgroundColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
hasBackgroundColorSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a BackgroundColorSpan from start to end.
hasBoldItalicSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has bold and italic styling from start to end.
hasBoldSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a bold span from start to end.
hasCaptions(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CaptionCallback
Returns whether the media currently being played has captions.
hasData() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns whether DrmInitData.SchemeData.data is non-null.
hasDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-DISCONTINUITY-SEQUENCE tag.
hasEndTag - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-ENDLIST tag.
hasFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
hasFontColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
hasForegroundColorSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a ForegroundColorSpan from start to end.
hasGaplessInfo() - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
hasGapTag - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
Whether the segment is marked as a gap.
hashCode() - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
 
hashCode() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndException
 
hashCode() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndFormat
 
hashCode() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndPlaybackState
 
hashCode() - Method in class com.google.android.exoplayer2.audio.AudioAttributes
 
hashCode() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
 
hashCode() - Method in class com.google.android.exoplayer2.audio.AuxEffectInfo
 
hashCode() - Method in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
 
hashCode() - Method in class com.google.android.exoplayer2.DeviceInfo
 
hashCode() - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
hashCode() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
hashCode() - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
hashCode() - Method in class com.google.android.exoplayer2.extractor.SeekPoint
 
hashCode() - Method in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
 
hashCode() - Method in class com.google.android.exoplayer2.Format
 
hashCode() - Method in class com.google.android.exoplayer2.HeartRating
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem.AdsConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.MediaMetadata
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.Metadata
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
hashCode() - Method in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
hashCode() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
hashCode() - Method in class com.google.android.exoplayer2.offline.StreamKey
 
hashCode() - Method in class com.google.android.exoplayer2.PercentageRating
 
hashCode() - Method in class com.google.android.exoplayer2.PlaybackParameters
 
hashCode() - Method in class com.google.android.exoplayer2.Player.Commands
 
hashCode() - Method in class com.google.android.exoplayer2.Player.Events
 
hashCode() - Method in class com.google.android.exoplayer2.Player.PositionInfo
 
hashCode() - Method in class com.google.android.exoplayer2.RendererConfiguration
 
hashCode() - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
hashCode() - Method in class com.google.android.exoplayer2.SeekParameters
 
hashCode() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
 
hashCode() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
 
hashCode() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement
 
hashCode() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
hashCode() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
hashCode() - Method in class com.google.android.exoplayer2.source.MediaPeriodId
 
hashCode() - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
hashCode() - Method in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
 
hashCode() - Method in class com.google.android.exoplayer2.source.TrackGroup
 
hashCode() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
hashCode() - Method in class com.google.android.exoplayer2.StarRating
 
hashCode() - Method in class com.google.android.exoplayer2.testutil.DumpableFormat
 
hashCode() - Method in class com.google.android.exoplayer2.testutil.FakeMetadataEntry
 
hashCode() - Method in class com.google.android.exoplayer2.text.Cue
 
hashCode() - Method in class com.google.android.exoplayer2.ThumbRating
 
hashCode() - Method in class com.google.android.exoplayer2.Timeline
 
hashCode() - Method in class com.google.android.exoplayer2.Timeline.Period
 
hashCode() - Method in class com.google.android.exoplayer2.Timeline.Window
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.AdaptationCheckpoint
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
 
hashCode() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
hashCode() - Method in class com.google.android.exoplayer2.TracksInfo
 
hashCode() - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
 
hashCode() - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
 
hashCode() - Method in class com.google.android.exoplayer2.util.FlagSet
 
hashCode() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
hashCode() - Method in class com.google.android.exoplayer2.video.VideoSize
 
hasHorizontalTextInVerticalContextSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has an HorizontalTextInVerticalContextSpan from start to end.
hasIndependentSegments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.
hasItalicSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has an italic span from start to end.
hasMessages(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
hasNext() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
hasNext() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
hasNext() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
hasNextMediaItem() - Method in class com.google.android.exoplayer2.BasePlayer
 
hasNextMediaItem() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
hasNextMediaItem() - Method in interface com.google.android.exoplayer2.Player
Returns whether a next MediaItem exists, which may depend on the current repeat mode and whether shuffle mode is enabled.
hasNextWindow() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
hasNextWindow() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
hasNextWindow() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
hasNoAbsoluteSizeSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no AbsoluteSizeSpans on any of the text between start and end.
hasNoAlignmentSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no AlignmentSpans on any of the text between start and end.
hasNoBackgroundColorSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no BackgroundColorSpans on any of the text between start and end.
hasNoForegroundColorSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no ForegroundColorSpans on any of the text between start and end.
hasNoHorizontalTextInVerticalContextSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no HorizontalTextInVerticalContextSpans on any of the text between start and end.
hasNoRelativeSizeSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no RelativeSizeSpans on any of the text between start and end.
hasNoRubySpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no RubySpans on any of the text between start and end.
hasNoSpans() - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
 
hasNoStrikethroughSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no StrikethroughSpans on any of the text between start and end.
hasNoStyleSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no StyleSpans on any of the text between start and end.
hasNoTextEmphasisSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no TextEmphasisSpans on any of the text between start and end.
hasNoTypefaceSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no TypefaceSpans on any of the text between start and end.
hasNoUnderlineSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has no UnderlineSpans on any of the text between start and end.
hasPendingData() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether the sink has data pending that has not been consumed yet.
hasPendingData() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
hasPendingData() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
hasPendingOutput() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Returns whether the current output buffer has any data remaining.
hasPlayedAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns whether all ads in the ad group at index adGroupIndex have been played, skipped or failed.
hasPositiveStartOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the HlsMediaPlaylist.startOffsetUs was explicitly defined by #EXT-X-START as a positive value or zero.
hasPrevious() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
hasPrevious() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
hasPrevious() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
hasPreviousMediaItem() - Method in class com.google.android.exoplayer2.BasePlayer
 
hasPreviousMediaItem() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
hasPreviousMediaItem() - Method in interface com.google.android.exoplayer2.Player
Returns whether a previous media item exists, which may depend on the current repeat mode and whether shuffle mode is enabled.
hasPreviousWindow() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
hasPreviousWindow() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
hasPreviousWindow() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
hasProgramDateTime - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains a #EXT-X-PROGRAM-DATE-TIME tag.
hasReadStreamToEnd() - Method in class com.google.android.exoplayer2.BaseRenderer
 
hasReadStreamToEnd() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
hasReadStreamToEnd() - Method in interface com.google.android.exoplayer2.Renderer
Returns whether the renderer has read the current SampleStream to the end.
hasRelativeSizeSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a RelativeSizeSpan from start to end.
hasRubySpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a RubySpan from start to end.
hasSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
hasStrikethroughSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has an StrikethroughSpan from start to end.
hasSupplementalData() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA flag is set.
hasTextEmphasisSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has an TextEmphasisSpan from start to end.
hasTypefaceSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has a TypefaceSpan from start to end.
hasUnderlineSpanBetween(int, int) - Method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
Checks that the subject has an UnderlineSpan from start to end.
hasUnplayedAds() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns whether the ad group has at least one ad that is neither played, skipped, nor failed.
hdrStaticInfo - Variable in class com.google.android.exoplayer2.video.ColorInfo
HdrStaticInfo as defined in CTA-861.3, or null if none specified.
Header() - Constructor for class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
 
HEADER_SIZE_FOR_PARSER - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
The header size for AC-4 parser.
headerFields - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
An unmodifiable map of the response header fields and values.
HeartRating - Class in com.google.android.exoplayer2
A rating expressed as "heart" or "no heart".
HeartRating() - Constructor for class com.google.android.exoplayer2.HeartRating
Creates a unrated instance.
HeartRating(boolean) - Constructor for class com.google.android.exoplayer2.HeartRating
Creates a rated instance.
height - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
height - Variable in class com.google.android.exoplayer2.Format
The height of the video in pixels, or Format.NO_VALUE if unknown or not applicable.
height - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The height of the picture in pixels.
height - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
height - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
height - Variable in class com.google.android.exoplayer2.video.AvcConfig
The height of each decoded frame, or Format.NO_VALUE if unknown.
height - Variable in class com.google.android.exoplayer2.video.HevcConfig
The height of each decoded frame, or Format.NO_VALUE if unknown.
height - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
height - Variable in class com.google.android.exoplayer2.video.VideoSize
The video height in pixels, 0 when unknown.
HevcConfig - Class in com.google.android.exoplayer2.video
HEVC configuration data.
hide() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Hides the controller.
hide() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Hides the controller.
hideController() - Method in class com.google.android.exoplayer2.ui.PlayerView
Hides the playback controls.
hideController() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Hides the playback controls.
hideImmediately() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Hides the controller without any animation.
hideScrubber(boolean) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Hides the scrubber handle.
hideScrubber(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Hides the scrubber handle with animation.
HlsDataSourceFactory - Interface in com.google.android.exoplayer2.source.hls
Creates DataSources for HLS playlists, encryption and media chunks.
HlsDownloader - Class in com.google.android.exoplayer2.source.hls.offline
A downloader for HLS streams.
HlsDownloader(MediaItem, CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
Creates a new instance.
HlsDownloader(MediaItem, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
Creates a new instance.
HlsDownloader(MediaItem, ParsingLoadable.Parser<HlsPlaylist>, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
Creates a new instance.
HlsExtractorFactory - Interface in com.google.android.exoplayer2.source.hls
Factory for HLS media chunk extractors.
HlsManifest - Class in com.google.android.exoplayer2.source.hls
Holds a master playlist along with a snapshot of one of its media playlists.
HlsMasterPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS master playlist.
HlsMasterPlaylist(String, List<String>, List<HlsMasterPlaylist.Variant>, List<HlsMasterPlaylist.Rendition>, List<HlsMasterPlaylist.Rendition>, List<HlsMasterPlaylist.Rendition>, List<HlsMasterPlaylist.Rendition>, Format, List<Format>, boolean, Map<String, String>, List<DrmInitData>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
HlsMasterPlaylist.Rendition - Class in com.google.android.exoplayer2.source.hls.playlist
A rendition (i.e.
HlsMasterPlaylist.Variant - Class in com.google.android.exoplayer2.source.hls.playlist
A variant (i.e.
HlsMediaChunkExtractor - Interface in com.google.android.exoplayer2.source.hls
Extracts samples and track Formats from HlsMediaChunks.
HlsMediaPeriod - Class in com.google.android.exoplayer2.source.hls
A MediaPeriod that loads an HLS stream.
HlsMediaPeriod(HlsExtractorFactory, HlsPlaylistTracker, HlsDataSourceFactory, TransferListener, DrmSessionManager, DrmSessionEventListener.EventDispatcher, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher, Allocator, CompositeSequenceableLoaderFactory, boolean, @com.google.android.exoplayer2.source.hls.HlsMediaSource.MetadataType int, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
Creates an HLS media period.
HlsMediaPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS media playlist.
HlsMediaPlaylist(int, String, List<String>, long, boolean, long, boolean, int, long, int, long, long, boolean, boolean, boolean, DrmInitData, List<HlsMediaPlaylist.Segment>, List<HlsMediaPlaylist.Part>, HlsMediaPlaylist.ServerControl, Map<Uri, HlsMediaPlaylist.RenditionReport>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
HlsMediaPlaylist.Part - Class in com.google.android.exoplayer2.source.hls.playlist
A media part.
HlsMediaPlaylist.PlaylistType - Annotation Type in com.google.android.exoplayer2.source.hls.playlist
Type of the playlist, as defined by #EXT-X-PLAYLIST-TYPE.
HlsMediaPlaylist.RenditionReport - Class in com.google.android.exoplayer2.source.hls.playlist
A rendition report for an alternative rendition defined in another media playlist.
HlsMediaPlaylist.Segment - Class in com.google.android.exoplayer2.source.hls.playlist
Media segment reference.
HlsMediaPlaylist.SegmentBase - Class in com.google.android.exoplayer2.source.hls.playlist
The base for a HlsMediaPlaylist.Segment or a HlsMediaPlaylist.Part required for playback.
HlsMediaPlaylist.ServerControl - Class in com.google.android.exoplayer2.source.hls.playlist
Server control attributes.
HlsMediaSource - Class in com.google.android.exoplayer2.source.hls
An HLS MediaSource.
HlsMediaSource.Factory - Class in com.google.android.exoplayer2.source.hls
Factory for HlsMediaSources.
HlsMediaSource.MetadataType - Annotation Type in com.google.android.exoplayer2.source.hls
The types of metadata that can be extracted from HLS streams.
HlsPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS playlist.
HlsPlaylist(String, List<String>, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
 
HlsPlaylistParser - Class in com.google.android.exoplayer2.source.hls.playlist
HLS playlists parsing logic.
HlsPlaylistParser() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
Creates an instance where media playlists are parsed without inheriting attributes from a master playlist.
HlsPlaylistParser(HlsMasterPlaylist, HlsMediaPlaylist) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
Creates an instance where parsed media playlists inherit attributes from the given master playlist.
HlsPlaylistParser.DeltaUpdateException - Exception in com.google.android.exoplayer2.source.hls.playlist
Exception thrown when merging a delta update fails.
HlsPlaylistParserFactory - Interface in com.google.android.exoplayer2.source.hls.playlist
Factory for HlsPlaylist parsers.
HlsPlaylistTracker - Interface in com.google.android.exoplayer2.source.hls.playlist
Tracks playlists associated to an HLS stream and provides snapshots.
HlsPlaylistTracker.Factory - Interface in com.google.android.exoplayer2.source.hls.playlist
Factory for HlsPlaylistTracker instances.
HlsPlaylistTracker.PlaylistEventListener - Interface in com.google.android.exoplayer2.source.hls.playlist
Called on playlist loading events.
HlsPlaylistTracker.PlaylistResetException - Exception in com.google.android.exoplayer2.source.hls.playlist
Thrown when the media sequence of a new snapshot indicates the server has reset.
HlsPlaylistTracker.PlaylistStuckException - Exception in com.google.android.exoplayer2.source.hls.playlist
Thrown when a playlist is considered to be stuck due to a server side error.
HlsPlaylistTracker.PrimaryPlaylistListener - Interface in com.google.android.exoplayer2.source.hls.playlist
Listener for primary playlist changes.
HlsTrackMetadataEntry - Class in com.google.android.exoplayer2.source.hls
Holds metadata associated to an HLS media track.
HlsTrackMetadataEntry(String, String, List<HlsTrackMetadataEntry.VariantInfo>) - Constructor for class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
Creates an instance.
HlsTrackMetadataEntry.VariantInfo - Class in com.google.android.exoplayer2.source.hls
Holds attributes defined in an EXT-X-STREAM-INF tag.
holdBackUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
The server-recommended live offset in microseconds, or C.TIME_UNSET if none defined.
HorizontalTextInVerticalContextSpan - Class in com.google.android.exoplayer2.text.span
A styling span for horizontal text in a vertical context.
HorizontalTextInVerticalContextSpan() - Constructor for class com.google.android.exoplayer2.text.span.HorizontalTextInVerticalContextSpan
 
HostActivity - Class in com.google.android.exoplayer2.testutil
A host activity for performing playback tests.
HostActivity() - Constructor for class com.google.android.exoplayer2.testutil.HostActivity
 
HostActivity.HostedTest - Interface in com.google.android.exoplayer2.testutil
Interface for tests that run inside of a HostActivity.
HTTP_METHOD_GET - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
HTTP GET method.
HTTP_METHOD_HEAD - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
HTTP HEAD method.
HTTP_METHOD_POST - Static variable in class com.google.android.exoplayer2.upstream.DataSpec
HTTP POST method.
httpBody - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The HTTP request body, null otherwise.
HttpDataSource - Interface in com.google.android.exoplayer2.upstream
An HTTP DataSource.
HttpDataSource.BaseFactory - Class in com.google.android.exoplayer2.upstream
Base implementation of HttpDataSource.Factory that sets default request properties.
HttpDataSource.CleartextNotPermittedException - Exception in com.google.android.exoplayer2.upstream
Thrown when cleartext HTTP traffic is not permitted.
HttpDataSource.Factory - Interface in com.google.android.exoplayer2.upstream
A factory for HttpDataSource instances.
HttpDataSource.HttpDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an error is encountered when trying to read from a HttpDataSource.
HttpDataSource.HttpDataSourceException.Type - Annotation Type in com.google.android.exoplayer2.upstream
The type of operation that produced the error.
HttpDataSource.InvalidContentTypeException - Exception in com.google.android.exoplayer2.upstream
Thrown when the content type is invalid.
HttpDataSource.InvalidResponseCodeException - Exception in com.google.android.exoplayer2.upstream
Thrown when an attempt to open a connection results in a response code not in the 2xx range.
HttpDataSource.RequestProperties - Class in com.google.android.exoplayer2.upstream
Stores HTTP request properties (aka HTTP headers) and provides methods to modify the headers in a thread safe way to avoid the potential of creating snapshots of an inconsistent or unintended state.
HttpDataSourceException(DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
Constructs an HttpDataSourceException.
HttpDataSourceException(DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
HttpDataSourceException(IOException, DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
Constructs an HttpDataSourceException.
HttpDataSourceException(IOException, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
HttpDataSourceException(String, DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
Constructs an HttpDataSourceException.
HttpDataSourceException(String, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
HttpDataSourceException(String, IOException, DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
Constructs an HttpDataSourceException.
HttpDataSourceException(String, IOException, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
HttpDataSourceTestEnv - Class in com.google.android.exoplayer2.testutil
A JUnit Rule that creates test resources for HttpDataSource contract tests.
HttpDataSourceTestEnv() - Constructor for class com.google.android.exoplayer2.testutil.HttpDataSourceTestEnv
 
HttpMediaDrmCallback - Class in com.google.android.exoplayer2.drm
A MediaDrmCallback that makes requests using HttpDataSource instances.
HttpMediaDrmCallback(String, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
HttpMediaDrmCallback(String, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
 
httpMethod - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The HTTP method to use when requesting the data.
httpRequestHeaders - Variable in class com.google.android.exoplayer2.upstream.DataSpec
Additional HTTP headers to use when requesting the data.
HttpUtil - Class in com.google.android.exoplayer2.upstream
Utility methods for HTTP.

I

i(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
i(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
IcyDecoder - Class in com.google.android.exoplayer2.metadata.icy
Decodes ICY stream information.
IcyDecoder() - Constructor for class com.google.android.exoplayer2.metadata.icy.IcyDecoder
 
IcyHeaders - Class in com.google.android.exoplayer2.metadata.icy
ICY headers.
IcyHeaders(int, String, String, String, boolean, int) - Constructor for class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
IcyInfo - Class in com.google.android.exoplayer2.metadata.icy
ICY in-stream information.
IcyInfo(byte[], String, String) - Constructor for class com.google.android.exoplayer2.metadata.icy.IcyInfo
Construct a new IcyInfo from the source metadata, and optionally a StreamTitle and StreamUrl that have been extracted.
id - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The track identifier.
id - Variable in class com.google.android.exoplayer2.Format
An identifier for the format, or null if unknown or not applicable.
id - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The instance identifier.
id - Variable in class com.google.android.exoplayer2.metadata.id3.Id3Frame
The frame ID.
id - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
The unique content id.
id - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
A non-negative identifier for the adaptation set that's unique in the scope of its containing period, or AdaptationSet.ID_UNSET if not specified.
id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
The identifier, or null.
id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The period identifier, if one exists.
id - Variable in class com.google.android.exoplayer2.source.MaskingMediaPeriod
The MediaSource.MediaPeriodId used to create the masking media period.
id - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
id - Variable in class com.google.android.exoplayer2.Timeline.Period
An identifier for the period.
id() - Method in class com.google.android.exoplayer2.source.dash.manifest.EventStream
A constructed id of this EventStream.
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
ID - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
ID_UNSET - Static variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Value of AdaptationSet.id indicating no value is set.=
ID3_HEADER_LENGTH - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
Length of an ID3 tag header.
ID3_SCHEME_ID_AOM - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
emsg scheme_id_uri from the CMAF spec.
ID3_TAG - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
The first three bytes of a well formed ID3 tag header.
Id3Decoder - Class in com.google.android.exoplayer2.metadata.id3
Decodes ID3 tags.
Id3Decoder() - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
Id3Decoder(Id3Decoder.FramePredicate) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
 
Id3Decoder.FramePredicate - Interface in com.google.android.exoplayer2.metadata.id3
A predicate for determining whether individual frames should be decoded.
Id3Frame - Class in com.google.android.exoplayer2.metadata.id3
Base class for ID3 frames.
Id3Frame(String) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Frame
 
Id3Peeker - Class in com.google.android.exoplayer2.extractor
Peeks data from the beginning of an ExtractorInput to determine if there is any ID3 tag.
Id3Peeker() - Constructor for class com.google.android.exoplayer2.extractor.Id3Peeker
 
Id3Reader - Class in com.google.android.exoplayer2.extractor.ts
Parses ID3 data and extracts individual text information frames.
Id3Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
identifier - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The identifier as defined in SCTE35, Section 9.3.6.
IllegalClippingException(int) - Constructor for exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
 
IllegalMergeException(int) - Constructor for exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
 
IllegalSeekPositionException - Exception in com.google.android.exoplayer2
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.
IllegalSeekPositionException(Timeline, int, long) - Constructor for exception com.google.android.exoplayer2.IllegalSeekPositionException
 
iLog(int) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
Returns ilog(x), which is the index of the highest set bit in x.
ImaAdsLoader - Class in com.google.android.exoplayer2.ext.ima
AdsLoader using the IMA SDK.
ImaAdsLoader.Builder - Class in com.google.android.exoplayer2.ext.ima
Builder for ImaAdsLoader.
IMAGE_JPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
IMPORTANCE_DEFAULT - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_HIGH - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_LOW - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_MIN - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_NONE - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
IMPORTANCE_UNSPECIFIED - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
 
inbandEventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
inbandEventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The in-band event streams in the representation.
increaseClearDataFirstSubSampleBy(int) - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
Increases the number of clear data for the first sub sample by count.
increaseDeviceVolume() - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated.
increaseDeviceVolume() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
increaseDeviceVolume() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
increaseDeviceVolume() - Method in interface com.google.android.exoplayer2.Player
Increases the volume of the device.
increaseDeviceVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
increaseDeviceVolume() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
index - Variable in class com.google.android.exoplayer2.testutil.DumpableFormat
 
INDEX_UNBOUNDED - Static variable in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
 
INDEX_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown index.
indexOf(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
indexOf(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
indexOf(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the selection of the track with the specified index in the track group.
indexOf(Format) - Method in class com.google.android.exoplayer2.source.TrackGroup
Returns the index of the track with the given format in the group.
indexOf(Format) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
indexOf(Format) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
indexOf(Format) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the index in the selection of the track with the specified format.
indexOf(TrackGroup) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
Returns the index of a group within the array.
IndexSeekMap - Class in com.google.android.exoplayer2.extractor
A SeekMap implementation based on a mapping between times and positions in the input stream.
IndexSeekMap(long[], long[], long) - Constructor for class com.google.android.exoplayer2.extractor.IndexSeekMap
Creates an instance.
inferContentType(Uri) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the C.ContentType from a Uri.
inferContentType(Uri, String) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the C.ContentType from a Uri.
inferContentType(String) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the C.ContentType from a file name.
inferContentTypeForUriAndMimeType(Uri, String) - Static method in class com.google.android.exoplayer2.util.Util
Makes a best guess to infer the C.ContentType from a Uri and optional MIME type.
inferFileTypeFromMimeType(String) - Static method in class com.google.android.exoplayer2.util.FileTypes
Returns the FileTypes.Type corresponding to the MIME type provided.
inferFileTypeFromResponseHeaders(Map<String, List<String>>) - Static method in class com.google.android.exoplayer2.util.FileTypes
Returns the FileTypes.Type corresponding to the response headers provided.
inferFileTypeFromUri(Uri) - Static method in class com.google.android.exoplayer2.util.FileTypes
Returns the FileTypes.Type corresponding to the Uri provided.
inflate(ParsableByteArray, ParsableByteArray, Inflater) - Static method in class com.google.android.exoplayer2.util.Util
Uncompresses the data in input.
info - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
An opaque object that will be returned to TrackSelector.onSelectionActivated(Object) should the selections be activated.
init(int) - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Initializes required EGL parameters and creates the SurfaceTexture.
init(long, int) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
Initializes the buffer.
init(long, int, ByteBuffer) - Method in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Initializes the buffer.
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
init(ExtractorOutput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Initializes the extractor with an ExtractorOutput.
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.jpeg.JpegExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
 
init(ExtractorOutput) - Method in interface com.google.android.exoplayer2.source.hls.HlsMediaChunkExtractor
Initializes the extractor with an ExtractorOutput.
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
init(ExtractorOutput) - Method in class com.google.android.exoplayer2.text.SubtitleExtractor
 
init(BaseMediaChunkOutput) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
Initializes the chunk for loading, setting the BaseMediaChunkOutput that will receive samples as they are loaded.
init(ChunkExtractor.TrackOutputProvider) - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
Initializes the chunk for loading, setting a ChunkExtractor.TrackOutputProvider for track outputs to which formats will be written as they are loaded.
init(ChunkExtractor.TrackOutputProvider, long, long) - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
init(ChunkExtractor.TrackOutputProvider, long, long) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor
Initializes the wrapper to output to TrackOutputs provided by the specified ChunkExtractor.TrackOutputProvider, and configures the extractor to receive data from a new chunk.
init(ChunkExtractor.TrackOutputProvider, long, long) - Method in class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
 
init(MappingTrackSelector.MappedTrackInfo, int, boolean, List<DefaultTrackSelector.SelectionOverride>, Comparator<Format>, TrackSelectionView.TrackSelectionListener) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Initialize the view to select tracks for a specified renderer using MappingTrackSelector.MappedTrackInfo and a set of DefaultTrackSelector.Parameters.
init(TrackSelector.InvalidationListener, BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to initialize the selector.
init(DataReader, Uri, Map<String, List<String>>, long, long, ExtractorOutput) - Method in class com.google.android.exoplayer2.source.BundledExtractorsAdapter
 
init(DataReader, Uri, Map<String, List<String>>, long, long, ExtractorOutput) - Method in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
init(DataReader, Uri, Map<String, List<String>>, long, long, ExtractorOutput) - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor
Initializes the underlying infrastructure for reading from the input.
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.PassthroughSectionPayloadReader
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
Initializes the section payload reader.
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Initializes the payload reader.
initForPrivateFrame(int, int) - Method in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Configures the buffer for the given frame dimensions when passing actual frame data via VideoDecoderOutputBuffer.decoderPrivate.
initForYuvFrame(int, int, int, int, int) - Method in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Resizes the buffer based on the given stride.
INITIAL_DRM_REQUEST_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Number of times to retry for initial provisioning and key request for reporting error.
initialAudioFormatBitrateCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of playbacks with initial audio format bitrate data.
InitializationChunk - Class in com.google.android.exoplayer2.source.chunk
A Chunk that uses an Extractor to decode initialization data for single track.
InitializationChunk(DataSource, DataSpec, Format, int, Object, ChunkExtractor) - Constructor for class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
initializationData - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
initializationData - Variable in class com.google.android.exoplayer2.Format
Initialization data that must be provided to the decoder.
initializationData - Variable in class com.google.android.exoplayer2.video.AvcConfig
List of buffers containing the codec-specific data to be provided to the decoder.
initializationData - Variable in class com.google.android.exoplayer2.video.HevcConfig
List of buffers containing the codec-specific data to be provided to the decoder.
initializationDataEquals(Format) - Method in class com.google.android.exoplayer2.Format
Returns whether the Format.initializationDatas belonging to this format and other are equal.
InitializationException(int, int, int, int, Format, boolean, Exception) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
Creates a new instance.
initializationSegment - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The media initialization section for this segment, as defined by #EXT-X-MAP.
initialize(Loader, SntpClient.InitializationCallback) - Static method in class com.google.android.exoplayer2.util.SntpClient
Starts loading the device time offset.
initialSeek(int, long) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Seeks before setting the media sources and preparing the player.
InitialTimeline(Timeline) - Constructor for class com.google.android.exoplayer2.testutil.FakeMediaSource.InitialTimeline
 
initialVideoFormatBitrateCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of playbacks with initial video format bitrate data.
initialVideoFormatHeightCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of playbacks with initial video format height data.
inputAudioFormat - Variable in class com.google.android.exoplayer2.audio.BaseAudioProcessor
The current input audio format.
inputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of queued input buffers.
inputFormatChanged(Format, DecoderReuseEvaluation) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
inputFormatChanged(Format, DecoderReuseEvaluation) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
InputReaderAdapterV30 - Class in com.google.android.exoplayer2.source.mediaparser
MediaParser.SeekableInputReader implementation wrapping a DataReader.
InputReaderAdapterV30() - Constructor for class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
 
inputSize - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
insert(Uri, ContentValues) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
INSTANCE - Static variable in class com.google.android.exoplayer2.upstream.DummyDataSource
 
InsufficientCapacityException(int, int) - Constructor for exception com.google.android.exoplayer2.decoder.DecoderInputBuffer.InsufficientCapacityException
Creates an instance.
integerElement(int, long) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when an integer element is encountered.
integerElement(int, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when an integer element is encountered.
InternalFrame - Class in com.google.android.exoplayer2.metadata.id3
Internal ID3 frame that is intended for use by the player.
InternalFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
invalidate() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Calls TrackSelector.InvalidationListener.onTrackSelectionsInvalidated() to invalidate all previously generated track selections.
invalidate() - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Forces an update of the notification if already started.
invalidateForegroundNotification() - Method in class com.google.android.exoplayer2.offline.DownloadService
Invalidates the current foreground notification and causes DownloadService.getForegroundNotification(List, int) to be invoked again if the service isn't stopped.
invalidateMediaSessionMetadata() - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Updates the metadata of the media session.
invalidateMediaSessionPlaybackState() - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Updates the playback state of the media session.
invalidateMediaSessionQueue() - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Updates the queue of the media session by calling MediaSessionConnector.QueueNavigator.onTimelineChanged(Player).
invalidateUpstreamFormatAdjustment() - Method in class com.google.android.exoplayer2.source.SampleQueue
Invalidates the last upstream format adjustment.
InvalidContentTypeException(String, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
 
InvalidResponseCodeException(int, String, IOException, Map<String, List<String>>, DataSpec, byte[]) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
 
InvalidResponseCodeException(int, String, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
InvalidResponseCodeException(int, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
invoke(T) - Method in interface com.google.android.exoplayer2.util.ListenerSet.Event
Invokes the event notification on the given listener.
invoke(T, FlagSet) - Method in interface com.google.android.exoplayer2.util.ListenerSet.IterationFinishedEvent
Invokes the iteration finished event.
isAbsolute(String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Returns true if the URI is starting with a scheme component, false otherwise.
isActionSegment() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
isActive() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns whether the processor is configured and will process input buffers.
isActive() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
isActive() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
isActive() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
isAd() - Method in class com.google.android.exoplayer2.source.MediaPeriodId
Returns whether this period identifier identifies an ad in an ad group in a period.
isAdInErrorState(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns whether the specified ad has been marked as in AdPlaybackState.AD_STATE_ERROR.
isAdtsSyncWord(int) - Static method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
Returns whether an integer matches an ADTS SYNC word.
isAfterLast() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns whether the cursor is pointing to the position after the last download.
isAnimationEnabled() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns whether an animation is used to show and hide the playback controls.
isAudio(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given string is an audio MIME type.
isAudioChannelCountSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports audio with a given channel count.
isAudioSampleRateSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports audio with a given sample rate.
isAutomotive(Context) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether the app is running on an automotive device.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.av1.Gav1Library
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.flac.FlacLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns whether the underlying library is available, loading it if necessary.
isAvailable() - Method in class com.google.android.exoplayer2.util.LibraryLoader
Returns whether the underlying libraries are available, loading them if necessary.
isBeforeFirst() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns whether the cursor is pointing to the position before the first download.
isBlacklisted(int, long) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
isBlacklisted(int, long) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
isBlacklisted(int, long) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns whether the track at the specified index in the selection is excluded.
isCached - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Whether the CacheSpan is cached.
isCached(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Returns whether the specified range of data in a resource is fully cached.
isCached(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
isCacheFolderLocked(File) - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
Returns whether cacheFolder is locked by a SimpleCache instance.
isCanceled() - Method in class com.google.android.exoplayer2.PlayerMessage
Returns whether the message delivery has been canceled.
isCancelled() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
isCastSessionAvailable() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Returns whether a cast session is available.
isCausedByPositionOutOfRange(IOException) - Static method in exception com.google.android.exoplayer2.upstream.DataSourceException
isChargingRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the device is required to be charging.
isClosed() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns whether the cursor is closed
isCodecSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports the codec of the given format.
isCommandAvailable(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.BasePlayer
 
isCommandAvailable(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isCommandAvailable(@com.google.android.exoplayer2.Player.Command int) - Method in interface com.google.android.exoplayer2.Player
Returns whether the provided Player.Command is available.
isControllerFullyVisible() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Returns whether the controller is currently fully visible.
isControllerVisible() - Method in class com.google.android.exoplayer2.ui.PlayerView
Returns whether the controller is currently visible.
isCryptoSchemeSupported(UUID) - Static method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Returns whether the DRM scheme with the given UUID is supported on this device.
isCurrentMediaItemDynamic() - Method in class com.google.android.exoplayer2.BasePlayer
 
isCurrentMediaItemDynamic() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isCurrentMediaItemDynamic() - Method in interface com.google.android.exoplayer2.Player
Returns whether the current MediaItem is dynamic (may change when the Timeline is updated), or false if the Timeline is empty.
isCurrentMediaItemLive() - Method in class com.google.android.exoplayer2.BasePlayer
 
isCurrentMediaItemLive() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isCurrentMediaItemLive() - Method in interface com.google.android.exoplayer2.Player
Returns whether the current MediaItem is live, or false if the Timeline is empty.
isCurrentMediaItemSeekable() - Method in class com.google.android.exoplayer2.BasePlayer
 
isCurrentMediaItemSeekable() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isCurrentMediaItemSeekable() - Method in interface com.google.android.exoplayer2.Player
Returns whether the current MediaItem is seekable, or false if the Timeline is empty.
isCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
 
isCurrentStreamFinal() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
isCurrentStreamFinal() - Method in interface com.google.android.exoplayer2.Renderer
Returns whether the current SampleStream will be the final one supplied before the renderer is next disabled or reset.
isCurrentWindowDynamic() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
isCurrentWindowDynamic() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
isCurrentWindowDynamic() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
isCurrentWindowLive() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
isCurrentWindowLive() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
isCurrentWindowLive() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
isCurrentWindowSeekable() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
isCurrentWindowSeekable() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
isCurrentWindowSeekable() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
isDecodeOnly() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_DECODE_ONLY flag is set.
isDeviceMuted() - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated.
isDeviceMuted() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and always returns false.
isDeviceMuted() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isDeviceMuted() - Method in interface com.google.android.exoplayer2.Player
Gets whether the device is muted or not.
isDeviceMuted() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
isDeviceMuted() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
isDone() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
isDynamic - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isDynamic - Variable in class com.google.android.exoplayer2.Timeline.Window
Whether this window may change when the timeline is updated.
isEligibleForFallback(IOException) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
Returns whether an error should trigger a fallback if possible.
isEmpty() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
Returns whether this track group array is empty.
isEmpty() - Method in class com.google.android.exoplayer2.Timeline
Returns whether the timeline is empty.
isEnabled - Variable in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
isEnabled() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Returns whether the source is enabled.
isEncodingHighResolutionPcm(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether encoding is high resolution (> 16-bit) PCM.
isEncodingLinearPcm(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether encoding is one of the linear PCM encodings.
isEncrypted - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
Indicates the encryption state of the samples in the sample group.
isEncrypted() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Returns whether the C.BUFFER_FLAG_ENCRYPTED flag is set.
isEnded - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
 
isEnded() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Returns whether this processor will return no more output from AudioProcessor.getOutput() until it has been AudioProcessor.flush()ed and more input has been queued.
isEnded() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether AudioSink.playToEndOfStream() has been called and all buffers have been processed.
isEnded() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
isEnded() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
isEnded() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
isEnded() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
isEnded() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
isEnded() - Method in interface com.google.android.exoplayer2.Renderer
Whether the renderer is ready for the ExoPlayer instance to transition to Player.STATE_ENDED.
isEnded() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
 
isEnded() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Returns whether the iteration has reached the end of the available data.
isEnded() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
isEnded() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
isEndOfStream() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_END_OF_STREAM flag is set.
isEndTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is an end tag.
isEndTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is an end tag with the specified name.
isEquivalent(TrackSelectorResult) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Returns whether this result is equivalent to other for all renderers.
isEquivalent(TrackSelectorResult, int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Returns whether this result is equivalent to other for the renderer at the given index.
isErrorSegment() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
isExplicit() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
Returns true if segments are defined explicitly by the index.
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
 
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
 
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
isFallbackAvailable(int) - Method in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackOptions
Returns whether a fallback is available for the given fallback type.
isFirst() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns whether the cursor is pointing to the first download.
isFlagSet(int) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns whether the given flag is set.
isFormatSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns whether the decoder may support decoding the given format.
isFormatSupported(MediaDescription) - Static method in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
Returns whether the format of a MediaDescription is supported.
isFullyVisible() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns whether the controller is fully visible, which means all UI controls are visible.
isHdr10PlusOutOfBandMetadataSupported() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the codec handles HDR10+ out-of-band metadata.
isHeart() - Method in class com.google.android.exoplayer2.HeartRating
Returns whether the rating is "heart".
isHighBitDepthSupported() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns true if the underlying libvpx library supports high bit depth.
isHoleSpan() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Returns whether this is a hole CacheSpan.
isIdle() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns whether the manager is currently idle.
isIdleRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the device is required to be idle.
isImage(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given string is an image MIME type.
isIndependent - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Part
Whether the part is independent.
isInitialized() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns whether the manager has completed initialization.
isInitialized() - Static method in class com.google.android.exoplayer2.util.SntpClient
Returns whether the device time offset has already been loaded.
isKeyFrame() - Method in class com.google.android.exoplayer2.decoder.Buffer
Returns whether the C.BUFFER_FLAG_KEY_FRAME flag is set.
isLast() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Returns whether the cursor is pointing to the last download.
isLastPeriod(int, Timeline.Period, Timeline.Window, @com.google.android.exoplayer2.Player.RepeatMode int, boolean) - Method in class com.google.android.exoplayer2.Timeline
Returns whether the given period is the last period of the timeline depending on the repeatMode and whether shuffling is enabled.
isLastSampleQueued() - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns whether the last sample of the stream has knowingly been queued.
isLevel1Element(int) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Checks if the given id is that of a level 1 element.
isLevel1Element(int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Checks if the given id is that of a level 1 element.
isLinebreak(int) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether the given character is a carriage return ('\r') or a line feed ('\n').
isLinethrough() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
isLive - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
Whether the manifest describes a live presentation still in progress.
isLive - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isLive - Variable in class com.google.android.exoplayer2.Timeline.Window
Deprecated.
isLive() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
isLive() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns whether the tracked playlists describe a live stream.
isLive() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns whether this is a live stream.
isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
Returns whether the chunk has been fully loaded.
isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
isLoadCompleted() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
 
isLoading() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
isLoading() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isLoading() - Method in interface com.google.android.exoplayer2.Player
Whether the player is currently loading the source.
isLoading() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
isLoading() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
isLoading() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
isLoading() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
isLoading() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
isLoading() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
isLoading() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Returns whether the media period is currently loading.
isLoading() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Returns whether the loader is currently loading.
isLoading() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
isLoading() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
isLoading() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
isLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
Returns whether the loader is currently loading.
isLoadingFinished() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Returns whether data has been written to the sample queue until the end of stream signal.
isLocalFileUri(Uri) - Static method in class com.google.android.exoplayer2.util.Util
Returns true if the URI is a path to a local file or a reference to a local file.
isMatroska(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given mimeType is a Matroska MIME type, including WebM.
isNalUnitSei(String, byte) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Returns whether the NAL unit with the specified header contains supplemental enhancement information.
isNetwork - Variable in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
isNetworkRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether network connectivity is required.
isNewerThan(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns whether this playlist is newer than other.
isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
 
ISO88591_NAME - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Use StandardCharsets or Charsets instead.
isoColorPrimariesToColorSpace(int) - Static method in class com.google.android.exoplayer2.video.ColorInfo
Returns the C.ColorSpace corresponding to the given ISO color primary code, as per table A.7.21.1 in Rec.
isOpen() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Returns whether the condition is opened.
isOpened() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
Returns whether the data source is currently opened.
isOpenEnded() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
Returns whether this is an open-ended CacheSpan.
isOrdered - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
isoTransferCharacteristicsToColorTransfer(int) - Static method in class com.google.android.exoplayer2.video.ColorInfo
Returns the C.ColorTransfer corresponding to the given ISO transfer characteristics code, as per table A.7.21.2 in Rec.
isPackedAudioExtractor() - Method in class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
 
isPackedAudioExtractor() - Method in interface com.google.android.exoplayer2.source.hls.HlsMediaChunkExtractor
Returns whether this is a packed audio extractor, as defined in RFC 8216, Section 3.4.
isPackedAudioExtractor() - Method in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
 
isPlaceholder - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isPlaceholder - Variable in class com.google.android.exoplayer2.Timeline.Period
Whether this period contains placeholder information because the real information has yet to be loaded.
isPlaceholder - Variable in class com.google.android.exoplayer2.Timeline.Window
Whether this window contains placeholder information because the real information has yet to be loaded.
isPlayable - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional boolean for media playability.
isPlaying() - Method in class com.google.android.exoplayer2.BasePlayer
 
isPlaying() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
isPlaying() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isPlaying() - Method in interface com.google.android.exoplayer2.Player
Returns whether the player is playing, i.e.
isPlayingAd() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
isPlayingAd() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
isPlayingAd() - Method in interface com.google.android.exoplayer2.Player
Returns whether the player is currently playing an ad.
isPlayingAd() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
isPlayingAd() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
isPreload - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Part
Whether the part is a preloading part.
isPrepared() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
isPrepared() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Returns whether the source is currently prepared.
isProtectedContentExtensionSupported(Context) - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns whether creating a GL context with "EGL_EXT_protected_content" is possible.
isPsshAtom(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Returns whether the data is a valid PSSH atom.
isPublic - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
Whether the radio station is listed (icy-pub), or false if the header was not present.
isRated() - Method in class com.google.android.exoplayer2.HeartRating
 
isRated() - Method in class com.google.android.exoplayer2.PercentageRating
 
isRated() - Method in class com.google.android.exoplayer2.Rating
Whether the rating exists or not.
isRated() - Method in class com.google.android.exoplayer2.StarRating
 
isRated() - Method in class com.google.android.exoplayer2.ThumbRating
 
isReady() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
isReady() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
isReady() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
isReady() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
isReady() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
isReady() - Method in interface com.google.android.exoplayer2.Renderer
Whether the renderer is able to immediately render media from the current position.
isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
isReady() - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
isReady() - Method in interface com.google.android.exoplayer2.source.SampleStream
Returns whether data is available to be read.
isReady() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
isReady() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
 
isReady() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
isReady() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
isReady() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
isReady() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
isReady(boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Returns whether there is data available for reading.
isRecoverable - Variable in exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
If the exception can be recovered by recreating the sink.
isRecoverable - Variable in exception com.google.android.exoplayer2.audio.AudioSink.WriteException
If the exception can be recovered by recreating the sink.
isRendererEnabled(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Returns whether the renderer at the specified index is enabled.
isRepeatModeEnabled(@com.google.android.exoplayer2.Player.RepeatMode int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
Verifies whether a given repeatMode is enabled in the bitmask enabledModes.
isRetry() - Method in class com.google.android.exoplayer2.upstream.Loader.LoadErrorAction
Returns whether this is a retry action.
isReusable() - Method in class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
 
isReusable() - Method in interface com.google.android.exoplayer2.source.hls.HlsMediaChunkExtractor
Returns whether this instance can be used for extracting multiple continuous segments.
isReusable() - Method in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
 
isRoot - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
isSeamlessAdaptationSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Returns whether it may be possible to adapt an instance of this decoder to playing a different format when the codec is configured to play media in the specified format.
isSeamlessAdaptationSupported(Format, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
isSecureSupported(Context) - Static method in class com.google.android.exoplayer2.video.DummySurface
Returns whether the device supports secure dummy surfaces.
isSeekable - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
isSeekable - Variable in class com.google.android.exoplayer2.Timeline.Window
Whether it's possible to seek within this window.
isSeekable() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.IndexSeekMap
 
isSeekable() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
isSeekable() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
Returns whether seeking is supported.
isSeekable() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
isSeeking() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Returns whether the last operation set by BinarySearchSeeker.setSeekTargetUs(long) is still pending.
isSegmentAvailableAtFullNetworkSpeed(long, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
isSelected() - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns if at least one track in a TrackGroup is selected for playback.
isServerSideInserted - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Whether this ad group is server-side inserted and part of the content stream.
isServerSideInsertedAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
Returns whether the ad group at index adGroupIndex is server-side inserted and part of the content stream.
isSetParametersSupported() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
isSetParametersSupported() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Returns if this TrackSelector supports TrackSelector.setParameters(TrackSelectionParameters).
isSimulatingUnknownLength() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Returns whether unknown length is simulated
isSingleWindow() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
isSingleWindow() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
isSingleWindow() - Method in interface com.google.android.exoplayer2.source.MediaSource
Returns true if the media source is guaranteed to never have zero or more than one window.
isSingleWindow() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
isSnapshotValid(Uri) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
isSnapshotValid(Uri) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns whether the snapshot of the playlist referenced by the provided Uri is valid, meaning all the segments referenced by the playlist are expected to be available.
isSourceReady() - Method in class com.google.android.exoplayer2.BaseRenderer
Returns whether the upstream source is ready.
isStartOfTsPacket(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.extractor.ts.TsUtil
Returns whether a TS packet starts at searchPosition according to the MPEG-TS synchronization recommendations.
isStartTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is a start tag.
isStartTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is a start tag with the specified name.
isStartTagIgnorePrefix(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
Returns whether the current event is a start tag with the specified name.
isStorageNotLowRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether the device is required to not be low on internal storage.
isSupported() - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns if at least one track in a TrackGroup is supported.
isSupported(int, boolean) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Returns true if the C.FormatSupport in the given RendererCapabilities.Capabilities is C.FORMAT_HANDLED or if allowExceedsCapabilities is set and the format support is C.FORMAT_EXCEEDS_CAPABILITIES.
isSurfacelessContextExtensionSupported() - Static method in class com.google.android.exoplayer2.util.GlUtil
Returns whether creating a GL context with "EGL_KHR_surfaceless_context" is possible.
isSurfaceValid - Variable in exception com.google.android.exoplayer2.video.MediaCodecVideoDecoderException
Whether the surface was valid when the exception occurred.
isSyncWord(int) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns whether a given integer matches a DTS sync word.
isTerminalState() - Method in class com.google.android.exoplayer2.offline.Download
Returns whether the download is completed or failed.
isText(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given string is a text MIME type, including known text types that use "application" as their base type.
isThumbsUp() - Method in class com.google.android.exoplayer2.ThumbRating
Returns whether the rating is "thumbs up".
isTrackSelected(int) - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns if a track in a TrackGroup is selected for playback.
isTrackSupported(int) - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Returns if a track in a TrackGroup is supported for playback.
isTv(Context) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether the app is running on a TV device.
isTypeSelected(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.TracksInfo
Returns if at least one track of the type trackType is selected for playback.
isTypeSupportedOrEmpty(@com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.TracksInfo
Returns if there is at least one track of type trackType but none are supported.
isUnderline() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
isUnmeteredNetworkRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
Returns whether un-metered network connectivity is required.
isVideo(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Returns whether the given string is a video MIME type.
isVideoSizeAndRateSupportedV21(int, int, double) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports video with a given width, height and frame rate.
isVisible() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Returns whether the controller is currently visible.
isVisible() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Returns whether the controller is currently visible.
isWaitingForRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Returns whether this manager has one or more downloads that are not progressing for the sole reason that the Requirements are not met.
isWebvttHeaderLine(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Returns whether the given input is the first line of a WebVTT file.
isWindowColorSet() - Method in class com.google.android.exoplayer2.text.Cue.Builder
Returns true if the fill color of the window is set.
isWithinConstraints - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
Whether the provided format is within the parameter constraints.
isWithinConstraints - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
Whether the provided format is within the parameter constraints.
isWithinMaxConstraints - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.VideoTrackScore
Whether the provided format is within the parameter maximum constraints.
iterator() - Method in class com.google.android.exoplayer2.util.CopyOnWriteMultiset
Returns an iterator over a snapshot of all the elements currently in this multiset (including duplicates).
Iterator(FakeAdaptiveDataSet, int, int) - Constructor for class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
Create iterator.
iv - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
The 16 byte initialization vector.

J

JPEG - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the JPEG format.
JpegExtractor - Class in com.google.android.exoplayer2.extractor.jpeg
Extracts JPEG image using the Exif format.
JpegExtractor() - Constructor for class com.google.android.exoplayer2.extractor.jpeg.JpegExtractor
 
jumpDrawablesToCurrentState() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 

K

key - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
The 16 byte key id.
key - Variable in class com.google.android.exoplayer2.metadata.flac.VorbisComment
The key.
key - Variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
The metadata key name.
key - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The cache key that uniquely identifies the resource.
key - Variable in class com.google.android.exoplayer2.upstream.DataSpec
A key that uniquely identifies the resource.
KEY_ANDROID_CAPTURE_FPS - Static variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
Key for the capture frame rate (in frames per second).
KEY_CONTENT_ID - Static variable in class com.google.android.exoplayer2.offline.DownloadService
KEY_CONTENT_LENGTH - Static variable in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Key for content length in bytes (type: long).
KEY_CUSTOM_PREFIX - Static variable in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Prefix for custom metadata keys.
KEY_DOWNLOAD_REQUEST - Static variable in class com.google.android.exoplayer2.offline.DownloadService
KEY_FOREGROUND - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Key for a boolean extra that can be set on any intent to indicate whether the service was started in the foreground.
KEY_PCM_ENCODING_EXTENDED - Static variable in class com.google.android.exoplayer2.util.MediaFormatUtil
Custom MediaFormat key associated with an integer representing the PCM encoding.
KEY_PIXEL_WIDTH_HEIGHT_RATIO_FLOAT - Static variable in class com.google.android.exoplayer2.util.MediaFormatUtil
Custom MediaFormat key associated with a float representing the ratio between a pixel's width and height.
KEY_REDIRECTED_URI - Static variable in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
Key for redirected uri (type: String).
KEY_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
KEY_STATUS_AVAILABLE - Static variable in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Value for use with the Map returned from FakeExoMediaDrm.queryKeyStatus(byte[]).
KEY_STATUS_KEY - Static variable in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Key for use with the Map returned from FakeExoMediaDrm.queryKeyStatus(byte[]).
KEY_STATUS_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Value for use with the Map returned from FakeExoMediaDrm.queryKeyStatus(byte[]).
KEY_STOP_REASON - Static variable in class com.google.android.exoplayer2.offline.DownloadService
Key for the integer stop reason in DownloadService.ACTION_SET_STOP_REASON and DownloadService.ACTION_ADD_DOWNLOAD intents.
KEY_TYPE_OFFLINE - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Key request type for keys that will be used for offline use.
KEY_TYPE_RELEASE - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Key request type indicating that saved offline keys should be released.
KEY_TYPE_STREAMING - Static variable in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Key request type for keys that will be used for online use.
keyForField(int) - Static method in exception com.google.android.exoplayer2.PlaybackException
Converts the given PlaybackException.FieldNumber to a string which can be used as a field key when implementing PlaybackException.toBundle() and Bundleable.Creator.
KeyRequest(byte[], String) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
KeyRequest(byte[], String, int) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Creates an instance.
keySetId - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
The key set id of the offline licence if the content is protected with DRM.
KeysExpiredException - Exception in com.google.android.exoplayer2.drm
Thrown when the drm keys loaded into an open session expire.
KeysExpiredException() - Constructor for exception com.google.android.exoplayer2.drm.KeysExpiredException
 
KeyStatus(int, byte[]) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
Creates an instance.

L

label - Variable in class com.google.android.exoplayer2.Format
The human readable label, or null if unknown or not applicable.
label - Variable in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
The label.
lang - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
Declares the language code(s) for this ProgramInformation.
language - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
language - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
language - Variable in class com.google.android.exoplayer2.Format
The language as an IETF BCP 47 conformant tag, or null if unknown or not applicable.
language - Variable in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
The language.
language - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
language - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
LANGUAGE_UNDETERMINED - Static variable in class com.google.android.exoplayer2.C
Represents an undetermined language as an ISO 639-2 language code.
LanguageFeatureSpan - Interface in com.google.android.exoplayer2.text.span
Marker interface for span classes that carry language features rather than style information.
lastFormat - Variable in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
lastMediaSequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.RenditionReport
The last media sequence that is in the playlist of the reported rendition.
lastPartIndex - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.RenditionReport
The last part index that is in the playlist of the reported rendition, or C.INDEX_UNSET if the rendition does not contain partial segments.
lastPeriodIndex - Variable in class com.google.android.exoplayer2.Timeline.Window
The index of the last period that belongs to this window.
lastTouchTimestamp - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The last touch timestamp, or C.TIME_UNSET if CacheSpan.isCached is false.
LatmReader - Class in com.google.android.exoplayer2.extractor.ts
Parses and extracts samples from an AAC/LATM elementary stream.
LatmReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.LatmReader
 
LeanbackPlayerAdapter - Class in com.google.android.exoplayer2.ext.leanback
Leanback PlayerAdapter implementation for Player.
LeanbackPlayerAdapter(Context, Player, int) - Constructor for class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
Builds an instance.
LeastRecentlyUsedCacheEvictor - Class in com.google.android.exoplayer2.upstream.cache
Evicts least recently used cache files first.
LeastRecentlyUsedCacheEvictor(long) - Constructor for class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
length - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The number of chunks.
length - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
 
length - Variable in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
The length of the range, or C.LENGTH_UNSET to indicate that the range is unbounded.
length - Variable in class com.google.android.exoplayer2.source.TrackGroup
The number of tracks in the group.
length - Variable in class com.google.android.exoplayer2.source.TrackGroupArray
The number of groups in the array.
length - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
 
length - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The number of selected tracks within the TrackGroup.
length - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
length - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
The length of this array.
length - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
The number of selections in the result.
length - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The length of the CacheSpan, or C.LENGTH_UNSET if this is an open-ended hole.
length - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The length of the data, or C.LENGTH_UNSET.
length() - Method in class com.google.android.exoplayer2.metadata.Metadata
Returns the number of metadata entries.
length() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
length() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
length() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
Returns the number of tracks in the selection.
LENGTH_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown length.
level - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
The level number.
levelIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
LibflacAudioRenderer - Class in com.google.android.exoplayer2.ext.flac
Decodes and renders audio using the native Flac decoder.
LibflacAudioRenderer() - Constructor for class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
LibflacAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
Creates an instance.
LibflacAudioRenderer(Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
Creates an instance.
Libgav1VideoRenderer - Class in com.google.android.exoplayer2.ext.av1
Decodes and renders video using libgav1 decoder.
Libgav1VideoRenderer(long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
Creates a new instance.
Libgav1VideoRenderer(long, Handler, VideoRendererEventListener, int, int, int, int) - Constructor for class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
Creates a new instance.
LibopusAudioRenderer - Class in com.google.android.exoplayer2.ext.opus
Decodes and renders audio using the native Opus decoder.
LibopusAudioRenderer() - Constructor for class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
LibopusAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
Creates a new instance.
LibopusAudioRenderer(Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
Creates a new instance.
LibraryLoader - Class in com.google.android.exoplayer2.util
Configurable loader for native libraries.
LibraryLoader(String...) - Constructor for class com.google.android.exoplayer2.util.LibraryLoader
 
LibvpxVideoRenderer - Class in com.google.android.exoplayer2.ext.vp9
Decodes and renders video using the native VP9 decoder.
LibvpxVideoRenderer(long) - Constructor for class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
Creates a new instance.
LibvpxVideoRenderer(long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
Creates a new instance.
LibvpxVideoRenderer(long, Handler, VideoRendererEventListener, int, int, int, int) - Constructor for class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
Creates a new instance.
licenseRequestHeaders - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
The headers to attach to requests sent to the DRM license server.
licenseServerUrl - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The URL of the server to which license requests should be made.
licenseUri - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Optional default DRM license server Uri.
limit() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Returns the limit.
line - Variable in class com.google.android.exoplayer2.text.Cue
The position of the cue box within the viewport in the direction orthogonal to the writing direction (determined by Cue.verticalType), or Cue.DIMEN_UNSET.
LINE_TYPE_FRACTION - Static variable in class com.google.android.exoplayer2.text.Cue
Value for Cue.lineType when Cue.line is a fractional position.
LINE_TYPE_NUMBER - Static variable in class com.google.android.exoplayer2.text.Cue
Value for Cue.lineType when Cue.line is a line number.
lineAnchor - Variable in class com.google.android.exoplayer2.text.Cue
The cue box anchor positioned by Cue.line when Cue.lineType is Cue.LINE_TYPE_FRACTION.
linearSearch(int[], int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the index of the first occurrence of value in array, or C.INDEX_UNSET if value is not contained in array.
linearSearch(long[], long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the index of the first occurrence of value in array, or C.INDEX_UNSET if value is not contained in array.
lineType - Variable in class com.google.android.exoplayer2.text.Cue
The type of the Cue.line value.
ListenerSet<T extends @NonNull Object> - Class in com.google.android.exoplayer2.util
A set of listeners.
ListenerSet(Looper, Clock, ListenerSet.IterationFinishedEvent<T>) - Constructor for class com.google.android.exoplayer2.util.ListenerSet
Creates a new listener set.
ListenerSet.Event<T> - Interface in com.google.android.exoplayer2.util
An event sent to a listener.
ListenerSet.IterationFinishedEvent<T> - Interface in com.google.android.exoplayer2.util
An event sent to a listener when all other events sent during one Looper message queue iteration were handled by the listener.
liveConfiguration - Variable in class com.google.android.exoplayer2.MediaItem
The live playback configuration.
liveConfiguration - Variable in class com.google.android.exoplayer2.Timeline.Window
The MediaItem.LiveConfiguration that is used or null if Timeline.Window.isLive() returns false.
LiveConfiguration(long, long, long, float, float) - Constructor for class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Deprecated.
LiveContentUnsupportedException() - Constructor for exception com.google.android.exoplayer2.offline.DownloadHelper.LiveContentUnsupportedException
 
LivePlaybackSpeedControl - Interface in com.google.android.exoplayer2
Controls the playback speed while playing live content in order to maintain a steady target live offset.
load() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
 
load() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
 
load() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
 
load() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
load() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
 
load() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
Performs the load, returning on completion or cancellation.
load() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
 
load(DataSource, ParsingLoadable.Parser<? extends T>, Uri, int) - Static method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Loads a single parsable object.
load(DataSource, ParsingLoadable.Parser<? extends T>, DataSpec, int) - Static method in class com.google.android.exoplayer2.upstream.ParsingLoadable
Loads a single parsable object.
loadAsset(Context, String) - Static method in class com.google.android.exoplayer2.util.GlUtil
Loads a file from the assets folder.
loadCanceled(LoadEventInfo, int) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadCanceled(LoadEventInfo, int, @com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadCanceled(LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadChunkIndex(DataSource, int, Representation) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization and index data for the representation and returns the ChunkIndex.
loadChunkIndex(DataSource, int, Representation, int) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization and index data for the representation and returns the ChunkIndex.
loadCompleted(LoadEventInfo, int) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadCompleted(LoadEventInfo, int, @com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadCompleted(LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
LoadControl - Interface in com.google.android.exoplayer2
Controls buffering of media.
loadDurationMs - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
The duration of the load up to the event time.
Loader - Class in com.google.android.exoplayer2.upstream
Manages the background loading of Loader.Loadables.
Loader(String) - Constructor for class com.google.android.exoplayer2.upstream.Loader
 
Loader.Callback<T extends Loader.Loadable> - Interface in com.google.android.exoplayer2.upstream
A callback to be notified of Loader events.
Loader.Loadable - Interface in com.google.android.exoplayer2.upstream
An object that can be loaded using a Loader.
Loader.LoadErrorAction - Class in com.google.android.exoplayer2.upstream
Loader.ReleaseCallback - Interface in com.google.android.exoplayer2.upstream
A callback to be notified when a Loader has finished being released.
Loader.UnexpectedLoaderException - Exception in com.google.android.exoplayer2.upstream
Thrown when an unexpected exception or error is encountered during loading.
LoaderErrorThrower - Interface in com.google.android.exoplayer2.upstream
Conditionally throws errors affecting a Loader.
LoaderErrorThrower.Dummy - Class in com.google.android.exoplayer2.upstream
A LoaderErrorThrower that never throws.
loadError(LoadEventInfo, int, @com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long, long, IOException, boolean) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadError(LoadEventInfo, int, IOException, boolean) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadError(LoadEventInfo, MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
LoadErrorHandlingPolicy - Interface in com.google.android.exoplayer2.upstream
A policy that defines how load errors are handled.
LoadErrorHandlingPolicy.FallbackOptions - Class in com.google.android.exoplayer2.upstream
Holds information about the available fallback options.
LoadErrorHandlingPolicy.FallbackSelection - Class in com.google.android.exoplayer2.upstream
A selected fallback option.
LoadErrorHandlingPolicy.FallbackType - Annotation Type in com.google.android.exoplayer2.upstream
Fallback type.
LoadErrorHandlingPolicy.LoadErrorInfo - Class in com.google.android.exoplayer2.upstream
Holds information about a load task error.
LoadErrorInfo(LoadEventInfo, MediaLoadData, IOException, int) - Constructor for class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.LoadErrorInfo
Creates an instance with the given values.
loaders - Variable in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
loadEventInfo - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.LoadErrorInfo
The LoadEventInfo associated with the load that encountered an error.
LoadEventInfo - Class in com.google.android.exoplayer2.source
MediaSource load event information.
LoadEventInfo(long, DataSpec, long) - Constructor for class com.google.android.exoplayer2.source.LoadEventInfo
LoadEventInfo(long, DataSpec, Uri, Map<String, List<String>>, long, long, long) - Constructor for class com.google.android.exoplayer2.source.LoadEventInfo
Creates load event info.
loadFormatWithDrmInitData(DataSource, Period) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads a Format for acquiring keys for a given period in a DASH manifest.
loadInitializationData(ChunkExtractor, DataSource, Representation, boolean) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization data for the representation and optionally index data then returns a BundledChunkExtractor which contains the output.
loadManifest(DataSource, Uri) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads a DASH manifest.
loadSampleFormat(DataSource, int, Representation) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization data for the representation and returns the sample Format.
loadSampleFormat(DataSource, int, Representation, int) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Loads initialization data for the representation and returns the sample Format.
loadStarted(LoadEventInfo, int) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadStarted(LoadEventInfo, int, @com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadStarted(LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
loadTaskId - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
Identifies the load task for this loadable.
loadTaskId - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
Identifies the load task to which this event corresponds.
loadTaskId - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
Identifies the load task for this loadable.
localConfiguration - Variable in class com.google.android.exoplayer2.MediaItem
Optional configuration for local playback.
localeIndicator - Variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
The four byte locale indicator.
LocalMediaDrmCallback - Class in com.google.android.exoplayer2.drm
A MediaDrmCallback that provides a fixed response to key requests.
LocalMediaDrmCallback(byte[]) - Constructor for class com.google.android.exoplayer2.drm.LocalMediaDrmCallback
 
location - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The location of this manifest, or null if not present.
Log - Class in com.google.android.exoplayer2.util
Wrapper around Log which allows to set the log level.
LOG_LEVEL_ALL - Static variable in class com.google.android.exoplayer2.util.Log
Log level to log all messages.
LOG_LEVEL_ERROR - Static variable in class com.google.android.exoplayer2.util.Log
Log level to only log error messages.
LOG_LEVEL_INFO - Static variable in class com.google.android.exoplayer2.util.Log
Log level to only log informative, warning and error messages.
LOG_LEVEL_OFF - Static variable in class com.google.android.exoplayer2.util.Log
Log level to disable all logging.
LOG_LEVEL_WARNING - Static variable in class com.google.android.exoplayer2.util.Log
Log level to only log warning and error messages.
logd(String) - Method in class com.google.android.exoplayer2.util.EventLogger
Logs a debug message.
loge(String) - Method in class com.google.android.exoplayer2.util.EventLogger
Logs an error message.
logMetrics(DecoderCounters, DecoderCounters) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
LongArray - Class in com.google.android.exoplayer2.util
An append-only, auto-growing long[].
LongArray() - Constructor for class com.google.android.exoplayer2.util.LongArray
 
LongArray(int) - Constructor for class com.google.android.exoplayer2.util.LongArray
 
lookAheadCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The number of fragments in a lookahead, or SsManifest.UNSET_LOOKAHEAD if the lookahead is unspecified.
LoopingMediaSource - Class in com.google.android.exoplayer2.source
Deprecated.
To loop a MediaSource indefinitely, use Player.setRepeatMode(int) instead of this class. To add a MediaSource a specific number of times to the playlist, use ExoPlayer.addMediaSource(com.google.android.exoplayer2.source.MediaSource) in a loop with the same MediaSource. To combine repeated MediaSource instances into one MediaSource, for example to further wrap it in another MediaSource, use ConcatenatingMediaSource with the same MediaSource added multiple times.
LoopingMediaSource(MediaSource) - Constructor for class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
Loops the provided source indefinitely.
LoopingMediaSource(MediaSource, int) - Constructor for class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
Loops the provided source a specified number of times.

M

majorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The client manifest major version.
manifest - Variable in class com.google.android.exoplayer2.Timeline.Window
The manifest of the window.
MANUFACTURER - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.MANUFACTURER, but in a place where it can be conveniently overridden for local testing.
mapping - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
 
MappingTrackSelector - Class in com.google.android.exoplayer2.trackselection
Base class for TrackSelectors that first establish a mapping between TrackGroups and Renderers, and then from that mapping create a ExoTrackSelection for each renderer.
MappingTrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
MappingTrackSelector.MappedTrackInfo - Class in com.google.android.exoplayer2.trackselection
Provides mapped track information for each renderer.
MARK_FILL_FILLED - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
MARK_FILL_OPEN - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
MARK_FILL_UNKNOWN - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
MARK_SHAPE_CIRCLE - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
MARK_SHAPE_DOT - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
MARK_SHAPE_NONE - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
MARK_SHAPE_SESAME - Static variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
markAsProcessed(boolean) - Method in class com.google.android.exoplayer2.PlayerMessage
Marks the message as processed.
marker - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP marker bit (Word 0, bit 8).
markFill - Variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
The mark fill for the text emphasis mark.
markSeekOperationFinished(boolean, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
markShape - Variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
The mark shape used for text emphasis.
MaskingMediaPeriod - Class in com.google.android.exoplayer2.source
Media period that defers calling MediaSource.createPeriod(MediaPeriodId, Allocator, long) on a given source until MaskingMediaPeriod.createPeriod(MediaPeriodId) has been called.
MaskingMediaPeriod(MediaSource.MediaPeriodId, Allocator, long) - Constructor for class com.google.android.exoplayer2.source.MaskingMediaPeriod
Creates a new masking media period.
MaskingMediaPeriod.PrepareListener - Interface in com.google.android.exoplayer2.source
Listener for preparation events.
MaskingMediaSource - Class in com.google.android.exoplayer2.source
A MediaSource that masks the Timeline with a placeholder until the actual media structure is known.
MaskingMediaSource(MediaSource, boolean) - Constructor for class com.google.android.exoplayer2.source.MaskingMediaSource
Creates the masking media source.
MaskingMediaSource.PlaceholderTimeline - Class in com.google.android.exoplayer2.source
A timeline with one dynamic window with a period of indeterminate duration.
masterPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
The master playlist of an HLS stream.
matches(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
Returns whether this initialization data applies to the specified scheme.
MATROSKA - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the Matroska and WebM formats.
MatroskaExtractor - Class in com.google.android.exoplayer2.extractor.mkv
Extracts data from the Matroska and WebM container formats.
MatroskaExtractor() - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
MatroskaExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
MatroskaExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mkv
Flags controlling the behavior of the extractor.
MAX_DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
The maximum number of frames that can be dropped between invocations of VideoRendererEventListener.onDroppedFrames(int, long).
MAX_FRAME_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Maximum size of a FLAC frame header in bytes.
MAX_FRAME_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.audio.MpegAudioUtil
Theoretical maximum frame size for an MPEG audio stream, which occurs when playing a Layer 2 MPEG 2.5 audio stream at 16 kb/s (with padding).
MAX_PITCH - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The maximum allowed pitch factor.
MAX_PLAYBACK_SPEED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The maximum allowed playback speed.
MAX_PLAYING_TIME_DISCREPANCY_MS - Static variable in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
Maximum rate for an AC-4 audio stream, in bytes per second.
MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.MpegAudioUtil
Maximum rate for an MPEG audio stream corresponding to MPEG-1 layer III (320 kbit/s), in bytes per second.
MAX_SEQUENCE_NUMBER - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
MAX_SIZE - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
MAX_SPEED_SUPPORTED - Static variable in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
MAX_SUPPORTED_INSTANCES_UNKNOWN - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The value returned by MediaCodecInfo.getMaxSupportedInstances() if the upper bound on the maximum number of supported instances is unknown.
MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
The maximum number of windows that can be shown in a multi-window time bar.
MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerControlView
The maximum number of windows that can be shown in a multi-window time bar.
maxAudioBitrate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Maximum allowed audio bitrate in bits per second.
maxAudioChannelCount - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Maximum allowed audio channel count.
maxBlockSizeSamples - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Maximum number of samples per block.
maxConsecutiveDroppedBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The maximum number of dropped buffers without an interleaving rendered output buffer.
maxFrameSize - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Maximum frame size in bytes, or 0 if the value is unknown.
maxH264DecodableFrameSize() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Returns the maximum frame size supported by the default H264 decoder.
maxHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
maxInputSize - Variable in class com.google.android.exoplayer2.Format
The maximum size of a buffer of data (typically one sample), or Format.NO_VALUE if unknown or not applicable.
maxOffsetMs - Variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
The maximum allowed offset from the live edge, in milliseconds, or C.TIME_UNSET to use the media-defined default.
maxOffsetMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
The maximum live offset in milliseconds, or C.TIME_UNSET if undefined.
maxPlaybackSpeed - Variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Maximum factor by which playback can be sped up, or C.RATE_UNSET to use the media-defined default.
maxPlaybackSpeed - Variable in class com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
The maximum factor by which playback can be sped up for live speed adjustment, or C.RATE_UNSET if undefined.
maxRebufferTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The maximum time spent during a single rebuffer, in milliseconds, or C.TIME_UNSET if no rebuffer occurred.
maxVideoBitrate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Maximum allowed video bitrate in bits per second.
maxVideoFrameRate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Maximum allowed video frame rate in hertz.
maxVideoHeight - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Maximum allowed video height in pixels.
maxVideoWidth - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Maximum allowed video width in pixels.
maxVolume - Variable in class com.google.android.exoplayer2.DeviceInfo
The maximum volume that the device supports.
maxWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
maybeDropBuffersToKeyframe(long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Drops frames from the current output buffer to the next keyframe at or before the playback position.
maybeDropBuffersToKeyframe(long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Drops frames from the current output buffer to the next keyframe at or before the playback position.
maybeInitCodecOrBypass() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
maybeRefreshManifestBeforeLoadingNextChunk(long) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
For live streaming, check if the DASH manifest is expired before the next segment start time.
maybeRequestReadExternalStoragePermission(Activity, Uri...) - Static method in class com.google.android.exoplayer2.util.Util
Checks whether it's necessary to request the Manifest.permission.READ_EXTERNAL_STORAGE permission read the specified Uris, requesting the permission if necessary.
maybeRequestReadExternalStoragePermission(Activity, MediaItem...) - Static method in class com.google.android.exoplayer2.util.Util
Checks whether it's necessary to request the Manifest.permission.READ_EXTERNAL_STORAGE permission for the specified media items, requesting the permission if necessary.
maybeSetArtworkData(byte[], @com.google.android.exoplayer2.MediaMetadata.PictureType int) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the artwork data as a compressed byte array in the event that the associated MediaMetadata.PictureType is MediaMetadata.PICTURE_TYPE_FRONT_COVER, the existing MediaMetadata.PictureType is not MediaMetadata.PICTURE_TYPE_FRONT_COVER, or the current artworkData is not set.
maybeSetByteBuffer(MediaFormat, String, byte[]) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Sets a MediaFormat ByteBuffer value.
maybeSetColorInfo(MediaFormat, ColorInfo) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Sets a MediaFormat's color information.
maybeSetFloat(MediaFormat, String, float) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Sets a MediaFormat float value.
maybeSetInteger(MediaFormat, String, int) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Sets a MediaFormat integer value.
maybeSetString(MediaFormat, String, String) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Sets a MediaFormat String value.
maybeSkipTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
If the provided XmlPullParser is currently positioned at the start of a tag, skips forward to the end of that tag.
maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
maybeThrowError() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
If the source is currently having difficulty providing chunks, then this method throws the underlying error.
maybeThrowError() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
maybeThrowError() - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
maybeThrowError() - Method in class com.google.android.exoplayer2.source.SampleQueue
Throws an error that's preventing data from being read.
maybeThrowError() - Method in interface com.google.android.exoplayer2.source.SampleStream
Throws an error that's preventing data from being read.
maybeThrowError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
maybeThrowError() - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
maybeThrowError() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
 
maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.Loader
 
maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
 
maybeThrowError() - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the Loaders default minimum number of retries.
maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.Loader
 
maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
 
maybeThrowError(int) - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the specified minimum number of retries.
maybeThrowPlaylistRefreshError(Uri) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
maybeThrowPlaylistRefreshError(Uri) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
If the playlist is having trouble refreshing the playlist referenced by the given Uri, this method throws the underlying error.
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
maybeThrowPrepareError() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Throws an error that's preventing the period from becoming prepared.
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
maybeThrowPrimaryPlaylistRefreshError() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
maybeThrowPrimaryPlaylistRefreshError() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
If the tracker is having trouble refreshing the master playlist or the primary playlist, this method throws the underlying error.
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in interface com.google.android.exoplayer2.source.MediaSource
Throws any pending error encountered while loading or refreshing source information.
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
maybeThrowStreamError() - Method in class com.google.android.exoplayer2.BaseRenderer
 
maybeThrowStreamError() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
maybeThrowStreamError() - Method in interface com.google.android.exoplayer2.Renderer
Throws an error that's preventing the renderer from reading from its SampleStream.
MdtaMetadataEntry - Class in com.google.android.exoplayer2.metadata.mp4
Stores extensible metadata with handler type 'mdta'.
MdtaMetadataEntry(String, byte[], int, int) - Constructor for class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
Creates a new metadata entry for the specified metadata key/value.
MEDIA_ID - Static variable in class com.google.android.exoplayer2.source.SilenceMediaSource
The media id used by any media item of silence media sources.
MEDIA_ITEM_TRANSITION_REASON_AUTO - Static variable in interface com.google.android.exoplayer2.Player
Playback has automatically transitioned to the next media item.
MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
The current media item has changed because of a change in the playlist.
MEDIA_ITEM_TRANSITION_REASON_REPEAT - Static variable in interface com.google.android.exoplayer2.Player
The media item has been repeated.
MEDIA_ITEM_TRANSITION_REASON_SEEK - Static variable in interface com.google.android.exoplayer2.Player
A seek to another media item has occurred.
MediaChunk - Class in com.google.android.exoplayer2.source.chunk
An abstract base class for Chunks that contain media samples.
MediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaChunk
 
MediaChunkIterator - Interface in com.google.android.exoplayer2.source.chunk
Iterator for media chunk sequences.
MediaClock - Interface in com.google.android.exoplayer2.util
Tracks the progression of media time.
MediaCodecAdapter - Interface in com.google.android.exoplayer2.mediacodec
Abstracts MediaCodec operations.
MediaCodecAdapter.Configuration - Class in com.google.android.exoplayer2.mediacodec
Configuration parameters for a MediaCodecAdapter.
MediaCodecAdapter.Factory - Interface in com.google.android.exoplayer2.mediacodec
A factory for MediaCodecAdapter instances.
MediaCodecAdapter.OnFrameRenderedListener - Interface in com.google.android.exoplayer2.mediacodec
Listener to be called when an output frame has rendered on the output surface.
MediaCodecAudioRenderer - Class in com.google.android.exoplayer2.audio
Decodes and renders audio using MediaCodec and an AudioSink.
MediaCodecAudioRenderer(Context, MediaCodecAdapter.Factory, MediaCodecSelector, boolean, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
Creates a new instance.
MediaCodecAudioRenderer(Context, MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, boolean, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, Handler, AudioRendererEventListener, AudioCapabilities, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecAudioRenderer(Context, MediaCodecSelector, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
MediaCodecDecoderException - Exception in com.google.android.exoplayer2.mediacodec
Thrown when a failure occurs in a MediaCodec decoder.
MediaCodecDecoderException(Throwable, MediaCodecInfo) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
 
MediaCodecInfo - Class in com.google.android.exoplayer2.mediacodec
Information about a MediaCodec for a given mime type.
MediaCodecRenderer - Class in com.google.android.exoplayer2.mediacodec
An abstract renderer that uses MediaCodec to decode samples for rendering.
MediaCodecRenderer(@com.google.android.exoplayer2.C.TrackType int, MediaCodecAdapter.Factory, MediaCodecSelector, boolean, float) - Constructor for class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
MediaCodecRenderer.DecoderInitializationException - Exception in com.google.android.exoplayer2.mediacodec
Thrown when a failure occurs instantiating a decoder.
MediaCodecSelector - Interface in com.google.android.exoplayer2.mediacodec
Selector of MediaCodec instances.
MediaCodecUtil - Class in com.google.android.exoplayer2.mediacodec
A utility class for querying the available codecs.
MediaCodecUtil.DecoderQueryException - Exception in com.google.android.exoplayer2.mediacodec
Thrown when an error occurs querying the device for its underlying media capabilities.
MediaCodecVideoDecoderException - Exception in com.google.android.exoplayer2.video
Thrown when a failure occurs in a MediaCodec video decoder.
MediaCodecVideoDecoderException(Throwable, MediaCodecInfo, Surface) - Constructor for exception com.google.android.exoplayer2.video.MediaCodecVideoDecoderException
 
MediaCodecVideoRenderer - Class in com.google.android.exoplayer2.video
Decodes and renders video using MediaCodec.
MediaCodecVideoRenderer(Context, MediaCodecAdapter.Factory, MediaCodecSelector, long, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecAdapter.Factory, MediaCodecSelector, long, boolean, Handler, VideoRendererEventListener, int, float) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Creates a new instance.
MediaCodecVideoRenderer(Context, MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecSelector, long) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecSelector, long, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer(Context, MediaCodecSelector, long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
MediaCodecVideoRenderer.CodecMaxValues - Class in com.google.android.exoplayer2.video
 
mediaDescriptionAdapter - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
MediaDrmCallback - Interface in com.google.android.exoplayer2.drm
Performs ExoMediaDrm key and provisioning requests.
MediaDrmCallbackException - Exception in com.google.android.exoplayer2.drm
Thrown when an error occurs while executing a DRM key or provisioning request.
MediaDrmCallbackException(DataSpec, Uri, Map<String, List<String>>, long, Throwable) - Constructor for exception com.google.android.exoplayer2.drm.MediaDrmCallbackException
Creates a new instance with the given values.
mediaEndTimeMs - Variable in class com.google.android.exoplayer2.source.MediaLoadData
The end time of the media in the MediaPeriod, or C.TIME_UNSET if the data does not belong to a specific MediaPeriod or the end time is unknown.
mediaFormat - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
The MediaFormat for which the codec is being configured.
MediaFormatUtil - Class in com.google.android.exoplayer2.util
Helper class containing utility methods for managing MediaFormat instances.
mediaId - Variable in class com.google.android.exoplayer2.MediaItem
Identifies the media item.
MediaIdEqualityChecker() - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaIdEqualityChecker
 
MediaIdMediaItemProvider() - Constructor for class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.MediaIdMediaItemProvider
 
mediaItem - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The media item, or null if the timeline is empty.
mediaItem - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
mediaItem - Variable in class com.google.android.exoplayer2.Timeline.Window
The MediaItem associated to the window.
MediaItem - Class in com.google.android.exoplayer2
Representation of a media item.
MediaItem.AdsConfiguration - Class in com.google.android.exoplayer2
Configuration for playing back linear ads with a media item.
MediaItem.AdsConfiguration.Builder - Class in com.google.android.exoplayer2
Builder for MediaItem.AdsConfiguration instances.
MediaItem.Builder - Class in com.google.android.exoplayer2
A builder for MediaItem instances.
MediaItem.ClippingConfiguration - Class in com.google.android.exoplayer2
Optionally clips the media item to a custom start and end position.
MediaItem.ClippingConfiguration.Builder - Class in com.google.android.exoplayer2
Builder for MediaItem.ClippingConfiguration instances.
MediaItem.ClippingProperties - Class in com.google.android.exoplayer2
Deprecated.
MediaItem.DrmConfiguration - Class in com.google.android.exoplayer2
DRM configuration for a media item.
MediaItem.DrmConfiguration.Builder - Class in com.google.android.exoplayer2
MediaItem.LiveConfiguration - Class in com.google.android.exoplayer2
Live playback configuration.
MediaItem.LiveConfiguration.Builder - Class in com.google.android.exoplayer2
Builder for MediaItem.LiveConfiguration instances.
MediaItem.LocalConfiguration - Class in com.google.android.exoplayer2
Properties for local playback.
MediaItem.PlaybackProperties - Class in com.google.android.exoplayer2
MediaItem.Subtitle - Class in com.google.android.exoplayer2
Deprecated.
MediaItem.SubtitleConfiguration - Class in com.google.android.exoplayer2
Properties for a text track.
MediaItem.SubtitleConfiguration.Builder - Class in com.google.android.exoplayer2
Builder for MediaItem.SubtitleConfiguration instances.
MediaItemConverter - Interface in com.google.android.exoplayer2.ext.cast
Converts between MediaItem and the Cast SDK's MediaQueueItem.
MediaItemConverter - Interface in com.google.android.exoplayer2.ext.media2
Converts between Media2 MediaItem and ExoPlayer MediaItem.
mediaItemIndex - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The media item index.
mediaLoadData - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.LoadErrorInfo
MediaLoadData associated with the load that encountered an error.
MediaLoadData - Class in com.google.android.exoplayer2.source
Descriptor for data being loaded or selected by a MediaSource.
MediaLoadData(int) - Constructor for class com.google.android.exoplayer2.source.MediaLoadData
Creates an instance with the given MediaLoadData.dataType.
MediaLoadData(int, @com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.MediaLoadData
Creates media load data.
mediaMetadata - Variable in class com.google.android.exoplayer2.MediaItem
The media metadata.
MediaMetadata - Class in com.google.android.exoplayer2
Metadata of a MediaItem, playlist, or a combination of multiple sources of Metadata.
MediaMetadata.Builder - Class in com.google.android.exoplayer2
A builder for MediaMetadata instances.
MediaMetadata.FolderType - Annotation Type in com.google.android.exoplayer2
The folder type of the media item.
MediaMetadata.PictureType - Annotation Type in com.google.android.exoplayer2
The picture type of the artwork.
MediaParserChunkExtractor - Class in com.google.android.exoplayer2.source.chunk
ChunkExtractor implemented on top of the platform's MediaParser.
MediaParserChunkExtractor(@com.google.android.exoplayer2.C.TrackType int, Format, List<Format>) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
Creates a new instance.
MediaParserExtractorAdapter - Class in com.google.android.exoplayer2.source
ProgressiveMediaExtractor implemented on top of the platform's MediaParser.
MediaParserExtractorAdapter() - Constructor for class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
MediaParserHlsMediaChunkExtractor - Class in com.google.android.exoplayer2.source.hls
HlsMediaChunkExtractor implemented on top of the platform's MediaParser.
MediaParserHlsMediaChunkExtractor(MediaParser, OutputConsumerAdapterV30, Format, boolean, ImmutableList<MediaFormat>, int) - Constructor for class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
Creates a new instance.
MediaParserUtil - Class in com.google.android.exoplayer2.source.mediaparser
Miscellaneous constants and utility methods related to the MediaParser integration.
mediaPeriod - Variable in class com.google.android.exoplayer2.source.ClippingMediaPeriod
The MediaPeriod wrapped by this clipping media period.
MediaPeriod - Interface in com.google.android.exoplayer2.source
Loads media corresponding to a Timeline.Period, and allows that media to be read.
MediaPeriod.Callback - Interface in com.google.android.exoplayer2.source
A callback to be notified of MediaPeriod events.
MediaPeriodAsserts - Class in com.google.android.exoplayer2.testutil
Assertion methods for MediaPeriod.
MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T extends FilterableManifest<T>> - Interface in com.google.android.exoplayer2.testutil
Interface to create media periods for testing based on a FilterableManifest.
mediaPeriodId - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Media period identifier for the media period this event belongs to, or null if the event is not associated with a specific media period.
mediaPeriodId - Variable in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
The MediaSource.MediaPeriodId reported with the events.
mediaPeriodId - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
The MediaPeriodId of the media associated with this error, or null if undetermined.
mediaPeriodId - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
The MediaSource.MediaPeriodId reported with the events.
MediaPeriodId - Class in com.google.android.exoplayer2.source
Identifies a specific playback of a Timeline.Period.
MediaPeriodId(MediaPeriodId) - Constructor for class com.google.android.exoplayer2.source.MediaPeriodId
Copy constructor for inheritance.
MediaPeriodId(MediaPeriodId) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
Wraps an MediaPeriodId into a MediaPeriodId.
MediaPeriodId(Object) - Constructor for class com.google.android.exoplayer2.source.MediaPeriodId
Creates a media period identifier for a period which is not part of a buffered sequence of windows.
MediaPeriodId(Object) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
MediaPeriodId(Object, int, int, long) - Constructor for class com.google.android.exoplayer2.source.MediaPeriodId
Creates a media period identifier that identifies an ad within an ad group at the specified timeline period.
MediaPeriodId(Object, int, int, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
MediaPeriodId(Object, long) - Constructor for class com.google.android.exoplayer2.source.MediaPeriodId
Creates a media period identifier for the specified period in the timeline.
MediaPeriodId(Object, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
MediaPeriodId(Object, long, int) - Constructor for class com.google.android.exoplayer2.source.MediaPeriodId
Creates a media period identifier for the specified clipped period in the timeline.
MediaPeriodId(Object, long, int) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
mediaPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
A snapshot of a media playlist referred to by HlsManifest.masterPlaylist.
mediaPlaylistUrls - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
All of the media playlist URLs referenced by the playlist.
mediaSequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The media sequence number of the first media segment in the playlist, as defined by #EXT-X-MEDIA-SEQUENCE.
mediaSession - Variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
The wrapped MediaSessionCompat.
MediaSessionConnector - Class in com.google.android.exoplayer2.ext.mediasession
Connects a MediaSessionCompat to a Player.
MediaSessionConnector(MediaSessionCompat) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Creates an instance.
MediaSessionConnector.CaptionCallback - Interface in com.google.android.exoplayer2.ext.mediasession
Handles requests for enabling or disabling captions.
MediaSessionConnector.CommandReceiver - Interface in com.google.android.exoplayer2.ext.mediasession
Receiver of media commands sent by a media controller.
MediaSessionConnector.CustomActionProvider - Interface in com.google.android.exoplayer2.ext.mediasession
Provides a PlaybackStateCompat.CustomAction to be published and handles the action when sent by a media controller.
MediaSessionConnector.DefaultMediaMetadataProvider - Class in com.google.android.exoplayer2.ext.mediasession
Provides a default MediaMetadataCompat with properties and extras taken from the MediaDescriptionCompat of the MediaSessionCompat.QueueItem of the active queue item.
MediaSessionConnector.MediaButtonEventHandler - Interface in com.google.android.exoplayer2.ext.mediasession
Handles a media button event.
MediaSessionConnector.MediaMetadataProvider - Interface in com.google.android.exoplayer2.ext.mediasession
Provides a MediaMetadataCompat for a given player state.
MediaSessionConnector.PlaybackActions - Annotation Type in com.google.android.exoplayer2.ext.mediasession
Playback actions supported by the connector.
MediaSessionConnector.PlaybackPreparer - Interface in com.google.android.exoplayer2.ext.mediasession
Interface to which playback preparation and play actions are delegated.
MediaSessionConnector.QueueEditor - Interface in com.google.android.exoplayer2.ext.mediasession
Handles media session queue edits.
MediaSessionConnector.QueueNavigator - Interface in com.google.android.exoplayer2.ext.mediasession
Handles queue navigation actions, and updates the media session queue by calling MediaSessionCompat.setQueue().
MediaSessionConnector.RatingCallback - Interface in com.google.android.exoplayer2.ext.mediasession
Callback receiving a user rating for the active media item.
MediaSource - Interface in com.google.android.exoplayer2.source
Defines and provides media to be played by an ExoPlayer.
MediaSource.MediaPeriodId - Class in com.google.android.exoplayer2.source
Identifier for a MediaPeriod.
MediaSource.MediaSourceCaller - Interface in com.google.android.exoplayer2.source
A caller of media sources, which will be notified of source events.
MediaSourceEventListener - Interface in com.google.android.exoplayer2.source
Interface for callbacks to be notified of MediaSource events.
MediaSourceEventListener.EventDispatcher - Class in com.google.android.exoplayer2.source
Dispatches events to MediaSourceEventListeners.
MediaSourceFactory - Interface in com.google.android.exoplayer2.source
Factory for creating MediaSources from MediaItems.
MediaSourceTestRunner - Class in com.google.android.exoplayer2.testutil
A runner for MediaSource tests.
MediaSourceTestRunner(MediaSource, Allocator) - Constructor for class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
 
mediaStartTimeMs - Variable in class com.google.android.exoplayer2.source.MediaLoadData
The start time of the media in the MediaPeriod, or C.TIME_UNSET if the data does not belong to a specific MediaPeriod.
mediaTimeHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The media time history as an ordered list of long[2] arrays with [0] being the realtime as returned by SystemClock.elapsedRealtime() and [1] being the media time at this realtime, in milliseconds.
mediaUri - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional media Uri.
merge(PlaybackStats...) - Static method in class com.google.android.exoplayer2.analytics.PlaybackStats
Returns the combined PlaybackStats for all input PlaybackStats.
merge(DecoderCounters) - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
Merges the counts from other into this instance.
merge(DrmInitData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
Returns an instance containing the DrmInitData.schemeDatas from both this and other.
MergingMediaSource - Class in com.google.android.exoplayer2.source
Merges multiple MediaSources.
MergingMediaSource(boolean, boolean, CompositeSequenceableLoaderFactory, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
Creates a merging media source.
MergingMediaSource(boolean, boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
Creates a merging media source.
MergingMediaSource(boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
Creates a merging media source.
MergingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
Creates a merging media source.
MergingMediaSource.IllegalMergeException - Exception in com.google.android.exoplayer2.source
Thrown when a MergingMediaSource cannot merge its sources.
MergingMediaSource.IllegalMergeException.Reason - Annotation Type in com.google.android.exoplayer2.source
The reason the merge failed.
messageData - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The body of the message.
metadata - Variable in class com.google.android.exoplayer2.Format
Metadata, or null if unknown or not applicable.
Metadata - Class in com.google.android.exoplayer2.metadata
A collection of metadata entries.
Metadata(Metadata.Entry...) - Constructor for class com.google.android.exoplayer2.metadata.Metadata
 
Metadata(List<? extends Metadata.Entry>) - Constructor for class com.google.android.exoplayer2.metadata.Metadata
 
METADATA_BLOCK_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Size of the header of a FLAC metadata block in bytes.
METADATA_TYPE_EMSG - Static variable in class com.google.android.exoplayer2.source.hls.HlsMediaSource
Type for ESMG metadata in HLS streams.
METADATA_TYPE_ID3 - Static variable in class com.google.android.exoplayer2.source.hls.HlsMediaSource
Type for ID3 metadata in HLS streams.
METADATA_TYPE_PICTURE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Picture metadata block type.
METADATA_TYPE_SEEK_TABLE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Seek table metadata block type.
METADATA_TYPE_STREAM_INFO - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Stream info metadata block type.
METADATA_TYPE_VORBIS_COMMENT - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Vorbis comment metadata block type.
Metadata.Entry - Interface in com.google.android.exoplayer2.metadata
A metadata entry.
MetadataDecoder - Interface in com.google.android.exoplayer2.metadata
Decodes metadata from binary data.
MetadataDecoderFactory - Interface in com.google.android.exoplayer2.metadata
A factory for MetadataDecoder instances.
MetadataInputBuffer - Class in com.google.android.exoplayer2.metadata
MetadataInputBuffer() - Constructor for class com.google.android.exoplayer2.metadata.MetadataInputBuffer
 
metadataInterval - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
The interval in bytes between metadata chunks (icy-metaint), or C.LENGTH_UNSET if the header was not present.
MetadataOutput - Interface in com.google.android.exoplayer2.metadata
Receives metadata output.
MetadataRenderer - Class in com.google.android.exoplayer2.metadata
A renderer for metadata.
MetadataRenderer(MetadataOutput, Looper) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
 
MetadataRenderer(MetadataOutput, Looper, MetadataDecoderFactory) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
 
MetadataRetriever - Class in com.google.android.exoplayer2
Retrieves the static metadata of MediaItems.
MICROS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of microseconds in one second.
MILLIS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of milliseconds in one second.
millisecondsBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
millisecondsDeviations - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
mimeType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The sample mime type of the bitstream.
mimeType - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
The mime type.
mimeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
mimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The MIME type handled by the codec.
mimeType - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
The mime type for which a decoder was being initialized.
mimeType - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
The optional MIME type of the item, or null if unspecified.
mimeType - Variable in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
The optional MIME type of the subtitle file, or null if unspecified.
mimeType - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The mime type of the picture.
mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
mimeType - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
The MIME type of this content.
MimeTypes - Class in com.google.android.exoplayer2.util
Defines common MIME types and helper methods.
MIN_DATA_CHANNEL_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.text.cea.Cea608Decoder
The minimum value for the validDataChannelTimeoutMs constructor parameter permitted by ANSI/CTA-608-E R-2014 Annex C.9.
MIN_FRAME_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Minimum size of a FLAC frame header in bytes.
MIN_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
MIN_PITCH - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The minimum allowed pitch factor.
MIN_PLAYBACK_SPEED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The minimum allowed playback speed.
MIN_SEQUENCE_NUMBER - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
MIN_SPEED_SUPPORTED - Static variable in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
minBlockSizeSamples - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Minimum number of samples per block.
minBufferTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The minBufferTime value in milliseconds, or C.TIME_UNSET if not present.
minFrameSize - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Minimum frame size in bytes, or 0 if the value is unknown.
minOffsetMs - Variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
The minimum allowed offset from the live edge, in milliseconds, or C.TIME_UNSET to use the media-defined default.
minOffsetMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
The minimum live offset in milliseconds, or C.TIME_UNSET if undefined.
minorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The client manifest minor version.
minPlaybackSpeed - Variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Minimum factor by which playback can be sped up, or C.RATE_UNSET to use the media-defined default.
minPlaybackSpeed - Variable in class com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
The minimum factor by which playback can be sped up for live speed adjustment, or C.RATE_UNSET if undefined.
minUpdatePeriodMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The minimumUpdatePeriod value in milliseconds, or C.TIME_UNSET if not applicable.
minValue(SparseLongArray) - Static method in class com.google.android.exoplayer2.util.Util
Returns the minimum value in the given SparseLongArray.
minVideoBitrate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Minimum allowed video bitrate in bits per second.
minVideoFrameRate - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Minimum allowed video frame rate in hertz.
minVideoHeight - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Minimum allowed video height in pixels.
minVideoWidth - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Minimum allowed video width in pixels.
minVolume - Variable in class com.google.android.exoplayer2.DeviceInfo
The minimum volume that the device supports.
MissingFieldException(String) - Constructor for exception com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.MissingFieldException
 
MlltFrame - Class in com.google.android.exoplayer2.metadata.id3
MPEG location lookup table frame.
MlltFrame(int, int, int, int[], int[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
mode - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
The type of encryption that has been applied.
mode - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Output mode.
Mode(boolean, int, int, int) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
 
MODE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Downloads an offline license or renews an existing one.
MODE_HLS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Enable single PMT mode, map TrackOutputs by their type (instead of PID) and ignore continuity counters.
MODE_MULTI_PMT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Behave as defined in ISO/IEC 13818-1.
MODE_NO_OFFSET - Static variable in class com.google.android.exoplayer2.util.TimestampAdjuster
A special firstSampleTimestampUs value indicating that presentation timestamps should not be offset.
MODE_PLAYBACK - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Loads and refreshes (if necessary) a license for playback.
MODE_QUERY - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Restores an offline license to allow its status to be queried.
MODE_RELEASE - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Releases an existing offline license.
MODE_SHARED - Static variable in class com.google.android.exoplayer2.util.TimestampAdjuster
A special firstSampleTimestampUs value indicating that the adjuster will be shared by multiple threads.
MODE_SINGLE_PMT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
Assume only one PMT will be contained in the stream, even if more are declared by the PAT.
MODEL - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.MODEL, but in a place where it can be conveniently overridden for local testing.
modifyTrack(Track) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
moreInformationURL - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
A URL that provides more information about the media presentation.
MotionPhotoMetadata - Class in com.google.android.exoplayer2.metadata.mp4
Metadata of a motion photo file.
MotionPhotoMetadata(long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
Creates an instance.
move(int, int) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
Moves a queue item from position from to position to.
moveItems(List<T>, int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Moves the elements starting at fromIndex to newFromIndex.
moveMediaItem(int, int) - Method in class com.google.android.exoplayer2.BasePlayer
 
moveMediaItem(int, int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
moveMediaItem(int, int) - Method in interface com.google.android.exoplayer2.Player
Moves the media item at the current index to the new index.
moveMediaItem(int, int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a move media item action to be executed.
MoveMediaItem(String, int, int) - Constructor for class com.google.android.exoplayer2.testutil.Action.MoveMediaItem
 
moveMediaItems(int, int, int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
moveMediaItems(int, int, int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
moveMediaItems(int, int, int) - Method in interface com.google.android.exoplayer2.Player
Moves the media item range to the new index.
moveMediaItems(int, int, int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
moveMediaItems(int, int, int) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
moveMediaSource(int, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Moves an existing MediaSource within the playlist.
moveMediaSource(int, int, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Moves an existing MediaSource within the playlist and executes a custom action on completion.
movePlaylistItem(int, int) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
moveToFirst() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Move the cursor to the first download.
moveToLast() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Move the cursor to the last download.
moveToNext() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Move the cursor to the next download.
moveToPosition(int) - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Move the cursor to an absolute position.
moveToPrevious() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
Move the cursor to the previous download.
movieTimescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The movie timescale.
MP3 - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the MP3 format.
Mp3Extractor - Class in com.google.android.exoplayer2.extractor.mp3
Extracts data from the MP3 container format.
Mp3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
Mp3Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
Mp3Extractor(int, long) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
Mp3Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp3
Flags controlling the behavior of the extractor.
MP4 - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the MP4 format.
Mp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
Extracts data from the MP4 container format.
Mp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Creates a new extractor for unfragmented MP4 streams.
Mp4Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
Creates a new extractor for unfragmented MP4 streams, using the specified flags to control the extractor's behavior.
Mp4Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp4
Flags controlling the behavior of the extractor.
Mp4WebvttDecoder - Class in com.google.android.exoplayer2.text.webvtt
A SimpleSubtitleDecoder for Webvtt embedded in a Mp4 container file.
Mp4WebvttDecoder() - Constructor for class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
 
MpegAudioReader - Class in com.google.android.exoplayer2.extractor.ts
Parses a continuous MPEG Audio byte stream and extracts individual frames.
MpegAudioReader() - Constructor for class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
MpegAudioReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
MpegAudioUtil - Class in com.google.android.exoplayer2.audio
Utility methods for handling MPEG audio streams.
MpegAudioUtil.Header - Class in com.google.android.exoplayer2.audio
Stores the metadata for an MPEG audio frame.
mpegFramesBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
MSG_CUSTOM_BASE - Static variable in interface com.google.android.exoplayer2.Renderer
Applications or extensions may define custom MSG_* constants that can be passed to renderers.
MSG_SET_AUDIO_ATTRIBUTES - Static variable in interface com.google.android.exoplayer2.Renderer
A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
MSG_SET_AUDIO_SESSION_ID - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to audio and video renderers via ExoPlayer.createMessage(Target).
MSG_SET_AUX_EFFECT_INFO - Static variable in interface com.google.android.exoplayer2.Renderer
A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
MSG_SET_CAMERA_MOTION_LISTENER - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to a camera motion renderer via ExoPlayer.createMessage(Target).
MSG_SET_CHANGE_FRAME_RATE_STRATEGY - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target).
MSG_SET_SCALING_MODE - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to a MediaCodec-based video renderer via ExoPlayer.createMessage(Target).
MSG_SET_SKIP_SILENCE_ENABLED - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
MSG_SET_VIDEO_FRAME_METADATA_LISTENER - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target).
MSG_SET_VIDEO_OUTPUT - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target).
MSG_SET_VOLUME - Static variable in interface com.google.android.exoplayer2.Renderer
A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
MSG_SET_WAKEUP_LISTENER - Static variable in interface com.google.android.exoplayer2.Renderer
The type of a message that can be passed to a Renderer via ExoPlayer.createMessage(Target), to inform the renderer that it can schedule waking up another component.
msToUs(long) - Static method in class com.google.android.exoplayer2.C
Deprecated.
msToUs(long) - Static method in class com.google.android.exoplayer2.util.Util
Converts a time in milliseconds to the corresponding time in microseconds, preserving C.TIME_UNSET values and C.TIME_END_OF_SOURCE values.
multiRowAlignment - Variable in class com.google.android.exoplayer2.text.Cue
The alignment of multiple lines of text relative to the longest line, or null if the alignment is undefined.
MultiSegmentBase(RangedUri, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, long, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
 
MultiSegmentRepresentation(long, Format, List<BaseUrl>, SegmentBase.MultiSegmentBase, List<Descriptor>, List<Descriptor>, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
Creates the multi-segment Representation.
multiSession - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Whether the DRM configuration is multi session enabled.
muxedAudioFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The format of the audio muxed in the variants.
muxedCaptionFormats - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The format of the closed captions declared by the playlist.

N

NAL_START_CODE - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
Four initial bytes that must prefix NAL units for decoding.
nalUnitLengthFieldLength - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
For H264 video tracks, the length in bytes of the NALUnitLength field in each sample.
nalUnitLengthFieldLength - Variable in class com.google.android.exoplayer2.video.AvcConfig
The length of the NAL unit length field in the bitstream's container, in bytes.
nalUnitLengthFieldLength - Variable in class com.google.android.exoplayer2.video.HevcConfig
The length of the NAL unit length field in the bitstream's container, in bytes.
NalUnitUtil - Class in com.google.android.exoplayer2.util
Utility methods for handling H.264/AVC and H.265/HEVC NAL units.
NalUnitUtil.H265SpsData - Class in com.google.android.exoplayer2.util
Holds data parsed from a H.265 sequence parameter set NAL unit.
NalUnitUtil.PpsData - Class in com.google.android.exoplayer2.util
Holds data parsed from a picture parameter set NAL unit.
NalUnitUtil.SpsData - Class in com.google.android.exoplayer2.util
Holds data parsed from a H.264 sequence parameter set NAL unit.
name - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
The name of the decoder.
name - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
The stream name (icy-name).
name - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
The NAME value of this track, if the track is derived from an EXT-X-MEDIA tag.
name - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
The name of the rendition.
name - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
name - Variable in class com.google.android.exoplayer2.util.GlUtil.Attribute
The name of the attribute in the GLSL sources.
name - Variable in class com.google.android.exoplayer2.util.GlUtil.Uniform
The name of the uniform in the GLSL sources.
NANOS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
The number of nanoseconds in one second.
needsReconfiguration() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Whether the adapter needs to be reconfigured before it is used.
needsReconfiguration() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
NETWORK - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device has network connectivity.
NETWORK_TYPE_2G - Static variable in class com.google.android.exoplayer2.C
Network type for a 2G cellular connection.
NETWORK_TYPE_3G - Static variable in class com.google.android.exoplayer2.C
Network type for a 3G cellular connection.
NETWORK_TYPE_4G - Static variable in class com.google.android.exoplayer2.C
Network type for a 4G cellular connection.
NETWORK_TYPE_5G_NSA - Static variable in class com.google.android.exoplayer2.C
Network type for a 5G non-stand-alone (NSA) cellular connection.
NETWORK_TYPE_5G_SA - Static variable in class com.google.android.exoplayer2.C
Network type for a 5G stand-alone (SA) cellular connection.
NETWORK_TYPE_CELLULAR_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Network type for cellular connections which cannot be mapped to one of C.NETWORK_TYPE_2G, C.NETWORK_TYPE_3G, or C.NETWORK_TYPE_4G.
NETWORK_TYPE_ETHERNET - Static variable in class com.google.android.exoplayer2.C
Network type for an Ethernet connection.
NETWORK_TYPE_OFFLINE - Static variable in class com.google.android.exoplayer2.C
No network connection.
NETWORK_TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
Network type for other connections which are not Wifi or cellular (e.g.
NETWORK_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
Unknown network type.
NETWORK_TYPE_WIFI - Static variable in class com.google.android.exoplayer2.C
Network type for a Wifi connection.
NETWORK_UNMETERED - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
Requirement that the device has a network connection that is unmetered.
NetworkTypeObserver - Class in com.google.android.exoplayer2.util
Observer for network type changes.
NetworkTypeObserver.Config - Class in com.google.android.exoplayer2.util
Configuration for NetworkTypeObserver.
NetworkTypeObserver.Listener - Interface in com.google.android.exoplayer2.util
A listener for network type changes.
newData(Uri) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Returns a new FakeDataSet.FakeData with the given uri.
newData(String) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Returns a new FakeDataSet.FakeData with the given uri.
newDefaultData() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Sets the default data, overwrites if there is one already.
newFormat - Variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The new Format being evaluated.
newInitializationChunk(DefaultDashChunkSource.RepresentationHolder, DataSource, Format, int, Object, RangedUri, RangedUri) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
newInstance(long, Format, String, long, long, long, long, List<Descriptor>, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
newInstance(long, Format, List<BaseUrl>, SegmentBase) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Constructs a new instance.
newInstance(long, Format, List<BaseUrl>, SegmentBase, List<Descriptor>, List<Descriptor>, List<Descriptor>, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.Representation
Constructs a new instance.
newInstance(String, String, String, MediaCodecInfo.CodecCapabilities, boolean, boolean, boolean, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Creates an instance.
newInstance(UUID) - Static method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Creates an instance with an initial reference count of 1.
newInstanceV17(Context, boolean) - Static method in class com.google.android.exoplayer2.video.DummySurface
Returns a newly created dummy surface.
newMediaChunk(DefaultDashChunkSource.RepresentationHolder, DataSource, @com.google.android.exoplayer2.C.TrackType int, Format, int, Object, long, int, long, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
newNoDataInstance() - Static method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Returns a new instance that's not able to hold any data.
newPlayerTrackEmsgHandler() - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
Returns a TrackOutput that emsg messages could be written to.
newSingleThreadExecutor(String) - Static method in class com.google.android.exoplayer2.util.Util
Instantiates a new single threaded executor whose thread has the specified name.
newWidevineInstance(String, boolean, HttpDataSource.Factory, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Instantiates a new instance which uses Widevine CDM.
newWidevineInstance(String, boolean, HttpDataSource.Factory, Map<String, String>, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Instantiates a new instance which uses Widevine CDM.
newWidevineInstance(String, HttpDataSource.Factory, DrmSessionEventListener.EventDispatcher) - Static method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Instantiates a new instance which uses Widevine CDM.
next() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
next() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
next() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
next() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
 
next() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Moves the iterator to the next media chunk.
NEXT_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the sync point immediately after a requested seek position.
nextActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
nextAdGroupIndex - Variable in class com.google.android.exoplayer2.source.MediaPeriodId
The index of the next ad group to which the media period's content is clipped, or C.INDEX_UNSET if there is no following ad group or if this media period is an ad.
NO_AUX_EFFECT_ID - Static variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
Value for AuxEffectInfo.effectId representing no auxiliary effect.
NO_FRAMES_PREDICATE - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
A predicate that indicates no frames should be decoded.
NO_TIMESTAMP_IN_RANGE_RESULT - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
 
NO_VALUE - Static variable in class com.google.android.exoplayer2.Format
A value for various fields to indicate that the field's value is unknown or not applicable.
NONE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Ad playback state with no ads.
nonFatalErrorCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of non-fatal errors.
nonFatalErrorHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The history of non-fatal errors as EventTimeAndExceptions ordered by EventTime.realTimeMs.
NonNullApi - Annotation Type in com.google.android.exoplayer2.util
Annotation to declare all type usages in the annotated instance as Nonnull, unless explicitly marked with a nullable annotation.
NoOpCacheEvictor - Class in com.google.android.exoplayer2.upstream.cache
Evictor that doesn't ever evict cache files.
NoOpCacheEvictor() - Constructor for class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
normalizeLanguageCode(String) - Static method in class com.google.android.exoplayer2.util.Util
Returns a normalized IETF BCP 47 language tag for language.
normalizeMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Normalizes the MIME type provided so that equivalent MIME types are uniquely represented.
normalizeUndeterminedLanguageToNull(String) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Normalizes the input string to null if it does not define a language, or returns it otherwise.
NoSampleRenderer - Class in com.google.android.exoplayer2
A Renderer implementation whose track type is C.TRACK_TYPE_NONE and does not consume data from its SampleStream.
NoSampleRenderer() - Constructor for class com.google.android.exoplayer2.NoSampleRenderer
 
NOT_CACHED - Static variable in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
NOT_IN_LOOKUP_TABLE - Static variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Indicates that a value is not in the corresponding lookup table.
NOT_SET - Static variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
 
notificationId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
notificationListener - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
NotificationUtil - Class in com.google.android.exoplayer2.util
Utility methods for displaying Notifications.
NotificationUtil.Importance - Annotation Type in com.google.android.exoplayer2.util
Notification channel importance levels.
notifyRebuffer() - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
 
notifyRebuffer() - Method in interface com.google.android.exoplayer2.LivePlaybackSpeedControl
Notifies the live playback speed control that a rebuffer occurred.
notifySeekStarted() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Notify analytics collector that a seek operation will start.
NoUidTimeline - Class in com.google.android.exoplayer2.testutil
A timeline which wraps another timeline and overrides all window and period uids to 0.
NoUidTimeline(Timeline) - Constructor for class com.google.android.exoplayer2.testutil.NoUidTimeline
Creates an instance.
nullSafeArrayAppend(T[], T) - Static method in class com.google.android.exoplayer2.util.Util
Creates a new array containing original with newElement appended.
nullSafeArrayConcatenation(T[], T[]) - Static method in class com.google.android.exoplayer2.util.Util
Creates a new array containing the concatenation of two non-null type arrays.
nullSafeArrayCopy(T[], int) - Static method in class com.google.android.exoplayer2.util.Util
Copies and optionally truncates an array.
nullSafeArrayCopyOfRange(T[], int, int) - Static method in class com.google.android.exoplayer2.util.Util
Copies a subset of an array.
nullSafeListToArray(List<T>, T[]) - Static method in class com.google.android.exoplayer2.util.Util
Copies the contents of list into array.
numberOfExcludedLocations - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackOptions
The number of locations that are already excluded.
numberOfExcludedTracks - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackOptions
The number of tracks that are already excluded.
numberOfLocations - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackOptions
The number of available locations.
numberOfTracks - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
numberOfTracks - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackOptions
The number of tracks.
numBytesOfClearData - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
The number of leading unencrypted bytes in each sub-sample.
numBytesOfEncryptedData - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
The number of trailing encrypted bytes in each sub-sample.
numSubSamples - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
The number of subSamples that make up the buffer's contents.

O

obtainMessage(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
obtainMessage(int, int, int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
obtainMessage(int, int, int, Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
obtainMessage(int, Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
OfflineLicenseHelper - Class in com.google.android.exoplayer2.drm
Helper class to download, renew and release offline licenses.
OfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Constructs an instance.
OfflineLicenseHelper(UUID, ExoMediaDrm.Provider, MediaDrmCallback, Map<String, String>, DrmSessionEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.drm.OfflineLicenseHelper
OFFLOAD_MODE_DISABLED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The audio sink will never play in offload mode.
OFFLOAD_MODE_ENABLED_GAPLESS_DISABLED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The audio sink will prefer offload playback, disabling gapless offload support.
OFFLOAD_MODE_ENABLED_GAPLESS_NOT_REQUIRED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The audio sink will prefer offload playback even if this might result in silence gaps between tracks.
OFFLOAD_MODE_ENABLED_GAPLESS_REQUIRED - Static variable in class com.google.android.exoplayer2.audio.DefaultAudioSink
The audio sink will prefer offload playback except if the track is gapless and the device does not advertise support for gapless playback in offload.
offset - Variable in class com.google.android.exoplayer2.upstream.Allocation
The offset of the allocated space in Allocation.data.
OFFSET_SAMPLE_RELATIVE - Static variable in class com.google.android.exoplayer2.Format
A value for Format.subsampleOffsetUs to indicate that subsample timestamps are relative to the timestamps of their parent samples.
offsets - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The chunk byte offsets.
OGG - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the Ogg format.
OggExtractor - Class in com.google.android.exoplayer2.extractor.ogg
Extracts data from the Ogg container format.
OggExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
OkHttpDataSource - Class in com.google.android.exoplayer2.ext.okhttp
An HttpDataSource that delegates to Square's Call.Factory.
OkHttpDataSource(Call.Factory) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Deprecated.
OkHttpDataSource(Call.Factory, String) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Deprecated.
OkHttpDataSource(Call.Factory, String, CacheControl, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
Deprecated.
OkHttpDataSource.Factory - Class in com.google.android.exoplayer2.ext.okhttp
OkHttpDataSourceFactory - Class in com.google.android.exoplayer2.ext.okhttp
Deprecated.
OkHttpDataSourceFactory(Call.Factory) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
Deprecated.
Creates an instance.
OkHttpDataSourceFactory(Call.Factory, String) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
Deprecated.
Creates an instance.
OkHttpDataSourceFactory(Call.Factory, String, TransferListener) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
Deprecated.
Creates an instance.
OkHttpDataSourceFactory(Call.Factory, String, TransferListener, CacheControl) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
Deprecated.
Creates an instance.
OkHttpDataSourceFactory(Call.Factory, String, CacheControl) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
Deprecated.
Creates an instance.
oldFormat - Variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The Format for which the decoder was previously configured.
onActionScheduleFinished() - Method in interface com.google.android.exoplayer2.testutil.ActionSchedule.Callback
Called when action schedule finished executing all its actions.
onActionScheduleFinished() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
onAdClicked() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when the user clicks through an ad (for example, following a 'learn more' link).
onAddQueueItem(Player, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback.onAddQueueItem(MediaDescriptionCompat description).
onAddQueueItem(Player, MediaDescriptionCompat) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
onAddQueueItem(Player, MediaDescriptionCompat, int) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback.onAddQueueItem(MediaDescriptionCompat description, int index).
onAddQueueItem(Player, MediaDescriptionCompat, int) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
onAdLoadError(AdsMediaSource.AdLoadException, DataSpec) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when there was an error loading ads.
onAdPlaybackStarted(AnalyticsListener.EventTime, String, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
Called when a session is interrupted by ad playback.
onAdPlaybackStarted(AnalyticsListener.EventTime, String, String) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onAdPlaybackState(AdPlaybackState) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when the ad playback state has been updated.
onAdTapped() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
Called when the user taps a non-clickthrough part of an ad.
onAspectRatioUpdated(float, float, boolean) - Method in interface com.google.android.exoplayer2.ui.AspectRatioFrameLayout.AspectRatioListener
Called when either the target aspect ratio or the view aspect ratio is updated.
onAttachedToHost(PlaybackGlueHost) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
onAttachedToWindow() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
onAttachedToWindow() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
onAudioAttributesChanged(AnalyticsListener.EventTime, AudioAttributes) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the audio attributes change.
onAudioAttributesChanged(AnalyticsListener.EventTime, AudioAttributes) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioAttributesChanged(AudioAttributes) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Called when the audio attributes change.
onAudioAttributesChanged(AudioAttributes) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when the audio attributes change.
onAudioCapabilitiesChanged(AudioCapabilities) - Method in interface com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver.Listener
Called when the audio capabilities change.
onAudioCodecError(AnalyticsListener.EventTime, Exception) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio decoder encounters an error.
onAudioCodecError(Exception) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioCodecError(Exception) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when an audio decoder encounters an error.
onAudioDecoderInitialized(AnalyticsListener.EventTime, String, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onAudioDecoderInitialized(AnalyticsListener.EventTime, String, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioDecoderInitialized(AnalyticsListener.EventTime, String, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio renderer creates a decoder.
onAudioDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when a decoder is created.
onAudioDecoderReleased(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio renderer releases a decoder.
onAudioDecoderReleased(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioDecoderReleased(String) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioDecoderReleased(String) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when a decoder is released.
onAudioDisabled(AnalyticsListener.EventTime, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio renderer is disabled.
onAudioDisabled(AnalyticsListener.EventTime, DecoderCounters) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
onAudioDisabled(AnalyticsListener.EventTime, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioDisabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the renderer is disabled.
onAudioEnabled(AnalyticsListener.EventTime, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio renderer is enabled.
onAudioEnabled(AnalyticsListener.EventTime, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioEnabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the renderer is enabled.
onAudioInputFormatChanged(AnalyticsListener.EventTime, Format) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onAudioInputFormatChanged(AnalyticsListener.EventTime, Format, DecoderReuseEvaluation) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the format of the media being consumed by an audio renderer changes.
onAudioInputFormatChanged(AnalyticsListener.EventTime, Format, DecoderReuseEvaluation) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
onAudioInputFormatChanged(Format, DecoderReuseEvaluation) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioInputFormatChanged(Format, DecoderReuseEvaluation) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the format of the media being consumed by the renderer changes.
onAudioPositionAdvancing(long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioPositionAdvancing(long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when the audio position has increased for the first time since the last pause or position reset.
onAudioPositionAdvancing(AnalyticsListener.EventTime, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the audio position has increased for the first time since the last pause or position reset.
onAudioSessionIdChanged(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Called when the audio session ID changes.
onAudioSessionIdChanged(int) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when the audio session ID changes.
onAudioSessionIdChanged(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the audio session ID changes.
onAudioSessionIdChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAudioSinkError(AnalyticsListener.EventTime, Exception) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when AudioSink has encountered an error.
onAudioSinkError(Exception) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioSinkError(Exception) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when AudioSink has encountered an error.
onAudioSinkError(Exception) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when AudioSink has encountered an error.
onAudioUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAudioUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when an audio underrun occurs.
onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when an audio underrun occurs.
onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onAvailableCommandsChanged(AnalyticsListener.EventTime, Player.Commands) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the player's available commands changed.
onAvailableCommandsChanged(Player.Commands) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onAvailableCommandsChanged(Player.Commands) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value returned from Player.isCommandAvailable(int) changes for at least one Player.Command.
onAvailableCommandsChanged(Player.Commands) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the bandwidth estimate for the current data source has been updated.
onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onBandwidthSample(int, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onBandwidthSample(int, long, long) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener
Called periodically to indicate that bytes have been transferred or the estimated bitrate has changed.
onBind(Intent) - Method in class com.google.android.exoplayer2.offline.DownloadService
Throws UnsupportedOperationException because this service is not designed to be bound.
onBitmap(Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.BitmapCallback
Called when Bitmap is available.
onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.FakeTransferListener
 
onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called incrementally during a transfer.
onCachedBytesRead(long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
Called when bytes have been read from the cache.
onCacheIgnored(int) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
Called when the current request ignores cache.
onCacheInitialized() - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
Called when cache has been initialized.
onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onCameraMotion(long, float[]) - Method in interface com.google.android.exoplayer2.video.spherical.CameraMotionListener
Called when a new camera motion is read.
onCameraMotionReset() - Method in interface com.google.android.exoplayer2.video.spherical.CameraMotionListener
Called when the camera motion track position is reset or the track is disabled.
onCastSessionAvailable() - Method in interface com.google.android.exoplayer2.ext.cast.SessionAvailabilityListener
Called when a cast session becomes available to the player.
onCastSessionUnavailable() - Method in interface com.google.android.exoplayer2.ext.cast.SessionAvailabilityListener
Called when the cast session becomes unavailable.
onChildSourceInfoRefreshed(ConcatenatingMediaSource.MediaSourceHolder, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
onChildSourceInfoRefreshed(MediaSource.MediaPeriodId, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
onChildSourceInfoRefreshed(Integer, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
onChildSourceInfoRefreshed(T, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Called when the source info of a child source has been refreshed.
onChunkLoadCompleted(Chunk) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Called when the ChunkSampleStream has finished loading a chunk obtained from this source.
onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
Called when a chunk load has been completed.
onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
onChunkLoadError(Chunk) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
Called when a chunk load has encountered an error.
onChunkLoadError(Chunk, boolean, LoadErrorHandlingPolicy.LoadErrorInfo, LoadErrorHandlingPolicy) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Called when the ChunkSampleStream encounters an error loading a chunk obtained from this source.
onChunkLoadError(Chunk, boolean, LoadErrorHandlingPolicy.LoadErrorInfo, LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
onChunkLoadError(Chunk, boolean, LoadErrorHandlingPolicy.LoadErrorInfo, LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
onChunkLoadError(Chunk, boolean, LoadErrorHandlingPolicy.LoadErrorInfo, LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
onClosed() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
Called when the source is closed.
onCodecError(Exception) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onCodecError(Exception) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when a codec error has occurred.
onCodecError(Exception) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when a MediaCodec has been created and configured.
onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onCodecReleased(String) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onCodecReleased(String) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when a MediaCodec has been released.
onCodecReleased(String) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onCommand(Player, String, Bundle, ResultReceiver) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CommandReceiver
See MediaSessionCompat.Callback.onCommand(String, Bundle, ResultReceiver).
onCommand(Player, String, Bundle, ResultReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
onCommand(Player, String, Bundle, ResultReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onCommandRequest(MediaSession, MediaSession.ControllerInfo, SessionCommand) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.AllowedCommandProvider
Called when a MediaController has called an API that controls SessionPlayer set to the MediaSession.
onCommandRequest(MediaSession, MediaSession.ControllerInfo, SessionCommand) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.DefaultAllowedCommandProvider
 
onConfigure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Called when the processor is configured for a new input format.
onConfigure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
onConfigure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
onConfigured(MediaFormat, Surface, MediaCrypto, int) - Method in class com.google.android.exoplayer2.robolectric.RandomizedMp3Decoder
 
onContentAspectRatioChanged(AspectRatioFrameLayout, float) - Method in class com.google.android.exoplayer2.ui.PlayerView
Called when there's a change in the desired aspect ratio of the content frame.
onContentAspectRatioChanged(AspectRatioFrameLayout, float) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Called when there's a change in the desired aspect ratio of the content frame.
onContinueLoadingRequested(ChunkSampleStream<FakeChunkSource>) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
onContinueLoadingRequested(HlsSampleStreamWrapper) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
onContinueLoadingRequested(T) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader.Callback
Called by the loader to indicate that it wishes for its SequenceableLoader.continueLoading(long) method to be called when it can continue to load data.
onCreate() - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onCreate() - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
onCreate(SQLiteDatabase) - Method in class com.google.android.exoplayer2.database.StandaloneDatabaseProvider
 
onCreate(Bundle) - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
onCreateMediaItem(MediaSession, MediaSession.ControllerInfo, String) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.MediaIdMediaItemProvider
 
onCreateMediaItem(MediaSession, MediaSession.ControllerInfo, String) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.MediaItemProvider
Called when MediaSession.SessionCallback.onCreateMediaItem(MediaSession, ControllerInfo, String) is called.
onCues(List<Cue>) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when there is a change in the Cues.
onCues(List<Cue>) - Method in interface com.google.android.exoplayer2.text.TextOutput
Called when there is a change in the Cues.
onCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
 
onCurrentMediaItemIndexChanged(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Called when the current media item index changed.
onCurrentMediaItemIndexChanged(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onCustomAction(Player, String, Intent) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
Called when a custom action has been received.
onCustomAction(Player, String, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CustomActionProvider
Called when a custom action provided by this provider is sent to the media session.
onCustomAction(Player, String, Bundle) - Method in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
 
onCustomCommand(MediaSession, MediaSession.ControllerInfo, SessionCommand, Bundle) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.CustomCommandProvider
Called when a controller has sent a custom command.
onDashManifestPublishTimeExpired(long) - Method in interface com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerEmsgCallback
Called when the manifest with the publish time has been expired.
onDashManifestRefreshRequested() - Method in interface com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerEmsgCallback
Called when the current manifest should be refreshed.
onDataRead(int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
Called when data is being read.
onDecoderDisabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onDecoderEnabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onDecoderInitialized(AnalyticsListener.EventTime, int, String, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onDecoderInputFormatChanged(AnalyticsListener.EventTime, int, Format) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onDestroy() - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onDetachedFromHost() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
onDetachedFromWindow() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
 
onDetachedFromWindow() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
onDetachedFromWindow() - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
 
onDeviceInfoChanged(DeviceInfo) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when the device information changes.
onDeviceVolumeChanged(int, boolean) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when the device volume or mute state changes.
onDisabled() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is disabled.
onDisabled() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is disabled.
onDisabled() - Method in class com.google.android.exoplayer2.testutil.FakeAudioRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.text.TextRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
onDisabled() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer is disabled.
onDisconnected(MediaSession, MediaSession.ControllerInfo) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.DisconnectedCallback
Called when the specified controller is disconnected.
onDiscontinuity() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Called to notify the selection of a position discontinuity.
onDowngrade(SQLiteDatabase, int, int) - Method in class com.google.android.exoplayer2.database.StandaloneDatabaseProvider
 
onDownloadChanged(DownloadManager, Download, Exception) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when the state of a download changes.
onDownloadChanged(DownloadManager, Download, Exception) - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
 
onDownloadRemoved(DownloadManager, Download) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when a download is removed.
onDownloadRemoved(DownloadManager, Download) - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
 
onDownloadsPausedChanged(DownloadManager, boolean) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when downloads are (paused or resumed.
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaLoadData) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a downstream format change occurs (i.e.
onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the downstream format sent to the renderers changed.
onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onDrmKeysLoaded(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmKeysLoaded(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
Called each time keys are loaded.
onDrmKeysLoaded(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDrmKeysLoaded(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time drm keys are loaded.
onDrmKeysLoaded(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmKeysRemoved(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmKeysRemoved(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
Called each time offline keys are removed.
onDrmKeysRemoved(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDrmKeysRemoved(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time offline drm keys are removed.
onDrmKeysRemoved(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmKeysRestored(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmKeysRestored(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
Called each time offline keys are restored.
onDrmKeysRestored(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDrmKeysRestored(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time offline drm keys are restored.
onDrmKeysRestored(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmSessionAcquired(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
onDrmSessionAcquired(int, MediaSource.MediaPeriodId, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmSessionAcquired(int, MediaSource.MediaPeriodId, int) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
Called each time a drm session is acquired.
onDrmSessionAcquired(int, MediaSource.MediaPeriodId, int) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDrmSessionAcquired(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onDrmSessionAcquired(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time a drm session is acquired.
onDrmSessionAcquired(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmSessionManagerError(int, MediaSource.MediaPeriodId, Exception) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmSessionManagerError(int, MediaSource.MediaPeriodId, Exception) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
Called when a drm error occurs.
onDrmSessionManagerError(int, MediaSource.MediaPeriodId, Exception) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a drm error occurs.
onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDrmSessionReleased(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDrmSessionReleased(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.drm.DrmSessionEventListener
Called each time a drm session is released.
onDrmSessionReleased(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onDrmSessionReleased(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called each time a drm session is released.
onDrmSessionReleased(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onDroppedFrames(int, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onDroppedFrames(int, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called to report the number of frames dropped by the renderer.
onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called after video frames have been dropped.
onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
oneByteSample(long) - Static method in class com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem
Creates an item representing a sample with the provided timestamp.
oneByteSample(long, int) - Static method in class com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem
Creates an item representing a sample with the provided timestamp and flags.
onEnabled() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer is enabled.
onEnabled(boolean) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is enabled.
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is enabled.
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeAudioRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
onEnabled(boolean, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onEvent(ExoMediaDrm, byte[], int, int, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnEventListener
Called when an event occurs that requires the app to be notified
onEvents(Player, AnalyticsListener.Events) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called after one or more events occurred.
onEvents(Player, AnalyticsListener.Events) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onEvents(Player, AnalyticsListener.Events) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
onEvents(Player, Player.Events) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when one or more player states changed.
onEvents(Player, Player.Events) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onExperimentalOffloadSchedulingEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioOffloadListener
Called when the player has started or stopped offload scheduling using ExoPlayer.experimentalSetOffloadSchedulingEnabled(boolean).
onExperimentalSleepingForOffloadChanged(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioOffloadListener
Called when the player has started or finished sleeping for offload.
onExpirationUpdate(ExoMediaDrm, byte[], long) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnExpirationUpdateListener
Called when a session expiration update occurs, to inform the app about the change in expiration time.
onFinished() - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
onFinished() - Method in interface com.google.android.exoplayer2.testutil.HostActivity.HostedTest
Called on the test thread after the test has finished and been stopped.
onFlush() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Called when the processor is flushed, directly or as part of resetting.
onFlush() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
onFlush() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
onFocusChanged(boolean, int, Rect) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onFormatChanged(float) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer's output format changes.
onFormatChanged(Format) - Method in class com.google.android.exoplayer2.testutil.FakeAudioRenderer
 
onFormatChanged(Format) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
Called when the renderer reads a new format.
onFormatChanged(Format) - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
onFrameAvailable() - Method in interface com.google.android.exoplayer2.util.EGLSurfaceTexture.TextureImageListener
Called when the SurfaceTexture receives a new frame from its image producer.
onFrameAvailable(SurfaceTexture) - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
onFrameRendered(MediaCodecAdapter, long, long) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.OnFrameRenderedListener
 
onFullScreenModeChanged(boolean) - Method in interface com.google.android.exoplayer2.ui.StyledPlayerControlView.OnFullScreenModeChangedListener
Called to indicate a fullscreen mode change.
onIdle(DownloadManager) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when there is no active download left.
onIdle(DownloadManager) - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
 
onInitializationFailed(IOException) - Method in interface com.google.android.exoplayer2.util.SntpClient.InitializationCallback
Called when the device time offset failed to initialize.
onInitializeAccessibilityEvent(AccessibilityEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onInitialized() - Method in interface com.google.android.exoplayer2.util.SntpClient.InitializationCallback
Called when the device time offset has been initialized.
onInitialized(DownloadManager) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when all downloads have been restored.
onInitialized(DownloadManager) - Method in class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
 
onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when a new Format is read from the upstream MediaPeriod.
onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Called when a new format is read from the upstream source.
onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onIsLoadingChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onIsLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the player starts or stops loading the source.
onIsLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onIsLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the player starts or stops loading data from a source.
onIsLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onIsPlayingChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onIsPlayingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value of Player.isPlaying() changes.
onIsPlayingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onIsPlayingChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the player starts or stops playing.
onIsPlayingChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onKeyDown(int, KeyEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onKeyStatusChange(ExoMediaDrm, byte[], List<ExoMediaDrm.KeyStatus>, boolean) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnKeyStatusChangeListener
Called when the keys in a session change status, such as when the license is renewed or expires.
onLayout(boolean, int, int, int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onLayout(boolean, int, int, int, int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
onLoadCanceled(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadCanceled(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onLoadCanceled(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load is canceled.
onLoadCanceled(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source canceled loading data.
onLoadCanceled(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadCanceled(Chunk, long, long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadCanceled(ParsingLoadable<HlsPlaylist>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
onLoadCanceled(ParsingLoadable<SsManifest>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
onLoadCanceled(T, long, long, boolean) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load has been canceled.
onLoadCompleted(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadCompleted(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onLoadCompleted(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load ends.
onLoadCompleted(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source completed loading data.
onLoadCompleted(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadCompleted(Chunk, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadCompleted(ParsingLoadable<HlsPlaylist>, long, long) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
onLoadCompleted(ParsingLoadable<SsManifest>, long, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
onLoadCompleted(T, long, long) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load has completed.
onLoaderReleased() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoaderReleased() - Method in interface com.google.android.exoplayer2.upstream.Loader.ReleaseCallback
Called when the Loader has finished being released.
onLoadError(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadError(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onLoadError(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData, IOException, boolean) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load error occurs.
onLoadError(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData, IOException, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source loading error occurred.
onLoadError(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onLoadError(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadError(Chunk, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
onLoadError(ParsingLoadable<HlsPlaylist>, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
onLoadError(ParsingLoadable<SsManifest>, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
onLoadError(T, long, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
Called when a load encounters an error.
onLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
onLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onLoadStarted(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onLoadStarted(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onLoadStarted(int, MediaSource.MediaPeriodId, LoadEventInfo, MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when a load begins.
onLoadStarted(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a media source started loading data.
onLoadStarted(AnalyticsListener.EventTime, LoadEventInfo, MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onLoadTaskConcluded(long) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
Called once loadTaskId will not be associated with any more load errors.
onMaxSeekToPreviousPositionChanged(long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMaxSeekToPreviousPositionChanged(long) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value of Player.getMaxSeekToPreviousPosition() changes.
onMaxSeekToPreviousPositionChanged(AnalyticsListener.EventTime, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the maximum position for which Player.seekToPrevious() seeks to the previous window changes.
onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
 
onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onMediaButtonEvent(Player, Intent) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.MediaButtonEventHandler
See MediaSessionCompat.Callback.onMediaButtonEvent(Intent).
onMediaItemTransition(AnalyticsListener.EventTime, MediaItem, @com.google.android.exoplayer2.Player.MediaItemTransitionReason int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when playback transitions to a different media item.
onMediaItemTransition(AnalyticsListener.EventTime, MediaItem, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onMediaItemTransition(MediaItem, @com.google.android.exoplayer2.Player.MediaItemTransitionReason int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMediaItemTransition(MediaItem, @com.google.android.exoplayer2.Player.MediaItemTransitionReason int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when playback transitions to a media item or starts repeating a media item according to the current repeat mode.
onMediaItemTransition(MediaItem, @com.google.android.exoplayer2.Player.MediaItemTransitionReason int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onMediaItemTransition(MediaItem, @com.google.android.exoplayer2.Player.MediaItemTransitionReason int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
onMediaMetadataChanged(AnalyticsListener.EventTime, MediaMetadata) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the combined MediaMetadata changes.
onMediaMetadataChanged(MediaMetadata) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMediaMetadataChanged(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the combined MediaMetadata changes.
onMediaMetadataChanged(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onMessageArrived() - Method in interface com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget.Callback
Notifies about the arrival of the message.
onMetadata(AnalyticsListener.EventTime, Metadata) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when there is Metadata associated with the current playback time.
onMetadata(AnalyticsListener.EventTime, Metadata) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onMetadata(Metadata) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onMetadata(Metadata) - Method in interface com.google.android.exoplayer2.metadata.MetadataOutput
Called when there is metadata associated with current playback time.
onMetadata(Metadata) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when there is metadata associated with the current playback time.
onNetworkTypeChanged(int) - Method in interface com.google.android.exoplayer2.util.NetworkTypeObserver.Listener
Called when the network type changed or when the listener is first registered.
onNextFrame(long) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called by the renderer for each frame, prior to it being skipped, dropped or rendered.
onNotificationCancelled(int, boolean) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
Called after the notification has been cancelled.
onNotificationPosted(int, Notification, boolean) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
Called each time after the notification has been posted.
onOffloadBufferEmptying() - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the offload buffer has been partially emptied.
onOffloadBufferFull(long) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the offload buffer has been filled completely.
onOutputFormatChanged(Format, MediaFormat) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onOutputFormatChanged(Format, MediaFormat) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when one of the output formats changes.
onOutputFormatChanged(Format, MediaFormat) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onPause() - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
onPause() - Method in class com.google.android.exoplayer2.ui.PlayerView
Should be called when the player is no longer visible to the user, if the surface_type extends GLSurfaceView.
onPause() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Should be called when the player is no longer visible to the user, if the surface_type extends GLSurfaceView.
onPause() - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
 
onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the playback parameters changed.
onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPlaybackParametersChanged(PlaybackParameters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlaybackParametersChanged(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the current playback parameters change.
onPlaybackParametersChanged(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
 
onPlaybackSpeed(float) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Called to notify the selection of the current playback speed.
onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer's playback speed changes.
onPlaybackStateChanged(@com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlaybackStateChanged(@com.google.android.exoplayer2.Player.State int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value returned from Player.getPlaybackState() changes.
onPlaybackStateChanged(@com.google.android.exoplayer2.Player.State int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlaybackStateChanged(@com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
onPlaybackStateChanged(@com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
 
onPlaybackStateChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.State int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the playback state changed.
onPlaybackStateChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPlaybackStatsReady(AnalyticsListener.EventTime, PlaybackStats) - Method in interface com.google.android.exoplayer2.analytics.PlaybackStatsListener.Callback
Called when a playback session ends and its PlaybackStats are ready.
onPlaybackSuppressionReasonChanged(@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlaybackSuppressionReasonChanged(@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value returned from Player.getPlaybackSuppressionReason() changes.
onPlaybackSuppressionReasonChanged(@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlaybackSuppressionReasonChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when playback suppression reason changed.
onPlaybackSuppressionReasonChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPlayerError(AnalyticsListener.EventTime, PlaybackException) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a fatal player error occurred.
onPlayerError(AnalyticsListener.EventTime, PlaybackException) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPlayerError(PlaybackException) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlayerError(PlaybackException) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when an error occurs.
onPlayerError(PlaybackException) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlayerError(PlaybackException) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
onPlayerErrorChanged(PlaybackException) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the PlaybackException returned by Player.getPlayerError() changes.
onPlayerErrorChanged(PlaybackException) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlayerErrorInternal(ExoPlaybackException) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
onPlayerReleased(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the Player is released.
onPlayerStateChanged(boolean, @com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlayerStateChanged(boolean, @com.google.android.exoplayer2.Player.State int) - Method in interface com.google.android.exoplayer2.Player.EventListener
onPlayerStateChanged(AnalyticsListener.EventTime, boolean, @com.google.android.exoplayer2.Player.State int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onPlaylistChanged() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlaylistChanged() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
Called a playlist changes.
onPlaylistError(Uri, LoadErrorHandlingPolicy.LoadErrorInfo, boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlaylistError(Uri, LoadErrorHandlingPolicy.LoadErrorInfo, boolean) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
Called if an error is encountered while loading a playlist.
onPlaylistMetadataChanged(AnalyticsListener.EventTime, MediaMetadata) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the playlist MediaMetadata changes.
onPlaylistMetadataChanged(MediaMetadata) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlaylistMetadataChanged(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the playlist MediaMetadata changes.
onPlaylistMetadataChanged(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlaylistRefreshRequired(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlayWhenReadyChanged(boolean) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Called to notify when the playback is paused or resumed.
onPlayWhenReadyChanged(boolean, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPlayWhenReadyChanged(boolean, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value returned from Player.getPlayWhenReady() changes.
onPlayWhenReadyChanged(boolean, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPlayWhenReadyChanged(boolean, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int) - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
 
onPlayWhenReadyChanged(AnalyticsListener.EventTime, boolean, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the value changed that indicates whether playback will proceed when ready.
onPlayWhenReadyChanged(AnalyticsListener.EventTime, boolean, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPositionAdvancing(long) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the audio sink's position has increased for the first time since it was last paused or flushed.
onPositionDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the audio sink handles a buffer whose timestamp is discontinuous with the last buffer handled since it was reset.
onPositionDiscontinuity() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
onPositionDiscontinuity() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
onPositionDiscontinuity(@com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in interface com.google.android.exoplayer2.Player.EventListener
onPositionDiscontinuity(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onPositionDiscontinuity(AnalyticsListener.EventTime, Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a position discontinuity occurred.
onPositionDiscontinuity(AnalyticsListener.EventTime, Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onPositionDiscontinuity(AnalyticsListener.EventTime, Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when a position discontinuity occurs.
onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
 
onPositionReset() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer's position is reset.
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the position is reset.
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the position is reset.
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
onPostConnect(MediaSession, MediaSession.ControllerInfo) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.PostConnectCallback
Called after the specified controller is connected, and you need extra initialization.
onPrepare(boolean) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback.onPrepare().
onPrepareComplete(MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MaskingMediaPeriod.PrepareListener
Called when preparing the media period completes.
onPrepared() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onPrepared() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when prepared with a new source.
onPrepared() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPrepared(DownloadHelper) - Method in interface com.google.android.exoplayer2.offline.DownloadHelper.Callback
Called when preparation completes.
onPrepared(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
onPrepared(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
onPrepared(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaPeriod.Callback
Called when preparation completes.
onPrepareError(DownloadHelper, IOException) - Method in interface com.google.android.exoplayer2.offline.DownloadHelper.Callback
Called when preparation fails.
onPrepareError(MediaSource.MediaPeriodId, IOException) - Method in interface com.google.android.exoplayer2.source.MaskingMediaPeriod.PrepareListener
Called the first time an error occurs while refreshing source info or preparing the period.
onPrepareFromMediaId(String, boolean, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback.onPrepareFromMediaId(String, Bundle).
onPrepareFromSearch(String, boolean, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback.onPrepareFromSearch(String, Bundle).
onPrepareFromUri(Uri, boolean, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
See MediaSessionCompat.Callback.onPrepareFromUri(Uri, Bundle).
onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PrimaryPlaylistListener
Called when the primary playlist changes.
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called when an output buffer is successfully processed.
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Called when an output buffer is successfully processed.
onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onProcessedStreamChange() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onProcessedStreamChange() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called after the last output buffer before a stream change has been processed.
onProcessedStreamChange() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onProcessedTunneledBuffer(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Called when a buffer was processed in tunneling mode.
onProgress(long, long, float) - Method in interface com.google.android.exoplayer2.offline.Downloader.ProgressListener
Called when progress is made during a download operation.
onProgress(long, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheWriter.ProgressListener
Called when progress is made during a cache operation.
onProgressUpdate(long, long) - Method in interface com.google.android.exoplayer2.ui.PlayerControlView.ProgressUpdateListener
Called when progress needs to be updated.
onProgressUpdate(long, long) - Method in interface com.google.android.exoplayer2.ui.StyledPlayerControlView.ProgressUpdateListener
Called when progress needs to be updated.
onQueueEndOfStream() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Called when the end-of-stream is queued to the processor.
onQueueEndOfStream() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
onQueueEndOfStream() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Called immediately before an input buffer is queued into the codec.
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Called immediately before an input buffer is queued into the decoder.
onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Called immediately before an input buffer is queued into the codec.
onRebuffer() - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Called to notify when a rebuffer occurred.
onReceivingFirstPacket(long, int) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
onReceivingFirstPacket(long, int) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
This method should be called on reading the first packet in a stream of incoming packets.
onReleased() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onReleased() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when released.
onRemoveQueueItem(Player, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
See MediaSessionCompat.Callback.onRemoveQueueItem(MediaDescriptionCompat description).
onRemoveQueueItem(Player, MediaDescriptionCompat) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
 
onRenderedFirstFrame() - Method in interface com.google.android.exoplayer2.Player.Listener
Called when a frame is rendered for the first time since setting the surface, or since the renderer was reset, or since the stream being rendered was changed.
onRenderedFirstFrame(AnalyticsListener.EventTime, Object, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a frame is rendered for the first time since setting the surface, or since the renderer was reset, or since the stream being rendered was changed.
onRenderedFirstFrame(AnalyticsListener.EventTime, Object, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onRenderedFirstFrame(Object, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onRenderedFirstFrame(Object, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a frame is rendered for the first time since setting the output, or since the renderer was reset, or since the stream being rendered was changed.
onRendererOffsetChanged(long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer's offset has been changed.
onRepeatModeChanged(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onRepeatModeChanged(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onRepeatModeChanged(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value of Player.getRepeatMode() changes.
onRepeatModeChanged(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onRepeatModeChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.RepeatMode int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the repeat mode changed.
onRepeatModeChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onRequirementsStateChanged(DownloadManager, Requirements, int) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when the download requirements state changed.
onRequirementsStateChanged(RequirementsWatcher, int) - Method in interface com.google.android.exoplayer2.scheduler.RequirementsWatcher.Listener
Called when there is a change on the met requirements.
onReset() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Called when the processor is reset.
onReset() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onReset() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
onReset() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
onReset() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is reset.
onReset() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onReset() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is reset.
onReset() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
onReset() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onResume() - Method in class com.google.android.exoplayer2.ui.PlayerView
Should be called when the player is visible to the user, if the surface_type extends GLSurfaceView.
onResume() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Should be called when the player is visible to the user, if the surface_type extends GLSurfaceView.
onResume() - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
 
onRtlPropertiesChanged(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onSampleCompleted(int, long, int, int, int, MediaCodec.CryptoInfo) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
 
onSampleDataFound(int, MediaParser.InputReader) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
 
onSampleStreamReleased(ChunkSampleStream<T>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSampleStream.ReleaseCallback
Called when the ChunkSampleStream has finished being released.
onScrubMove(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user moves the scrubber.
onScrubStart(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user starts moving the scrubber.
onScrubStop(TimeBar, long, boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
Called when the user stops moving the scrubber.
onSeekBackIncrementChanged(long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onSeekBackIncrementChanged(long) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value of Player.getSeekBackIncrement() changes.
onSeekBackIncrementChanged(long) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onSeekBackIncrementChanged(AnalyticsListener.EventTime, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the seek back increment changed.
onSeekFinished() - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSeeker
Called when a seek operation finishes.
onSeekForwardIncrementChanged(long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onSeekForwardIncrementChanged(long) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value of Player.getSeekForwardIncrement() changes.
onSeekForwardIncrementChanged(long) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onSeekForwardIncrementChanged(AnalyticsListener.EventTime, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the seek forward increment changed.
onSeekMapFound(MediaParser.SeekMap) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
 
onSeekOperationFinished(boolean, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
onSeekProcessed() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onSeekProcessed() - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
onSeekProcessed(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Deprecated.
Seeks are processed without delay. Use AnalyticsListener.onPositionDiscontinuity(EventTime, int) with reason Player.DISCONTINUITY_REASON_SEEK instead.
onSeekStarted(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onSelectionActivated(Object) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
onSelectionActivated(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
onSessionActive(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
Called when a session becomes active, i.e.
onSessionActive(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onSessionCreated(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
Called when a new session is created as a result of PlaybackSessionManager.updateSessions(EventTime).
onSessionCreated(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onSessionFinished(AnalyticsListener.EventTime, String, boolean) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
Called when a session is permanently finished.
onSessionFinished(AnalyticsListener.EventTime, String, boolean) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onSetCaptioningEnabled(Player, boolean) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CaptionCallback
See MediaSessionCompat.Callback.onSetCaptioningEnabled(boolean).
onSetRating(MediaSession, MediaSession.ControllerInfo, String, Rating) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.RatingCallback
Called when the specified controller has set a rating for the specified media id.
onSetRating(Player, RatingCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.RatingCallback
See MediaSessionCompat.Callback.onSetRating(RatingCompat).
onSetRating(Player, RatingCompat, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.RatingCallback
See MediaSessionCompat.Callback.onSetRating(RatingCompat, Bundle).
onShuffleModeChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the shuffle mode changed.
onShuffleModeChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onShuffleModeEnabledChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onShuffleModeEnabledChanged(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onShuffleModeEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value of Player.getShuffleModeEnabled() changes.
onShuffleModeEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onSkipBackward(MediaSession, MediaSession.ControllerInfo) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.SkipCallback
Called when the specified controller has sent skip backward.
onSkipForward(MediaSession, MediaSession.ControllerInfo) - Method in interface com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.SkipCallback
Called when the specified controller has sent skip forward.
onSkipSilenceEnabledChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onSkipSilenceEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
Called when skipping silences is enabled or disabled in the audio stream.
onSkipSilenceEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when skipping silences is enabled or disabled.
onSkipSilenceEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when skipping silences is enabled or disabled in the audio stream.
onSkipSilenceEnabledChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when skipping silences is enabled or disabled in the audio stream.
onSkipSilenceEnabledChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onSkipToNext(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback.onSkipToNext().
onSkipToNext(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSkipToPrevious(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback.onSkipToPrevious().
onSkipToPrevious(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSkipToQueueItem(Player, long) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
See MediaSessionCompat.Callback.onSkipToQueueItem(long).
onSkipToQueueItem(Player, long) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onSleep(long) - Method in interface com.google.android.exoplayer2.Renderer.WakeupListener
The renderer no longer needs to render until the next wakeup.
onSourceInfoRefreshed(long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
onSourceInfoRefreshed(MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onSourceInfoRefreshed(MediaSource, Timeline) - Method in interface com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller
Called when the Timeline has been refreshed.
onSpanAdded(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
Called when a CacheSpan is added to the cache.
onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
onSpanRemoved(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
Called when a CacheSpan is removed from the cache.
onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
Called when an existing CacheSpan is touched, causing it to be replaced.
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
onStart() - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
onStart(HostActivity, Surface, FrameLayout) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
onStart(HostActivity, Surface, FrameLayout) - Method in interface com.google.android.exoplayer2.testutil.HostActivity.HostedTest
Called on the main thread when the test is started.
onStartCommand(Intent, int, int) - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onStarted() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is started.
onStarted() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is started.
onStarted() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onStarted() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer is started.
onStartFile(Cache, String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
Called when a writer starts writing to the cache.
onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
onStartJob(JobParameters) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
 
onStop() - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
onStopJob(JobParameters) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
 
onStopped() - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer is stopped.
onStopped() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onStopped() - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when stopped.
onStopped() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.NoSampleRenderer
Called when the renderer is stopped.
onStopped() - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
onStopped() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer is stopped.
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.BaseRenderer
Called when the renderer's stream has changed.
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
onStreamChanged(Format[], long, long) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
onSurfaceChanged(Surface) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Called when the renderer changes which Surface it's rendering to renders to.
onSurfaceSizeChanged(int, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Called each time there's a change in the size of the surface onto which the video is being rendered.
onSurfaceSizeChanged(int, int) - Method in interface com.google.android.exoplayer2.Player.Listener
Called each time there's a change in the size of the surface onto which the video is being rendered.
onSurfaceSizeChanged(AnalyticsListener.EventTime, int, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the output surface size changed.
onSurfaceSizeChanged(AnalyticsListener.EventTime, int, int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onTaskRemoved(Intent) - Method in class com.google.android.exoplayer2.offline.DownloadService
 
onThreadBlocked() - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
onThreadBlocked() - Method in interface com.google.android.exoplayer2.util.Clock
Notifies the clock that the current thread is about to be blocked and won't return until a condition on another thread becomes true.
onThreadBlocked() - Method in class com.google.android.exoplayer2.util.SystemClock
 
onTimelineChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the timeline changed.
onTimelineChanged(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onTimelineChanged(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
Called when the timeline of the player has changed.
onTimelineChanged(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
 
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the timeline has been refreshed.
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
 
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
onTrackballEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
onTrackballEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
onTrackCountFound(int) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
 
onTrackDataFound(int, MediaParser.TrackData) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
 
onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.Player.EventListener
onTrackSelectionChanged(boolean, List<DefaultTrackSelector.SelectionOverride>) - Method in interface com.google.android.exoplayer2.ui.TrackSelectionView.TrackSelectionListener
Called when the selected tracks changed.
onTrackSelectionParametersChanged(TrackSelectionParameters) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the value returned from Player.getTrackSelectionParameters() changes.
onTrackSelectionsInvalidated() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelector.InvalidationListener
Called by a TrackSelector to indicate that selections it has previously made are no longer valid.
onTracksInfoChanged(AnalyticsListener.EventTime, TracksInfo) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the available or selected tracks change.
onTracksInfoChanged(TracksInfo) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onTracksInfoChanged(TracksInfo) - Method in interface com.google.android.exoplayer2.Player.EventListener
Deprecated.
Called when the available or selected tracks change.
onTracksInfoChanged(TracksInfo) - Method in interface com.google.android.exoplayer2.Player.Listener
 
onTracksSelected(boolean, List<DefaultTrackSelector.SelectionOverride>) - Method in interface com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder.DialogCallback
Called when tracks are selected.
onTracksSelected(Renderer[], TrackGroupArray, ExoTrackSelection[]) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
onTracksSelected(Renderer[], TrackGroupArray, ExoTrackSelection[]) - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player when a track selection occurs.
onTransact(int, Parcel, Parcel, int) - Method in class com.google.android.exoplayer2.BundleListRetriever
 
onTransferEnd(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.FakeTransferListener
 
onTransferEnd(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferEnd(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer ends.
onTransferInitializing(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.FakeTransferListener
 
onTransferInitializing(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferInitializing(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer is being initialized.
onTransferInitializing(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.TimeToFirstByteEstimator
Called when a transfer is being initialized.
onTransferStart(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.FakeTransferListener
 
onTransferStart(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
onTransferStart(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
Called when a transfer starts.
onTransferStart(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.TimeToFirstByteEstimator
Called when a transfer starts.
onTransformationCompleted(MediaItem) - Method in interface com.google.android.exoplayer2.transformer.TranscodingTransformer.Listener
Called when the transformation is completed.
onTransformationCompleted(MediaItem) - Method in interface com.google.android.exoplayer2.transformer.Transformer.Listener
Called when the transformation is completed.
onTransformationError(MediaItem, Exception) - Method in interface com.google.android.exoplayer2.transformer.TranscodingTransformer.Listener
Called if an error occurs during the transformation.
onTransformationError(MediaItem, Exception) - Method in interface com.google.android.exoplayer2.transformer.Transformer.Listener
Called if an error occurs during the transformation.
onTruncatedSegmentParsed() - Method in class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
 
onTruncatedSegmentParsed() - Method in interface com.google.android.exoplayer2.source.hls.HlsMediaChunkExtractor
Resets the sample parsing state.
onTruncatedSegmentParsed() - Method in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
 
onUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
Called when the audio sink runs out of data.
onUpgrade(SQLiteDatabase, int, int) - Method in class com.google.android.exoplayer2.database.StandaloneDatabaseProvider
 
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaLoadData) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
Called when data is removed from the back of a media buffer, typically so that it can be re-buffered in a different format.
onUpstreamDiscarded(AnalyticsListener.EventTime, MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when data is removed from the back of a media buffer, typically so that it can be re-buffered in a different format.
onUpstreamDiscarded(AnalyticsListener.EventTime, MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onUpstreamFormatChanged(Format) - Method in interface com.google.android.exoplayer2.source.SampleQueue.UpstreamFormatChangedListener
Called on the loading thread when an upstream format change occurs.
onVideoCodecError(AnalyticsListener.EventTime, Exception) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a video decoder encounters an error.
onVideoCodecError(Exception) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoCodecError(Exception) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a video decoder encounters an error.
onVideoDecoderInitialized(AnalyticsListener.EventTime, String, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onVideoDecoderInitialized(AnalyticsListener.EventTime, String, long) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoDecoderInitialized(AnalyticsListener.EventTime, String, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a video renderer creates a decoder.
onVideoDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a decoder is created.
onVideoDecoderReleased(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a video renderer releases a decoder.
onVideoDecoderReleased(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoDecoderReleased(String) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoDecoderReleased(String) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when a decoder is released.
onVideoDisabled(AnalyticsListener.EventTime, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a video renderer is disabled.
onVideoDisabled(AnalyticsListener.EventTime, DecoderCounters) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
onVideoDisabled(AnalyticsListener.EventTime, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoDisabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the renderer is disabled.
onVideoEnabled(AnalyticsListener.EventTime, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when a video renderer is enabled.
onVideoEnabled(AnalyticsListener.EventTime, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoEnabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the renderer is enabled.
onVideoFrameAboutToBeRendered(long, long, Format, MediaFormat) - Method in interface com.google.android.exoplayer2.video.VideoFrameMetadataListener
Called on the playback thread when a video frame is about to be rendered.
onVideoFrameProcessingOffset(long, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoFrameProcessingOffset(long, int) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called to report the video processing offset of video frames processed by the video renderer.
onVideoFrameProcessingOffset(AnalyticsListener.EventTime, long, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when there is an update to the video frame processing offset reported by a video renderer.
onVideoInputFormatChanged(AnalyticsListener.EventTime, Format) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onVideoInputFormatChanged(AnalyticsListener.EventTime, Format, DecoderReuseEvaluation) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the format of the media being consumed by a video renderer changes.
onVideoInputFormatChanged(AnalyticsListener.EventTime, Format, DecoderReuseEvaluation) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
onVideoInputFormatChanged(Format, DecoderReuseEvaluation) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoInputFormatChanged(Format, DecoderReuseEvaluation) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called when the format of the media being consumed by the renderer changes.
onVideoSizeChanged(AnalyticsListener.EventTime, int, int, int, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
onVideoSizeChanged(AnalyticsListener.EventTime, VideoSize) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called before a frame is rendered for the first time since setting the surface, and each time there's a change in the size or pixel aspect ratio of the video being rendered.
onVideoSizeChanged(AnalyticsListener.EventTime, VideoSize) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
 
onVideoSizeChanged(AnalyticsListener.EventTime, VideoSize) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onVideoSizeChanged(VideoSize) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
 
onVideoSizeChanged(VideoSize) - Method in interface com.google.android.exoplayer2.Player.Listener
Called each time there's a change in the size of the video being rendered.
onVideoSizeChanged(VideoSize) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
Called before a frame is rendered for the first time since setting the surface, and each time there's a change in the size, rotation or pixel aspect ratio of the video being rendered.
onVideoSurfaceCreated(Surface) - Method in interface com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView.VideoSurfaceListener
Called when the Surface to which video frames should be rendered is created.
onVideoSurfaceDestroyed(Surface) - Method in interface com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView.VideoSurfaceListener
Called when the Surface to which video frames should be rendered is destroyed.
onVisibilityChange(int) - Method in interface com.google.android.exoplayer2.ui.PlayerControlView.VisibilityListener
Called when the visibility changes.
onVisibilityChange(int) - Method in interface com.google.android.exoplayer2.ui.StyledPlayerControlView.VisibilityListener
Called when the visibility changes.
onVolumeChanged(float) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Called when the volume changes.
onVolumeChanged(float) - Method in interface com.google.android.exoplayer2.Player.Listener
Called when the volume changes.
onVolumeChanged(AnalyticsListener.EventTime, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
Called when the volume changes.
onVolumeChanged(AnalyticsListener.EventTime, float) - Method in class com.google.android.exoplayer2.util.EventLogger
 
onWaitingForRequirementsChanged(DownloadManager, boolean) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
Called when there is a change in whether this manager has one or more downloads that are not progressing for the sole reason that the Requirements are not met.
onWakeup() - Method in interface com.google.android.exoplayer2.Renderer.WakeupListener
The renderer needs to render some frames.
open() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
Optional call to open the underlying DataSource.
open() - Method in class com.google.android.exoplayer2.util.ConditionVariable
Opens the condition and releases all threads that are blocked.
open(DataSpec) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSink
Opens the sink to consume the specified data.
open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSource
Opens the source to read the specified data.
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
Opens the source to read the specified data.
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Opens the source to read the specified data.
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
openAssetFile(Uri, String) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
OpenException(DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
 
OpenException(IOException, DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
 
OpenException(IOException, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
OpenException(String, DataSpec, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
 
OpenException(String, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
openRead() - Method in class com.google.android.exoplayer2.util.AtomicFile
Open the atomic file for reading.
openSession() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
openSession() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Opens a new DRM session.
openSession() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
openSession() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
OpusDecoder - Class in com.google.android.exoplayer2.ext.opus
Opus decoder.
OpusDecoder(int, int, int, List<byte[]>, CryptoConfig, boolean) - Constructor for class com.google.android.exoplayer2.ext.opus.OpusDecoder
Creates an Opus decoder.
OpusDecoderException - Exception in com.google.android.exoplayer2.ext.opus
Thrown when an Opus decoder error occurs.
opusGetVersion() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
 
opusIsSecureDecodeSupported() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
 
OpusLibrary - Class in com.google.android.exoplayer2.ext.opus
Configures and queries the underlying native library.
OpusUtil - Class in com.google.android.exoplayer2.audio
Utility methods for handling Opus audio streams.
OtherTrackScore(Format, int) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.OtherTrackScore
 
outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If true, the splice event is an opportunity to exit from the network feed.
outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
If true, the splice event is an opportunity to exit from the network feed.
outputAudioFormat - Variable in class com.google.android.exoplayer2.audio.BaseAudioProcessor
The current output audio format.
OutputConsumerAdapterV30 - Class in com.google.android.exoplayer2.source.mediaparser
MediaParser.OutputConsumer implementation that redirects output to an ExtractorOutput.
OutputConsumerAdapterV30() - Constructor for class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
OutputConsumerAdapterV30(Format, @com.google.android.exoplayer2.C.TrackType int, boolean) - Constructor for class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Creates a new instance.
outputFloat - Variable in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
outputPendingSampleMetadata(TrackOutput, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.extractor.TrueHdSampleRechunker
 
overallRating - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional overall Rating.
overestimatedResult(long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
Returns a result to signal that the current position in the input stream overestimates the true position of the target frame, and the BinarySearchSeeker should modify its BinarySearchSeeker.SeekOperationParams's ceiling timestamp and byte position using the given values.
overridePreparePositionUs(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Overrides the default prepare position at which to prepare the media period.
owner - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 

P

packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
packetFinished() - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Called when a packet ends.
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
packetStarted(long, int) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Called when a packet starts.
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
padding - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP padding bit (Word 0, bit 2).
PARAMETER_EAGERLY_EXPOSE_TRACK_TYPE - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_EXPOSE_CAPTION_FORMATS - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_EXPOSE_CHUNK_INDEX_AS_MEDIA_FORMAT - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_EXPOSE_DUMMY_SEEK_MAP - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_IGNORE_TIMESTAMP_OFFSET - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_IN_BAND_CRYPTO_INFO - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_INCLUDE_SUPPLEMENTAL_DATA - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
PARAMETER_OVERRIDE_IN_BAND_CAPTION_DECLARATIONS - Static variable in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
 
ParametersBuilder() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Deprecated.
Context constraints will not be set using this constructor. Use ParametersBuilder(Context) instead.
ParametersBuilder(Context) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Creates a builder with default initial values.
parent - Variable in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
ParsableBitArray - Class in com.google.android.exoplayer2.util
Wraps a byte array, providing methods that allow it to be read as a bitstream.
ParsableBitArray() - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
Creates a new instance that initially has no backing data.
ParsableBitArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
Creates a new instance that wraps an existing array.
ParsableBitArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
Creates a new instance that wraps an existing array.
ParsableByteArray - Class in com.google.android.exoplayer2.util
Wraps a byte array, providing a set of methods for parsing data from it.
ParsableByteArray() - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance that initially has no backing data.
ParsableByteArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance wrapping data, and sets the limit to data.length.
ParsableByteArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance that wraps an existing array.
ParsableByteArray(int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
Creates a new instance with limit bytes and sets the limit.
ParsableNalUnitBitArray - Class in com.google.android.exoplayer2.util
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
ParsableNalUnitBitArray(byte[], int, int) - Constructor for class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
 
parse(byte[], int) - Static method in class com.google.android.exoplayer2.source.rtsp.RtpPacket
Creates an RtpPacket from a byte array.
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.offline.FilteringManifestParser
 
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
 
parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
 
parse(Uri, InputStream) - Method in interface com.google.android.exoplayer2.upstream.ParsingLoadable.Parser
Parses an object from a response.
parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.source.rtsp.RtpPacket
Creates an RtpPacket from a ParsableByteArray.
parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.AvcConfig
Parses AVC configuration data.
parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.DolbyVisionConfig
Parses Dolby Vision configuration data.
parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.HevcConfig
Parses HEVC configuration data.
parse(Map<String, List<String>>) - Static method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
Parses IcyHeaders from response headers.
parseAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the AC-3 format given data containing the AC3SpecificBox according to Annex F.
parseAc3SyncframeAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Reads the number of audio samples represented by the given (E-)AC-3 syncframe.
parseAc3SyncframeInfo(ParsableBitArray) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns (E-)AC-3 format information given data containing a syncframe.
parseAc3SyncframeSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the size in bytes of the given (E-)AC-3 syncframe.
parseAc4AnnexEFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
Returns the AC-4 format given data containing the AC4SpecificBox according to ETSI TS 103 190-1 Annex E.
parseAc4SyncframeAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
Reads the number of audio samples represented by the given AC-4 syncframe.
parseAc4SyncframeInfo(ParsableBitArray) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
Returns AC-4 format information given data containing a syncframe.
parseAc4SyncframeSize(byte[], int) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
Returns the size in bytes of the given AC-4 syncframe.
parseAdaptationSet(XmlPullParser, List<BaseUrl>, SegmentBase, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseAdaptationSetChild(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses children of AdaptationSet elements not specifically parsed elsewhere.
parseAlacAudioSpecificConfig(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Parses an ALAC AudioSpecificConfig (i.e.
parseAudioChannelConfiguration(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseAudioSpecificConfig(byte[]) - Static method in class com.google.android.exoplayer2.audio.AacUtil
Parses an AAC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
parseAudioSpecificConfig(ParsableBitArray, boolean) - Static method in class com.google.android.exoplayer2.audio.AacUtil
Parses an AAC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
parseAvailabilityTimeOffsetUs(XmlPullParser, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses the availabilityTimeOffset value and returns the parsed value or the parent value if it doesn't exist.
parseBaseUrl(XmlPullParser, List<BaseUrl>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a BaseURL element.
parseCea608AccessibilityChannel(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseCea708AccessibilityChannel(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseCea708InitializationData(List<byte[]>) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Returns whether the CEA-708 closed caption service with the given initialization data is formatted for displays with 16:9 aspect ratio.
parseContentProtection(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a ContentProtection element.
parseContentType(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseCssColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
Parses a CSS color expression.
parseCue(ParsableByteArray, List<WebvttCssStyle>) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
Parses the next valid WebVTT cue in a parsable array, including timestamps, settings and text.
parseDateTime(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseDescriptor(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a Descriptor from an element.
parseDolbyChannelConfiguration(XmlPullParser) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses the number of channels from the value attribute of an AudioElementConfiguration with schemeIdUri "tag:dolby.com,2014:dash:audio_channel_configuration:2011", as defined by table E.5 in ETSI TS 102 366, or the legacy schemeIdUri "urn:dolby:dash:audio_channel_configuration:2011".
parseDtsAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns the number of audio samples represented by the given DTS frame.
parseDtsAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
parseDtsFormat(byte[], String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
Returns the DTS format given data containing the DTS frame according to ETSI TS 102 114 subsections 5.3/5.4.
parseDuration(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseEAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the E-AC-3 format given data containing the EC3SpecificBox according to Annex F.
parseEac3SupplementalProperties(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseEvent(XmlPullParser, String, String, long, ByteArrayOutputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a single Event node in the manifest.
parseEventObject(XmlPullParser, ByteArrayOutputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses an event object.
parseEventStream(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a single EventStream node in the manifest.
parseFloat(XmlPullParser, String, float) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseFrameRate(XmlPullParser, float) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseH265SpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a H.265 SPS NAL unit using the syntax defined in ITU-T Recommendation H.265 (2019) subsection 7.3.2.2.1.
parseH265SpsNalUnitPayload(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a H.265 SPS NAL unit payload (excluding the NAL unit header) using the syntax defined in ITU-T Recommendation H.265 (2019) subsection 7.3.2.2.1.
parseInitialization(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseInt(XmlPullParser, String, int) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseLabel(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses a Label element.
parseLastSegmentNumberSupplementalProperty(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseLong(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseMediaPresentationDescription(XmlPullParser, BaseUrl) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseMpegAudioFrameSampleCount(int) - Static method in class com.google.android.exoplayer2.audio.MpegAudioUtil
Returns the number of samples per frame associated with headerData, or C.LENGTH_UNSET if it is invalid.
parseMpegChannelConfiguration(XmlPullParser) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Parses the number of channels from the value attribute of an AudioElementConfiguration with schemeIdUri "urn:mpeg:mpegB:cicp:ChannelConfiguration", as defined by ISO 23001-8 clause 8.1.
parsePercentage(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a percentage string.
parsePeriod(XmlPullParser, List<BaseUrl>, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parsePpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a PPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection 7.3.2.2.
parsePpsNalUnitPayload(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a PPS NAL unit payload (excluding the NAL unit header) using the syntax defined in ITU-T Recommendation H.264 (2013) subsection 7.3.2.2.
parseProgramInformation(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseRangedUrl(XmlPullParser, String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseRepresentation(XmlPullParser, List<BaseUrl>, String, String, int, int, float, int, int, String, List<Descriptor>, List<Descriptor>, List<Descriptor>, List<Descriptor>, SegmentBase, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
ParserException - Exception in com.google.android.exoplayer2
Thrown when an error occurs parsing media data and metadata.
ParserException(String, Throwable, boolean, int) - Constructor for exception com.google.android.exoplayer2.ParserException
 
parseRoleFlagsFromAccessibilityDescriptors(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseRoleFlagsFromDashRoleScheme(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseRoleFlagsFromProperties(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseRoleFlagsFromRoleDescriptors(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSchemeSpecificData(byte[], UUID) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the scheme specific data from a PSSH atom.
parseSegmentBase(XmlPullParser, SegmentBase.SingleSegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentList(XmlPullParser, SegmentBase.SegmentList, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentTemplate(XmlPullParser, SegmentBase.SegmentTemplate, List<Descriptor>, long, long, long, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentTimeline(XmlPullParser, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSegmentUrl(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSelectionFlagsFromDashRoleScheme(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSelectionFlagsFromRoleDescriptors(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseServiceDescription(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseSpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a SPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection 7.3.2.1.1.
parseSpsNalUnitPayload(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Parses a SPS NAL unit payload (excluding the NAL unit header) using the syntax defined in ITU-T Recommendation H.264 (2013) subsection 7.3.2.1.1.
parseString(XmlPullParser, String, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseText(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseTimestampUs(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Parses a WebVTT timestamp.
parseTrueHdSyncframeAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Returns the number of audio samples represented by the given TrueHD syncframe, or 0 if the buffer is not the start of a syncframe.
parseTrueHdSyncframeAudioSampleCount(ByteBuffer, int) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
Reads the number of audio samples represented by a TrueHD syncframe.
parseTtmlColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
Parses a TTML color expression.
parseTvaAudioPurposeCsValue(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseUrlTemplate(XmlPullParser, String, UrlTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseUtcTiming(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
 
parseUuid(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the UUID from a PSSH atom.
parseVersion(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
Parses the version from a PSSH atom.
parseXsDateTime(String) - Static method in class com.google.android.exoplayer2.util.Util
Parses an xs:dateTime attribute value, returning the parsed timestamp in milliseconds since the epoch.
parseXsDuration(String) - Static method in class com.google.android.exoplayer2.util.Util
Parses an xs:duration attribute value, returning the parsed duration in milliseconds.
ParsingLoadable<T> - Class in com.google.android.exoplayer2.upstream
A Loader.Loadable for objects that can be parsed from binary data using a ParsingLoadable.Parser.
ParsingLoadable(DataSource, Uri, int, ParsingLoadable.Parser<? extends T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
 
ParsingLoadable(DataSource, DataSpec, int, ParsingLoadable.Parser<? extends T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
 
ParsingLoadable.Parser<T> - Interface in com.google.android.exoplayer2.upstream
Parses an object from loaded data.
Part(String, HlsMediaPlaylist.Segment, long, int, long, DrmInitData, String, String, long, long, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Part
Creates an instance.
partHoldBackUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
The server-recommended live offset in microseconds in low-latency mode, or C.TIME_UNSET if none defined.
parts - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The parts belonging to this segment.
partTargetDurationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The target duration for segment parts, as defined by #EXT-X-PART-INF, or C.TIME_UNSET if undefined.
PassthroughSectionPayloadReader - Class in com.google.android.exoplayer2.extractor.ts
A SectionPayloadReader that directly outputs the section bytes as sample data.
PassthroughSectionPayloadReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.PassthroughSectionPayloadReader
Create a new PassthroughSectionPayloadReader.
pause() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Pauses playback.
pause() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
pause() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
pause() - Method in class com.google.android.exoplayer2.BasePlayer
 
pause() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
pause() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
pause() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
pause() - Method in interface com.google.android.exoplayer2.Player
Pauses playback.
pause() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a pause action.
pauseActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
pauseDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Pauses downloads.
payloadData - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
payloadType - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP CSRC count field (Word 0, bits 9-15).
pcmEncoding - Variable in class com.google.android.exoplayer2.Format
The C.PcmEncoding for PCM audio.
peakBitrate - Variable in class com.google.android.exoplayer2.Format
The peak bitrate in bits per second, or Format.NO_VALUE if unknown or not applicable.
peakBitrate - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
The peak bitrate as declared by the BANDWIDTH attribute of the EXT-X-STREAM-INF tag.
peek(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
peek(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Peeks up to length bytes from the peek position.
peek(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
peek(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
peekChar() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Peeks at the next char.
peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
peekFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
peekFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.peek(byte[], int, int), but peeks the requested length in full.
peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
peekFullyQuietly(ExtractorInput, byte[], int, int, boolean) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
Peeks data from input, respecting allowEndOfInput.
peekId3Data(ExtractorInput, Id3Decoder.FramePredicate) - Method in class com.google.android.exoplayer2.extractor.Id3Peeker
Peeks ID3 data from the input and parses the first ID3 tag.
peekId3Metadata(ExtractorInput, boolean) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Peeks ID3 Data.
peekSourceId() - Method in class com.google.android.exoplayer2.source.SampleQueue
Peeks the source id of the next sample to be read, or the current upstream source id if the queue is empty or if the read position is at the end of the queue.
peekToLength(ExtractorInput, byte[], int, int) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
Peeks length bytes from the input peek position, or all the bytes to the end of the input if there was less than length bytes left.
peekUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Peeks at the next byte as an unsigned value.
PERCENTAGE_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown percentage.
PercentageRating - Class in com.google.android.exoplayer2
A rating expressed as a percentage.
PercentageRating() - Constructor for class com.google.android.exoplayer2.PercentageRating
Creates a unrated instance.
PercentageRating(float) - Constructor for class com.google.android.exoplayer2.PercentageRating
Creates a rated instance with the given percentage.
percentDownloaded - Variable in class com.google.android.exoplayer2.offline.DownloadProgress
The percentage that has been downloaded, or C.PERCENTAGE_UNSET if unknown.
performAccessibilityAction(int, Bundle) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
performClick() - Method in class com.google.android.exoplayer2.ui.PlayerView
 
performClick() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
Period - Class in com.google.android.exoplayer2.source.dash.manifest
Encapsulates media content components over a contiguous period of time.
Period() - Constructor for class com.google.android.exoplayer2.Timeline.Period
Creates a new instance with no ad playback state.
Period(String, long, List<AdaptationSet>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
 
Period(String, long, List<AdaptationSet>, List<EventStream>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
 
Period(String, long, List<AdaptationSet>, List<EventStream>, Descriptor) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
 
periodCount - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
periodIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
The period index.
periodIndex - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The period index.
periodUid - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The UID of the period, or null if the timeline is empty.
periodUid - Variable in class com.google.android.exoplayer2.source.MediaPeriodId
The unique id of the timeline period.
perSampleIvSize - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
The initialization vector size in bytes for the samples in the corresponding sample group.
PesReader - Class in com.google.android.exoplayer2.extractor.ts
Parses PES packet data and extracts samples.
PesReader(ElementaryStreamReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.PesReader
 
PgsDecoder - Class in com.google.android.exoplayer2.text.pgs
A SimpleSubtitleDecoder for PGS subtitles.
PgsDecoder() - Constructor for class com.google.android.exoplayer2.text.pgs.PgsDecoder
 
photoPresentationTimestampUs - Variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
The presentation timestamp of the photo, in microseconds, or C.TIME_UNSET if unknown.
photoSize - Variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
The size of the photo data, in bytes.
photoStartPosition - Variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
The start offset of the photo data, in bytes.
picOrderCntLsbLength - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
picOrderCountType - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
picParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
PICTURE_TYPE_A_BRIGHT_COLORED_FISH - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_ARTIST_PERFORMER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_BACK_COVER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_BAND_ARTIST_LOGO - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_BAND_ORCHESTRA - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_COMPOSER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_CONDUCTOR - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_DURING_PERFORMANCE - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_DURING_RECORDING - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_FILE_ICON - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_FILE_ICON_OTHER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_FRONT_COVER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_ILLUSTRATION - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_LEAD_ARTIST_PERFORMER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_LEAFLET_PAGE - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_LYRICIST - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_MEDIA - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_OTHER - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_PUBLISHER_STUDIO_LOGO - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
PICTURE_TYPE_RECORDING_LOCATION - Static variable in class com.google.android.exoplayer2.MediaMetadata
 
pictureData - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The encoded picture data.
pictureData - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
PictureFrame - Class in com.google.android.exoplayer2.metadata.flac
A picture parsed from a FLAC file.
PictureFrame(int, String, String, int, int, int, int, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
pictureType - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The type of the picture.
pictureType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
pitch - Variable in class com.google.android.exoplayer2.PlaybackParameters
The factor by which pitch will be shifted.
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.Format
The width to height ratio of pixels in the video, or 1.0 if unknown or not applicable.
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.video.AvcConfig
The pixel width to height ratio.
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.video.HevcConfig
The pixel width to height ratio.
pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.video.VideoSize
The width to height ratio of each pixel, 1 if unknown.
PLACEHOLDER - Static variable in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Placeholder ExtractorOutput implementation throwing an UnsupportedOperationException in each method.
PlaceholderTimeline(MediaItem) - Constructor for class com.google.android.exoplayer2.source.MaskingMediaSource.PlaceholderTimeline
Creates a new instance with the given media item.
PlatformScheduler - Class in com.google.android.exoplayer2.scheduler
A Scheduler that uses JobScheduler.
PlatformScheduler(Context, int) - Constructor for class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
PlatformScheduler.PlatformSchedulerService - Class in com.google.android.exoplayer2.scheduler
A JobService that starts the target service if the requirements are met.
PlatformSchedulerService() - Constructor for class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
 
play() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Starts or resumes consuming audio if initialized.
play() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
play() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
play() - Method in class com.google.android.exoplayer2.BasePlayer
 
play() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
play() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
play() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
play() - Method in interface com.google.android.exoplayer2.Player
Resumes playback as soon as Player.getPlaybackState() == Player.STATE_READY.
play() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a play action.
PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY - Static variable in interface com.google.android.exoplayer2.Player
Playback has been paused to avoid becoming noisy.
PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS - Static variable in interface com.google.android.exoplayer2.Player
Playback has been paused because of a loss of audio focus.
PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM - Static variable in interface com.google.android.exoplayer2.Player
Playback has been paused at the end of a media item.
PLAY_WHEN_READY_CHANGE_REASON_REMOTE - Static variable in interface com.google.android.exoplayer2.Player
Playback has been started or paused because of a remote change.
PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST - Static variable in interface com.google.android.exoplayer2.Player
Playback has been started or paused by a call to Player.setPlayWhenReady(boolean).
playActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED - Static variable in class com.google.android.exoplayer2.C
See AudioManager#PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED
PLAYBACK_OFFLOAD_NOT_SUPPORTED - Static variable in class com.google.android.exoplayer2.C
See AudioManager#PLAYBACK_OFFLOAD_NOT_SUPPORTED
PLAYBACK_OFFLOAD_SUPPORTED - Static variable in class com.google.android.exoplayer2.C
See AudioManager#PLAYBACK_OFFLOAD_SUPPORTED
PLAYBACK_STATE_ABANDONED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is abandoned before reaching the end of the media.
PLAYBACK_STATE_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is buffering to resume active playback.
PLAYBACK_STATE_ENDED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback has reached the end of the media.
PLAYBACK_STATE_FAILED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is stopped due a fatal error and can be retried.
PLAYBACK_STATE_INTERRUPTED_BY_AD - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is interrupted by an ad.
PLAYBACK_STATE_JOINING_BACKGROUND - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is buffering in the background for initial playback start.
PLAYBACK_STATE_JOINING_FOREGROUND - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is buffering in the foreground for initial playback start.
PLAYBACK_STATE_NOT_STARTED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback has not started (initial state).
PLAYBACK_STATE_PAUSED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is paused but ready to play.
PLAYBACK_STATE_PAUSED_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is buffering while paused.
PLAYBACK_STATE_PLAYING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is actively playing.
PLAYBACK_STATE_SEEKING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is handling a seek.
PLAYBACK_STATE_STOPPED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is stopped and can be restarted.
PLAYBACK_STATE_SUPPRESSED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is suppressed (e.g.
PLAYBACK_STATE_SUPPRESSED_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
Playback is suppressed (e.g.
PLAYBACK_SUPPRESSION_REASON_NONE - Static variable in interface com.google.android.exoplayer2.Player
Playback is not suppressed.
PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS - Static variable in interface com.google.android.exoplayer2.Player
Playback is suppressed due to transient audio focus loss.
PLAYBACK_TYPE_LOCAL - Static variable in class com.google.android.exoplayer2.DeviceInfo
Playback happens on the local device (e.g.
PLAYBACK_TYPE_REMOTE - Static variable in class com.google.android.exoplayer2.DeviceInfo
Playback happens outside of the device (e.g.
playbackCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of individual playbacks for which these stats were collected.
PlaybackException - Exception in com.google.android.exoplayer2
Thrown when a non locally recoverable playback failure occurs.
PlaybackException(Bundle) - Constructor for exception com.google.android.exoplayer2.PlaybackException
Creates a new instance using the fields obtained from the given Bundle.
PlaybackException(String, Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.PlaybackException
Creates an instance.
PlaybackException(String, Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int, long) - Constructor for exception com.google.android.exoplayer2.PlaybackException
Creates a new instance using the given values.
PlaybackException.ErrorCode - Annotation Type in com.google.android.exoplayer2
Codes that identify causes of player errors.
PlaybackException.FieldNumber - Annotation Type in com.google.android.exoplayer2
Identifiers for fields in a Bundle which represents a playback exception.
PlaybackOutput - Class in com.google.android.exoplayer2.robolectric
Class to capture output from a playback test.
PlaybackParameters - Class in com.google.android.exoplayer2
Parameters that apply to playback, including speed setting.
PlaybackParameters(float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
Creates new playback parameters that set the playback speed.
PlaybackParameters(float, float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
Creates new playback parameters that set the playback speed/pitch.
playbackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
Equivalent to TimeSignalCommand.ptsTime but in the playback timebase.
playbackProperties - Variable in class com.google.android.exoplayer2.MediaItem
Deprecated.
PlaybackSessionManager - Interface in com.google.android.exoplayer2.analytics
Manager for active playback sessions.
PlaybackSessionManager.Listener - Interface in com.google.android.exoplayer2.analytics
A listener for session updates.
playbackState - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats.EventTimeAndPlaybackState
The playback state that became active.
playbackStateHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The playback state history as EventTimeAndPlaybackStates ordered by EventTime.realTimeMs.
PlaybackStats - Class in com.google.android.exoplayer2.analytics
Statistics about playbacks.
PlaybackStats.EventTimeAndException - Class in com.google.android.exoplayer2.analytics
Stores an exception with the event time at which it occurred.
PlaybackStats.EventTimeAndFormat - Class in com.google.android.exoplayer2.analytics
Stores a format with the event time at which it started being used, or null to indicate that no format was used.
PlaybackStats.EventTimeAndPlaybackState - Class in com.google.android.exoplayer2.analytics
Stores a playback state with the event time at which it became active.
PlaybackStatsListener - Class in com.google.android.exoplayer2.analytics
AnalyticsListener to gather PlaybackStats from the player.
PlaybackStatsListener(boolean, PlaybackStatsListener.Callback) - Constructor for class com.google.android.exoplayer2.analytics.PlaybackStatsListener
Creates listener for playback stats.
PlaybackStatsListener.Callback - Interface in com.google.android.exoplayer2.analytics
A listener for PlaybackStats updates.
playbackType - Variable in class com.google.android.exoplayer2.DeviceInfo
The type of playback.
playClearContentWithoutKey - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Whether clear samples within protected content should be played when keys for the encrypted part of the content have yet to be loaded.
playClearSamplesWithoutKeys() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns whether this session allows playback of clear samples prior to keys being loaded.
playClearSamplesWithoutKeys() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
Player - Interface in com.google.android.exoplayer2
A media player interface defining traditional high-level functionality, such as the ability to play, pause, seek and query properties of the currently playing media.
Player.Command - Annotation Type in com.google.android.exoplayer2
Commands that can be executed on a Player.
Player.Commands - Class in com.google.android.exoplayer2
A set of commands.
Player.Commands.Builder - Class in com.google.android.exoplayer2
A builder for Player.Commands instances.
Player.DiscontinuityReason - Annotation Type in com.google.android.exoplayer2
Reasons for position discontinuities.
Player.Event - Annotation Type in com.google.android.exoplayer2
Events that can be reported via Player.Listener.onEvents(Player, Events).
Player.EventListener - Interface in com.google.android.exoplayer2
Deprecated.
Player.Events - Class in com.google.android.exoplayer2
A set of events.
Player.Listener - Interface in com.google.android.exoplayer2
Listener of all changes in the Player.
Player.MediaItemTransitionReason - Annotation Type in com.google.android.exoplayer2
Reasons for media item transitions.
Player.PlaybackSuppressionReason - Annotation Type in com.google.android.exoplayer2
Reason why playback is suppressed even though Player.getPlayWhenReady() is true.
Player.PlayWhenReadyChangeReason - Annotation Type in com.google.android.exoplayer2
Reasons for playWhenReady changes.
Player.PositionInfo - Class in com.google.android.exoplayer2
Position info describing a playback position involved in a discontinuity.
Player.RepeatMode - Annotation Type in com.google.android.exoplayer2
Repeat modes for playback.
Player.State - Annotation Type in com.google.android.exoplayer2
Playback state.
Player.TimelineChangeReason - Annotation Type in com.google.android.exoplayer2
Reasons for timeline changes.
PlayerControlView - Class in com.google.android.exoplayer2.ui
A view for controlling Player instances.
PlayerControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
 
PlayerControlView.ProgressUpdateListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified when progress has been updated.
PlayerControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified about changes of the visibility of the UI control.
PlayerEmsgHandler - Class in com.google.android.exoplayer2.source.dash
Handles all emsg messages from all media tracks for the player.
PlayerEmsgHandler(DashManifest, PlayerEmsgHandler.PlayerEmsgCallback, Allocator) - Constructor for class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
 
PlayerEmsgHandler.PlayerEmsgCallback - Interface in com.google.android.exoplayer2.source.dash
Callbacks for player emsg events encountered during DASH live stream.
PlayerEmsgHandler.PlayerTrackEmsgHandler - Class in com.google.android.exoplayer2.source.dash
Handles emsg messages for a specific track for the player.
PlayerMessage - Class in com.google.android.exoplayer2
Defines a player message which can be sent with a PlayerMessage.Sender and received by a PlayerMessage.Target.
PlayerMessage(PlayerMessage.Sender, PlayerMessage.Target, Timeline, int, Clock, Looper) - Constructor for class com.google.android.exoplayer2.PlayerMessage
Creates a new message.
PlayerMessage.Sender - Interface in com.google.android.exoplayer2
A sender for messages.
PlayerMessage.Target - Interface in com.google.android.exoplayer2
A target for messages.
PlayerNotificationManager - Class in com.google.android.exoplayer2.ui
Starts, updates and cancels a media style notification reflecting the player state.
PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener, PlayerNotificationManager.CustomActionReceiver, int, int, int, int, int, int, int, int, String) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
 
PlayerNotificationManager.BitmapCallback - Class in com.google.android.exoplayer2.ui
Receives a Bitmap.
PlayerNotificationManager.Builder - Class in com.google.android.exoplayer2.ui
A builder for PlayerNotificationManager instances.
PlayerNotificationManager.CustomActionReceiver - Interface in com.google.android.exoplayer2.ui
Defines and handles custom actions.
PlayerNotificationManager.MediaDescriptionAdapter - Interface in com.google.android.exoplayer2.ui
An adapter to provide content assets of the media currently playing.
PlayerNotificationManager.NotificationListener - Interface in com.google.android.exoplayer2.ui
A listener for changes to the notification.
PlayerNotificationManager.Priority - Annotation Type in com.google.android.exoplayer2.ui
Priority of the notification (required for API 25 and lower).
PlayerNotificationManager.Visibility - Annotation Type in com.google.android.exoplayer2.ui
Visibility of notification on the lock screen.
PlayerRunnable() - Constructor for class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
 
PlayerTarget() - Constructor for class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget
 
PlayerView - Class in com.google.android.exoplayer2.ui
A high level view for Player media playbacks.
PlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
 
PlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
 
PlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
 
PlayerView.ShowBuffering - Annotation Type in com.google.android.exoplayer2.ui
Determines when the buffering view is shown.
PLAYLIST_TYPE_EVENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_VOD - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PlaylistResetException(Uri) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
Creates an instance.
PlaylistStuckException(Uri) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistStuckException
Creates an instance.
playlistType - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The type of the playlist.
playlistUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.RenditionReport
The URI of the media playlist of the reported rendition.
PLAYREADY_CUSTOM_DATA_KEY - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
A key for specifying PlayReady custom data in the key request parameters passed to DefaultDrmSessionManager.Builder.setKeyRequestParameters(Map).
PLAYREADY_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the PlayReady DRM scheme.
playToEndOfStream() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Processes any remaining data.
playToEndOfStream() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
playToEndOfStream() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
playUntilPosition(int, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a play action, waits until the player reaches the specified position, and pauses the player again.
playUntilPosition(ExoPlayer, int, long) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Calls Player.play(), runs tasks of the main Looper until the player reaches the specified position or a playback error occurs, and then pauses the player.
PlayUntilPosition(String, int, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.PlayUntilPosition
 
playUntilStartOfMediaItem(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a play action, waits until the player reaches the start of the specified media item, and pauses the player again.
playUntilStartOfMediaItem(ExoPlayer, int) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Calls Player.play(), runs tasks of the main Looper until the player reaches the specified media item or a playback error occurs, and then pauses the player.
pointOffsets - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata.SeekTable
Seek points byte offsets from the first frame.
pointSampleNumbers - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata.SeekTable
Seek points sample numbers.
poll(long) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Returns the value with the closest timestamp to the given timestamp.
pollFirst() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Removes and returns the first value in the queue, or null if the queue is empty.
pollFloor(long) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Returns the value with the greatest timestamp which is less than or equal to the given timestamp.
populate(MediaMetadata) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Populates all the fields from mediaMetadata, provided they are non-null.
populateFromMetadata(Metadata) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets all fields supported by the entries within the Metadata.
populateFromMetadata(List<Metadata>) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets all fields supported by the entries within the list of Metadata.
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
populateMediaMetadata(MediaMetadata.Builder) - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
populateMediaMetadata(MediaMetadata.Builder) - Method in interface com.google.android.exoplayer2.metadata.Metadata.Entry
Updates the MediaMetadata.Builder with the type specific values stored in this Entry.
position - Variable in class com.google.android.exoplayer2.extractor.PositionHolder
The held position.
position - Variable in class com.google.android.exoplayer2.extractor.SeekPoint
The byte offset of the seek point.
position - Variable in class com.google.android.exoplayer2.text.Cue
The fractional position of the Cue.positionAnchor of the cue box within the viewport in the direction orthogonal to Cue.line, or Cue.DIMEN_UNSET.
position - Variable in class com.google.android.exoplayer2.text.span.RubySpan
The position of the ruby text relative to the base text.
position - Variable in class com.google.android.exoplayer2.text.span.TextEmphasisSpan
The position of the text emphasis relative to the base text.
position - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
The position of the CacheSpan in the resource.
position - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The position of the data when read from DataSpec.uri.
POSITION_AFTER - Static variable in class com.google.android.exoplayer2.text.span.TextAnnotation
For horizontal text, the text annotation should be positioned below the base text.
POSITION_BEFORE - Static variable in class com.google.android.exoplayer2.text.span.TextAnnotation
For horizontal text, the text annotation should be positioned above the base text.
POSITION_OUT_OF_RANGE - Static variable in exception com.google.android.exoplayer2.upstream.DataSourceException
POSITION_UNKNOWN - Static variable in class com.google.android.exoplayer2.text.span.TextAnnotation
The text annotation position is unknown.
POSITION_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown position.
positionAdvancing(long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
positionAnchor - Variable in class com.google.android.exoplayer2.text.Cue
The cue box anchor positioned by Cue.position.
PositionHolder - Class in com.google.android.exoplayer2.extractor
Holds a position in the stream.
PositionHolder() - Constructor for class com.google.android.exoplayer2.extractor.PositionHolder
 
positionInFirstPeriodUs - Variable in class com.google.android.exoplayer2.Timeline.Window
The position of the start of this window relative to the start of the first period belonging to it, in microseconds.
PositionInfo(Object, int, MediaItem, Object, int, long, long, int, int) - Constructor for class com.google.android.exoplayer2.Player.PositionInfo
Creates an instance.
PositionInfo(Object, int, Object, int, long, long, int, int) - Constructor for class com.google.android.exoplayer2.Player.PositionInfo
positionInWindowUs - Variable in class com.google.android.exoplayer2.Timeline.Period
The position of the start of this period relative to the start of the window to which it belongs, in microseconds.
positionMs - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The seek position in the specified window.
positionMs - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The playback position, in milliseconds.
positionResetCount - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
 
post(Runnable) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
postAtFrontOfQueue(Runnable) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
postDelayed(Runnable, long) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
postOrRun(Handler, Runnable) - Static method in class com.google.android.exoplayer2.util.Util
Posts the Runnable if the calling thread differs with the Looper of the Handler.
PpsData(int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
preacquireSession(Looper, DrmSessionEventListener.EventDispatcher, Format) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
preacquireSession(Looper, DrmSessionEventListener.EventDispatcher, Format) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Pre-acquires a DRM session for the specified Format.
preciseStart - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the start position should be precise, as defined by #EXT-X-START.
preferredAudioLanguages - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The preferred languages for audio and forced text tracks as IETF BCP 47 conformant tags in order of preference.
preferredAudioMimeTypes - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The preferred sample MIME types for audio tracks in order of preference, or an empty list for no preference.
preferredAudioRoleFlags - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The preferred C.RoleFlags for audio tracks.
preferredTextLanguages - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The preferred languages for text tracks as IETF BCP 47 conformant tags in order of preference.
preferredTextRoleFlags - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The preferred C.RoleFlags for text tracks.
preferredVideoMimeTypes - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
The preferred sample MIME types for video tracks in order of preference, or an empty list for no preference.
prepare() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
prepare() - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Acquires any required resources.
prepare() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
prepare() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
prepare() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
prepare() - Method in interface com.google.android.exoplayer2.Player
Prepares the player.
prepare() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
prepare() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a prepare action to be executed.
prepare() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
prepare(DownloadHelper.Callback) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Initializes the helper for starting a download.
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Prepares this media period asynchronously.
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
prepare(MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
prepare(MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
prepare(MediaSource) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
prepare(MediaSource, boolean, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
prepare(MediaSource, boolean, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
prepare(MediaSource, boolean, boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
Prepare(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.Prepare
 
prepareChildSource(T, MediaSource) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Prepares a child source.
preparePeriod(MediaPeriod, long) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaPeriod.prepare(MediaPeriod.Callback, long) on the playback thread and blocks until the method has been called.
prepareSource() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Prepares the source on the playback thread, asserting that it provides an initial timeline.
prepareSource(MediaSource.MediaSourceCaller, TransferListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
prepareSource(MediaSource.MediaSourceCaller, TransferListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Starts source preparation and enables the source, see BaseMediaSource.prepareSource(MediaSourceCaller, TransferListener).
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
preRelease() - Method in class com.google.android.exoplayer2.source.SampleQueue
Calls SampleQueue.discardToEnd() and releases any resources owned by the queue.
presentationStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The start time of the presentation to which this window belongs in milliseconds since the Unix epoch, or C.TIME_UNSET if unknown or not applicable.
presentationTimeOffsetUs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
The offset of the presentation timestamps in the media stream relative to media time.
presentationTimesUs - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
Presentation time of the events in microsecond, sorted in ascending order.
previous() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
previous() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
previous() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
PREVIOUS_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
Parameters for seeking to the sync point immediately before a requested seek position.
previousActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
primaryTrackType - Variable in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
priority - Variable in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
The priority.
PRIORITY_DOWNLOAD - Static variable in class com.google.android.exoplayer2.C
Priority for media downloading.
PRIORITY_PLAYBACK - Static variable in class com.google.android.exoplayer2.C
Priority for media playback.
PriorityDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource that can be used as part of a task registered with a PriorityTaskManager.
PriorityDataSource(DataSource, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSource
 
PriorityDataSource.Factory - Class in com.google.android.exoplayer2.upstream
PriorityDataSourceFactory - Class in com.google.android.exoplayer2.upstream
Deprecated.
PriorityDataSourceFactory(DataSource.Factory, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
Deprecated.
 
PriorityTaskManager - Class in com.google.android.exoplayer2.util
Allows tasks with associated priorities to control how they proceed relative to one another.
PriorityTaskManager() - Constructor for class com.google.android.exoplayer2.util.PriorityTaskManager
 
PriorityTaskManager.PriorityTooLowException - Exception in com.google.android.exoplayer2.util
Thrown when task attempts to proceed when another registered task has a higher priority.
PriorityTooLowException(int, int) - Constructor for exception com.google.android.exoplayer2.util.PriorityTaskManager.PriorityTooLowException
 
PRIVATE_STREAM_1 - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
PrivateCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a private command as defined in SCTE35, Section 9.3.6.
privateData - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
PrivFrame - Class in com.google.android.exoplayer2.metadata.id3
PRIV (Private) ID3 frame.
PrivFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
proceed(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Blocks until the task is allowed to proceed.
proceedNonBlocking(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
A non-blocking variant of PriorityTaskManager.proceed(int).
proceedOrThrow(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
A throwing variant of PriorityTaskManager.proceed(int).
process(ByteBuffer, ByteBuffer) - Method in class com.google.android.exoplayer2.robolectric.RandomizedMp3Decoder
 
processOutputBuffer(long, long, MediaCodecAdapter, ByteBuffer, int, int, int, long, boolean, boolean, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
processOutputBuffer(long, long, MediaCodecAdapter, ByteBuffer, int, int, int, long, boolean, boolean, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Processes an output media buffer.
processOutputBuffer(long, long, MediaCodecAdapter, ByteBuffer, int, int, int, long, boolean, boolean, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
profile - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
The profile number.
profileIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
Program(Context, String, String) - Constructor for class com.google.android.exoplayer2.util.GlUtil.Program
Compiles a GL shader program from vertex and fragment shader GLSL GLES20 code.
Program(String[], String[]) - Constructor for class com.google.android.exoplayer2.util.GlUtil.Program
Compiles a GL shader program from vertex and fragment shader GLSL GLES20 code.
Program(String, String) - Constructor for class com.google.android.exoplayer2.util.GlUtil.Program
Compiles a GL shader program from vertex and fragment shader GLSL GLES20 code.
programInformation - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The ProgramInformation, or null if not present.
ProgramInformation - Class in com.google.android.exoplayer2.source.dash.manifest
A parsed program information element.
ProgramInformation(String, String, String, String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
 
programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
programSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Equivalent to SpliceInsertCommand.programSplicePts but in the playback timebase.
programSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
If SpliceInsertCommand.programSpliceFlag is true, the PTS at which the program splice should occur.
progress - Variable in class com.google.android.exoplayer2.transformer.ProgressHolder
The held progress, expressed as an integer percentage.
PROGRESS_STATE_AVAILABLE - Static variable in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Indicates that the progress is available.
PROGRESS_STATE_AVAILABLE - Static variable in class com.google.android.exoplayer2.transformer.Transformer
Indicates that the progress is available.
PROGRESS_STATE_NO_TRANSFORMATION - Static variable in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Indicates that there is no current transformation.
PROGRESS_STATE_NO_TRANSFORMATION - Static variable in class com.google.android.exoplayer2.transformer.Transformer
Indicates that there is no current transformation.
PROGRESS_STATE_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Indicates that the progress is permanently unavailable for the current transformation.
PROGRESS_STATE_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.transformer.Transformer
Indicates that the progress is permanently unavailable for the current transformation.
PROGRESS_STATE_WAITING_FOR_AVAILABILITY - Static variable in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Indicates that the progress is unavailable for the current transformation, but might become available.
PROGRESS_STATE_WAITING_FOR_AVAILABILITY - Static variable in class com.google.android.exoplayer2.transformer.Transformer
Indicates that the progress is unavailable for the current transformation, but might become available.
ProgressHolder - Class in com.google.android.exoplayer2.transformer
Holds a progress percentage.
ProgressHolder() - Constructor for class com.google.android.exoplayer2.transformer.ProgressHolder
 
ProgressiveDownloader - Class in com.google.android.exoplayer2.offline
A downloader for progressive media streams.
ProgressiveDownloader(MediaItem, CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloader
Creates a new instance.
ProgressiveDownloader(MediaItem, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloader
Creates a new instance.
ProgressiveMediaExtractor - Interface in com.google.android.exoplayer2.source
Extracts the contents of a container file from a progressive media stream.
ProgressiveMediaExtractor.Factory - Interface in com.google.android.exoplayer2.source
Creates ProgressiveMediaExtractor instances.
ProgressiveMediaSource - Class in com.google.android.exoplayer2.source
Provides one period that loads data from a Uri and extracted using an Extractor.
ProgressiveMediaSource.Factory - Class in com.google.android.exoplayer2.source
PROJECTION_CUBEMAP - Static variable in class com.google.android.exoplayer2.C
Cube map projection.
PROJECTION_EQUIRECTANGULAR - Static variable in class com.google.android.exoplayer2.C
Equirectangular spherical projection.
PROJECTION_MESH - Static variable in class com.google.android.exoplayer2.C
3-D mesh projection.
PROJECTION_RECTANGULAR - Static variable in class com.google.android.exoplayer2.C
Conventional rectangular projection.
projectionData - Variable in class com.google.android.exoplayer2.Format
The projection data for 360/VR video, or null if not applicable.
PROPERTY_LICENSE_DURATION_REMAINING - Static variable in class com.google.android.exoplayer2.drm.WidevineUtil
Widevine specific key status field name for the remaining license duration, in seconds.
PROPERTY_PLAYBACK_DURATION_REMAINING - Static variable in class com.google.android.exoplayer2.drm.WidevineUtil
Widevine specific key status field name for the remaining playback duration, in seconds.
protectionElement - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
Content protection information, or null if the content is not protected.
ProtectionElement(UUID, byte[], TrackEncryptionBox[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
protectionSchemes - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Contains the CDM protection schemes used by segments in this playlist.
provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
provideKeyResponse(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
provideProvisionResponse(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Provides a provisioning response for the last request to be generated using ExoMediaDrm.getProvisionRequest().
provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
ProvisionRequest(byte[], String) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
Creates an instance.
PS - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the MPEG-PS format.
PsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from the MPEG-2 PS container format.
PsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
PsExtractor(TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
PsshAtomUtil - Class in com.google.android.exoplayer2.extractor.mp4
Utility methods for handling PSSH atoms.
ptsAdjustment - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
The pts_adjustment as defined in SCTE35, Section 9.2.
ptsTime - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
A PTS value, as defined in SCTE35, Section 9.3.4.
ptsToUs(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
Converts a 90 kHz clock timestamp to a timestamp in microseconds.
publishTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The publishTime value in milliseconds since epoch, or C.TIME_UNSET if not present.
purpose - Variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
The purpose of the overlay view.
PURPOSE_CLOSE_AD - Static variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
Purpose for ad close buttons overlaying the player.
PURPOSE_CONTROLS - Static variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
Purpose for playback controls overlaying the player.
PURPOSE_NOT_VISIBLE - Static variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
Purpose for overlays that are not visible.
PURPOSE_OTHER - Static variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
Purpose for other overlays.
putBinder(Bundle, String, IBinder) - Static method in class com.google.android.exoplayer2.util.BundleUtil
Puts an IBinder inside a Bundle for all Android versions.
putDownload(Download) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
putDownload(Download) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
Adds or replaces a Download.
putInt(int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Overwrites numBits from this array using the numBits least significant bits from value.

Q

query(Uri, String[], String, String[], String) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
queryKeyStatus() - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns a map describing the key status for the session, or null if called before the session has been opened or after it's been released.
queryKeyStatus() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
queryKeyStatus(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
queryKeyStatus(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Returns the key status for a given session, as {name, value} pairs.
queryKeyStatus(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
queryKeyStatus(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
queueEndOfStream() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Queues an end of stream signal.
queueEndOfStream() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
queueEndOfStream() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
queueEvent(int, ListenerSet.Event<T>) - Method in class com.google.android.exoplayer2.util.ListenerSet
Adds an event that is sent to the listeners when ListenerSet.flushEvents() is called.
queueInput(ByteBuffer) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Queues audio data between the position and limit of the input buffer for processing.
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
 
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
queueInput(ByteBuffer) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
 
queueInputBuffer(int, int, int, long, int) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Submit an input buffer for decoding.
queueInputBuffer(int, int, int, long, int) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
queueInputBuffer(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
queueInputBuffer(I) - Method in interface com.google.android.exoplayer2.decoder.Decoder
Queues an input buffer to the decoder.
queueInputBuffer(I) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
queueSecureInputBuffer(int, int, CryptoInfo, long, int) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Submit an input buffer that is potentially encrypted for decoding.
queueSecureInputBuffer(int, int, CryptoInfo, long, int) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 

R

RandomizedMp3Decoder - Class in com.google.android.exoplayer2.robolectric
Generates randomized, but correct amount of data on MP3 audio input.
RandomizedMp3Decoder() - Constructor for class com.google.android.exoplayer2.robolectric.RandomizedMp3Decoder
 
RandomTrackSelection - Class in com.google.android.exoplayer2.trackselection
An ExoTrackSelection whose selected track is updated randomly.
RandomTrackSelection(TrackGroup, int[], int, Random) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
RandomTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
Factory for RandomTrackSelection instances.
RangedUri - Class in com.google.android.exoplayer2.source.dash.manifest
Defines a range of data located at a reference uri.
RangedUri(String, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Constructs an ranged uri.
RATE_UNSET - Static variable in class com.google.android.exoplayer2.C
Represents an unset or unknown rate.
Rating - Class in com.google.android.exoplayer2
A rating for media content.
RATING_UNSET - Static variable in class com.google.android.exoplayer2.Rating
A float value that denotes the rating is unset.
RAW_RESOURCE_SCHEME - Static variable in class com.google.android.exoplayer2.upstream.RawResourceDataSource
The scheme part of a raw resource URI.
RawCcExtractor - Class in com.google.android.exoplayer2.extractor.rawcc
Extracts data from the RawCC container format.
RawCcExtractor(Format) - Constructor for class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
rawMetadata - Variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
The complete metadata bytes used to construct this IcyInfo.
RawResourceDataSource - Class in com.google.android.exoplayer2.upstream
A DataSource for reading a raw resource inside the APK.
RawResourceDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
RawResourceDataSource.RawResourceDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an IOException is encountered reading from a raw resource.
RawResourceDataSourceException(String) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
RawResourceDataSourceException(String, Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
Creates a new instance.
RawResourceDataSourceException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
read() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
read(byte[]) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
read(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Reads up to length bytes from the input and resets the peek position.
read(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
 
read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.DataReader
Reads up to length bytes of data from the input.
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
 
read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
 
read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
 
read(ExtractorInput) - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
read(ExtractorInput) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor
Reads from the given ExtractorInput.
read(ExtractorInput) - Method in class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
 
read(ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
 
read(ExtractorInput) - Method in interface com.google.android.exoplayer2.source.hls.HlsMediaChunkExtractor
Extracts data read from a provided ExtractorInput.
read(ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
read(ExtractorInput, PositionHolder) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Extracts data read from a provided ExtractorInput.
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.jpeg.JpegExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.text.SubtitleExtractor
 
read(PositionHolder) - Method in class com.google.android.exoplayer2.source.BundledExtractorsAdapter
 
read(PositionHolder) - Method in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
read(PositionHolder) - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor
Extracts data starting at the current input stream position.
read(FormatHolder, DecoderInputBuffer, int, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Attempts to read from the queue.
read(ByteBuffer) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Reads up to buffer.remaining() bytes of data and stores them into buffer, starting at buffer.position().
readBit() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Reads a single bit.
readBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads a single bit.
readBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads a single bit.
readBits(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads numBits bits into buffer.
readBits(int) - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Reads up to 32 bits.
readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads up to 32 bits.
readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads up to 32 bits.
readBitsToLong(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads up to 64 bits.
readBoolean(Parcel) - Static method in class com.google.android.exoplayer2.util.Util
Reads an integer from a Parcel and interprets it as a boolean, with 0 mapping to false and all other values mapping to true.
readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads the next length bytes into buffer.
readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes into buffer at offset.
readBytes(ParsableBitArray, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes into bitArray, and resets the position of bitArray to zero.
readBytes(ByteBuffer, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes into buffer.
readBytesAsString(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads the next length bytes as a UTF-8 string.
readBytesAsString(int, Charset) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Reads the next length bytes as a string encoded in Charset.
readData(FormatHolder, DecoderInputBuffer, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
readData(FormatHolder, DecoderInputBuffer, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
readData(FormatHolder, DecoderInputBuffer, int) - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
readData(FormatHolder, DecoderInputBuffer, int) - Method in interface com.google.android.exoplayer2.source.SampleStream
Attempts to read from the stream.
readData(FormatHolder, DecoderInputBuffer, int) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
 
readDelimiterTerminatedString(char) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads up to the next delimiter byte (or the limit) as UTF-8 characters.
readDiscontinuity() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
readDiscontinuity() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
readDiscontinuity() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
readDiscontinuity() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to read a discontinuity.
readDiscontinuity() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
readDiscontinuity() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
readDouble() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as a 64-bit floating point value.
readExactly(DataSource, int) - Static method in class com.google.android.exoplayer2.upstream.DataSourceUtil
Reads length bytes from the specified opened DataSource, and returns a byte array containing the read data.
readFloat() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a 32-bit floating point value.
readFrameBlockSizeSamplesFromKey(ParsableByteArray, int) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
Reads the given block size.
readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
readFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
readFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.read(byte[], int, int), but reads the requested length in full.
readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
readFullyQuietly(ExtractorInput, byte[], int, int) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
Equivalent to ExtractorInput.readFully(byte[], int, int) except that it returns false instead of throwing an EOFException if the end of input is encountered without having fully satisfied the read.
readId3Metadata(ExtractorInput, boolean) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Reads ID3 Data.
readInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a signed value
readInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as a signed value.
readLine() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads a line of text.
readLittleEndianInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a signed value in little endian order.
readLittleEndianInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as a signed value in little endian order.
readLittleEndianLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as a signed value in little endian order.
readLittleEndianShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as a signed value.
readLittleEndianUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as an unsigned value in little endian order.
readLittleEndianUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as an unsigned value in little endian order.
readLittleEndianUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as a little endian unsigned integer into an integer, if the top bit is a zero.
readLittleEndianUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as an unsigned value.
readLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as a signed value.
readMetadataBlock(ExtractorInput, FlacMetadataReader.FlacStreamMetadataHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Reads one FLAC metadata block.
readNullTerminatedString() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads up to the next NUL byte (or the limit) as UTF-8 characters.
readNullTerminatedString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes as UTF-8 characters.
readPcrFromPacket(ParsableByteArray, int, int) - Static method in class com.google.android.exoplayer2.extractor.ts.TsUtil
Returns the PCR value read from a given TS packet.
readSeekTableMetadataBlock(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Reads a FLAC seek table metadata block.
readShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as a signed value.
readSignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads an signed Exp-Golomb-coded format integer.
readSource(FormatHolder, DecoderInputBuffer, int) - Method in class com.google.android.exoplayer2.BaseRenderer
Reads from the enabled upstream source.
readStreamMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
Reads the FLAC stream marker.
readString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes as UTF-8 characters.
readString(int, Charset) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next length bytes as characters in the specified Charset.
readSynchSafeInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads a Synchsafe integer.
readToEnd(DataSource) - Static method in class com.google.android.exoplayer2.upstream.DataSourceUtil
Reads data from the specified opened DataSource until it ends, and returns a byte array containing the read data.
readUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next byte as an unsigned value.
readUnsignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Reads an unsigned Exp-Golomb-coded format integer.
readUnsignedFixedPoint1616() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes, returning the integer portion of the fixed point 16.16 integer.
readUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as an unsigned value.
readUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next three bytes as an unsigned value.
readUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next four bytes as an unsigned integer into an integer, if the top bit is a zero.
readUnsignedLongToLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next eight bytes as an unsigned long into a long, if the top bit is a zero.
readUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads the next two bytes as an unsigned value.
readUtf8EncodedLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Reads a long value encoded by UTF-8 encoding
readVorbisCommentHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
Reads a Vorbis comment header.
readVorbisCommentHeader(ParsableByteArray, boolean, boolean) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
Reads a Vorbis comment header.
readVorbisIdentificationHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
Reads a Vorbis identification header from headerData.
readVorbisModes(ParsableByteArray, int) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
This method reads the modes which are located at the very end of the Vorbis setup header.
realtimeMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Elapsed real-time as returned by SystemClock.elapsedRealtime() at the time of the event, in milliseconds.
reason - Variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
reason - Variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The reason clipping failed.
reason - Variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
The reason the merge failed.
reason - Variable in exception com.google.android.exoplayer2.upstream.DataSourceException
The reason of this DataSourceException, should be one of the ERROR_CODE_IO_* in PlaybackException.ErrorCode.
REASON_INSTANTIATION_ERROR - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
There device advertises support for the requested DRM scheme, but there was an error instantiating it.
REASON_INVALID_PERIOD_COUNT - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The wrapped source doesn't consist of a single period.
REASON_NOT_SEEKABLE_TO_START - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The wrapped source is not seekable and a non-zero clipping start position was specified.
REASON_PERIOD_COUNT_MISMATCH - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
The sources have different period counts.
REASON_START_EXCEEDS_END - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
The wrapped source ends before the specified clipping start position.
REASON_UNSUPPORTED_SCHEME - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
The requested DRM scheme is unsupported by the device.
reasonDetail - Variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
An optional, detailed reason that the overlay view is needed.
recordingDay - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional day of the recording date.
recordingMonth - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional month of the recording date.
recordingYear - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional year of the recording date.
recreate() - Method in class com.google.android.exoplayer2.source.hls.BundledHlsMediaChunkExtractor
 
recreate() - Method in interface com.google.android.exoplayer2.source.hls.HlsMediaChunkExtractor
Returns a new instance for extracting the same type of media as this one.
recreate() - Method in class com.google.android.exoplayer2.source.hls.MediaParserHlsMediaChunkExtractor
 
recursiveDelete(File) - Static method in class com.google.android.exoplayer2.util.Util
Recursively deletes a directory and its content.
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
reevaluateBuffer(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Re-evaluates the buffer given the playback position.
reevaluateBuffer(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
Re-evaluates the buffer given the playback position.
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
refreshPlaylist(Uri) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
refreshPlaylist(Uri) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Requests a playlist refresh and removes it from the exclusion list.
refreshSourceInfo(Timeline) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
Updates timeline and manifest and notifies all listeners of the update.
register() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
Registers the receiver, meaning it will notify the listener when audio capability changes occur.
register(ExoPlayer, CapturingRenderersFactory) - Static method in class com.google.android.exoplayer2.robolectric.PlaybackOutput
Create an instance that captures the metadata and text output from player and the audio and video output via capturingRenderersFactory.
register(NetworkTypeObserver.Listener) - Method in class com.google.android.exoplayer2.util.NetworkTypeObserver
Registers a listener.
registerCustomCommandReceiver(MediaSessionConnector.CommandReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Registers a custom command receiver for responding to commands delivered via MediaSessionCompat.Callback.onCommand(String, Bundle, ResultReceiver).
registerCustomMimeType(String, String, @com.google.android.exoplayer2.C.TrackType int) - Static method in class com.google.android.exoplayer2.util.MimeTypes
Registers a custom MIME type.
registeredModules() - Static method in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Returns a string consisting of registered module names separated by ", ".
registerModule(String) - Static method in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Registers a module to be returned in the ExoPlayerLibraryInfo.registeredModules() string.
REJECT_PAYWALL_TYPES - Static variable in interface com.google.android.exoplayer2.upstream.HttpDataSource
A Predicate that rejects content types often used for pay-walls.
relativeDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The number of #EXT-X-DISCONTINUITY tags in the playlist before the segment.
relativeStartTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The start time of the segment in microseconds, relative to the start of the playlist.
relativeToDefaultPosition - Variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
relativeToLiveWindow - Variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
Whether the clipping of active media periods moves with a live window.
release() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Releases the collector.
release() - Method in interface com.google.android.exoplayer2.decoder.Decoder
Releases the decoder.
release() - Method in class com.google.android.exoplayer2.decoder.DecoderOutputBuffer
Releases the output buffer for reuse.
release() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
 
release() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
 
release() - Method in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
release() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
 
release() - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager.DrmSessionReference
Releases the underlying session at most once.
release() - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
Releases any acquired resources.
release() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
release() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Decrements the reference count.
release() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
release() - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Releases the helper.
release() - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
release() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
release() - Method in class com.google.android.exoplayer2.ext.flac.FlacDecoder
 
release() - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
 
release() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
release() - Method in class com.google.android.exoplayer2.ext.opus.OpusDecoder
 
release() - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
release() - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
release() - Method in interface com.google.android.exoplayer2.extractor.Extractor
Releases all kept resources.
release() - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.jpeg.JpegExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
release() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
release() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
release() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Releases the adapter and the underlying MediaCodec.
release() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
release() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Releases the helper and all resources it is holding.
release() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Stops the downloads and releases resources.
release() - Method in interface com.google.android.exoplayer2.Player
Releases the player.
release() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
release() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Releases the loader.
release() - Method in class com.google.android.exoplayer2.source.BundledExtractorsAdapter
 
release() - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
release() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor
Releases any held resources.
release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Releases the stream.
release() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Releases any held resources.
release() - Method in class com.google.android.exoplayer2.source.chunk.MediaParserChunkExtractor
 
release() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
release() - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
Release this track emsg handler.
release() - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
Release this emsg handler.
release() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
release() - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
release() - Method in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
release() - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor
Releases any held resources.
release() - Method in class com.google.android.exoplayer2.source.SampleQueue
Calls reset(true) and releases any resources owned by the queue.
release() - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
release() - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
 
release() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
Releases the media period.
release() - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
release() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
release() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Releases the media period.
release() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Release the stream and its underlying sample queue.
release() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Releases the runner.
release() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
release() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
 
release() - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
release() - Method in class com.google.android.exoplayer2.text.SubtitleExtractor
Releases the extractor's resources, including the SubtitleDecoder.
release() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Releases the cache.
release() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
release() - Method in class com.google.android.exoplayer2.upstream.CachedRegionTracker
 
release() - Method in class com.google.android.exoplayer2.upstream.Loader
Releases the loader.
release() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Releases all allocated resources.
release() - Method in class com.google.android.exoplayer2.util.ListenerSet
Releases the set of listeners immediately.
release() - Method in class com.google.android.exoplayer2.video.DummySurface
 
release(DrmSessionEventListener.EventDispatcher) - Method in interface com.google.android.exoplayer2.drm.DrmSession
Decrements the reference count.
release(DrmSessionEventListener.EventDispatcher) - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
release(ChunkSampleStream.ReleaseCallback<T>) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Releases the stream.
release(Allocation) - Method in interface com.google.android.exoplayer2.upstream.Allocator
Releases an Allocation back to the allocator.
release(Allocation) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
release(Allocation[]) - Method in interface com.google.android.exoplayer2.upstream.Allocator
Releases an array of Allocations back to the allocator.
release(Allocation[]) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
release(Loader.ReleaseCallback) - Method in class com.google.android.exoplayer2.upstream.Loader
Releases the loader.
releaseChildSource(T) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
Releases a child source.
releaseCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
releaseCount - Variable in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
releaseDay - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional day of the release date.
releaseDecoder() - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Releases the decoder.
releaseHoleSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Releases a CacheSpan obtained from Cache.startReadWrite(String, long, long) which corresponded to a hole in the cache.
releaseHoleSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
releaseLicense(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Releases an offline license.
releaseMediaPeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaSource
 
releaseMediaPeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
releaseMonth - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional month of the release date.
releaseOutputBuffer(int, boolean) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Returns the buffer to the MediaCodec.
releaseOutputBuffer(int, boolean) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
releaseOutputBuffer(int, long) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Updates the output buffer's surface timestamp and sends it to the MediaCodec to render it on the output surface.
releaseOutputBuffer(int, long) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
releaseOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
 
releaseOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
 
releaseOutputBuffer(O) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Releases an output buffer back to the decoder.
releaseOutputBuffer(S) - Method in interface com.google.android.exoplayer2.decoder.DecoderOutputBuffer.Owner
Releases the buffer.
releasePeriod() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Releases the period.
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
Deprecated.
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
releasePeriod(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaSource
Releases the period.
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaSource.releasePeriod(MediaPeriod) on the playback thread.
releaseSource() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Calls MediaSource.releaseSource(MediaSourceCaller) on the playback thread.
releaseSource(MediaSource.MediaSourceCaller) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
releaseSource(MediaSource.MediaSourceCaller) - Method in interface com.google.android.exoplayer2.source.MediaSource
Unregisters a caller, and disables and releases the source if no longer required.
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
 
releaseYear - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional year of the release date.
RemotableTimeline(ImmutableList<Timeline.Window>, ImmutableList<Timeline.Period>, int[]) - Constructor for class com.google.android.exoplayer2.Timeline.RemotableTimeline
 
remove() - Method in interface com.google.android.exoplayer2.offline.Downloader
Removes the content.
remove() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
 
remove() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
 
remove(@com.google.android.exoplayer2.Player.Command int) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Removes a Player.Command.
remove(int) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
Removes the item at the given position.
remove(int) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Removes a flag.
remove(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
Unregister a task.
remove(E) - Method in class com.google.android.exoplayer2.util.CopyOnWriteMultiset
Removes element from the multiset.
remove(String) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to remove a metadata value.
remove(String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Removes a request property by name.
remove(T) - Method in class com.google.android.exoplayer2.util.ListenerSet
Removes a listener from the set.
removeAll(@com.google.android.exoplayer2.Player.Command int...) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Removes commands.
removeAll(int...) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Removes flags.
removeAllDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Cancels all pending downloads and removes all downloaded data.
removeAnalyticsListener(AnalyticsListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Removes an AnalyticsListener.
removeAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
removeAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
removeAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Removes a listener of audio offload events.
removeAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
removeAudioOffloadListener(ExoPlayer.AudioOffloadListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
removeCallbacksAndMessages(Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
removedAdGroupCount - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
The number of ad groups the have been removed.
removeDownload(String) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
removeDownload(String) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Cancels the download with the id and removes all downloaded data.
removeDownload(String) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
Removes the download with the given ID.
removeDrmEventListener(DrmSessionEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
removeDrmEventListener(DrmSessionEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Removes a DrmSessionEventListener from the list of listeners which are notified of DRM events for this media source.
removeEventListener(DrmSessionEventListener) - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
Removes a listener from the event dispatcher.
removeEventListener(MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
 
removeEventListener(MediaSourceEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
Removes a MediaSourceEventListener from the list of listeners which are notified of media source events.
removeEventListener(MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Removes a listener from the event dispatcher.
removeEventListener(BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
removeEventListener(BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
 
removeIf(@com.google.android.exoplayer2.Player.Command int, boolean) - Method in class com.google.android.exoplayer2.Player.Commands.Builder
Removes a Player.Command if the provided condition is true.
removeIf(int, boolean) - Method in class com.google.android.exoplayer2.util.FlagSet.Builder
Removes a flag if the provided condition is true.
removeListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Removes a previously added analytics event listener.
removeListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
removeListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
removeListener(Player.Listener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
removeListener(Player.Listener) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
removeListener(Player.Listener) - Method in interface com.google.android.exoplayer2.Player
Unregister a listener registered through Player.addListener(Listener).
removeListener(Player.Listener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
removeListener(Player.Listener) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
removeListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
removeListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Unregisters a listener.
removeListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
removeListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Removes a listener for scrubbing events.
removeListener(BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener.EventDispatcher
Removes a listener from the event dispatcher.
removeListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Unregisters a listener.
removeListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
removeMediaItem(int) - Method in class com.google.android.exoplayer2.BasePlayer
 
removeMediaItem(int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
removeMediaItem(int) - Method in interface com.google.android.exoplayer2.Player
Removes the media item at the given index of the playlist.
removeMediaItem(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a remove media item action to be executed.
RemoveMediaItem(String, int) - Constructor for class com.google.android.exoplayer2.testutil.Action.RemoveMediaItem
 
removeMediaItems(int, int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
removeMediaItems(int, int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
removeMediaItems(int, int) - Method in interface com.google.android.exoplayer2.Player
Removes a range of media items from the playlist.
removeMediaItems(int, int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
removeMediaItems(int, int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a remove media items action to be executed.
removeMediaItems(int, int) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
RemoveMediaItems(String, int, int) - Constructor for class com.google.android.exoplayer2.testutil.Action.RemoveMediaItems
 
removeMediaSource(int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a MediaSource from the playlist.
removeMediaSource(int, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a MediaSource from the playlist and executes a custom action on completion.
removeMediaSourceRange(int, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a range of MediaSources from the playlist, by specifying an initial index (included) and a final index (excluded).
removeMediaSourceRange(int, int, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Removes a range of MediaSources from the playlist, by specifying an initial index (included) and a final index (excluded), and executes a custom action on completion.
removeMessages(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
removePlaylistItem(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
removeQueryParameter(Uri, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Removes query parameter from a URI, if present.
removeRange(List<T>, int, int) - Static method in class com.google.android.exoplayer2.util.Util
Removes an indexed range from a List.
removeResource(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Removes all CacheSpans for a resource, deleting the underlying files.
removeResource(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
removeSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Removes a cached CacheSpan from the cache, deleting the underlying file.
removeSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
removeVersion(SQLiteDatabase, int, String) - Static method in class com.google.android.exoplayer2.database.VersionTable
Removes the version of a specified instance of a feature.
removeVideoSurfaceListener(SphericalGLSurfaceView.VideoSurfaceListener) - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
removeVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
removeVisibilityListener(StyledPlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
render(long, long) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
render(long, long) - Method in interface com.google.android.exoplayer2.Renderer
Incrementally renders the SampleStream.
render(long, long) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
 
render(long, long) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
renderedFirstFrame(Object) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
renderedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of rendered output buffers.
Renderer - Interface in com.google.android.exoplayer2
Renders media read from a SampleStream.
RENDERER_SUPPORT_EXCEEDS_CAPABILITIES_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has tracks mapped to it and at least one is of a supported type, but all such tracks exceed the renderer's capabilities.
RENDERER_SUPPORT_NO_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer does not have any associated tracks.
RENDERER_SUPPORT_PLAYABLE_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has tracks mapped to it, and at least one such track is playable.
RENDERER_SUPPORT_UNSUPPORTED_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
The renderer has tracks mapped to it, but all are unsupported.
Renderer.MessageType - Annotation Type in com.google.android.exoplayer2
Represents a type of message that can be passed to a renderer.
Renderer.State - Annotation Type in com.google.android.exoplayer2
The renderer states.
Renderer.WakeupListener - Interface in com.google.android.exoplayer2
Some renderers can signal when Renderer.render(long, long) should be called.
RendererCapabilities - Interface in com.google.android.exoplayer2
Defines the capabilities of a Renderer.
RendererCapabilities.AdaptiveSupport - Annotation Type in com.google.android.exoplayer2
Level of renderer support for adaptive format switches.
RendererCapabilities.Capabilities - Annotation Type in com.google.android.exoplayer2
Combined renderer capabilities.
RendererCapabilities.FormatSupport - Annotation Type in com.google.android.exoplayer2
Deprecated.
Use C.FormatSupport instead.
RendererCapabilities.TunnelingSupport - Annotation Type in com.google.android.exoplayer2
Level of renderer support for tunneling.
RendererConfiguration - Class in com.google.android.exoplayer2
The configuration of a Renderer.
RendererConfiguration(boolean) - Constructor for class com.google.android.exoplayer2.RendererConfiguration
 
rendererConfigurations - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
A RendererConfiguration for each renderer.
rendererFormat - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
If ExoPlaybackException.type is ExoPlaybackException.TYPE_RENDERER, this is the Format the renderer was using at the time of the exception, or null if the renderer wasn't using a Format.
rendererFormatSupport - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
rendererIndex - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
If ExoPlaybackException.type is ExoPlaybackException.TYPE_RENDERER, this is the index of the renderer.
rendererName - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
If ExoPlaybackException.type is ExoPlaybackException.TYPE_RENDERER, this is the name of the renderer.
renderers - Variable in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
RenderersFactory - Interface in com.google.android.exoplayer2
Builds Renderer instances for use by an ExoPlayer.
renderOutputBuffer(VideoDecoderOutputBuffer, long, Format) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Renders the specified output buffer.
renderOutputBuffer(MediaCodecAdapter, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Renders the output buffer with the specified index.
renderOutputBufferToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
renderOutputBufferToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
renderOutputBufferToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Renders the specified output buffer to the passed surface.
renderOutputBufferV21(MediaCodecAdapter, int, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Renders the output buffer with the specified index.
renderToEndOfStream() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
renderToEndOfStream() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Incrementally renders any remaining output.
renderToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
Renders output buffer to the given surface.
renderToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
Renders the outputBuffer to the surface.
Rendition(Uri, Format, String, String) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
 
RenditionReport(Uri, long, int) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.RenditionReport
Creates a new instance.
renditionReports - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The rendition reports of alternative rendition playlists.
renewLicense(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
Renews an offline license.
repeat(Action, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules an action repeatedly.
REPEAT_MODE_ALL - Static variable in interface com.google.android.exoplayer2.Player
Repeats the entire timeline infinitely.
REPEAT_MODE_OFF - Static variable in interface com.google.android.exoplayer2.Player
Normal playback without repetition.
REPEAT_MODE_ONE - Static variable in interface com.google.android.exoplayer2.Player
Repeats the currently playing MediaItem infinitely during ongoing playback.
REPEAT_TOGGLE_MODE_ALL - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
"Repeat All" button enabled.
REPEAT_TOGGLE_MODE_NONE - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
All repeat mode buttons disabled.
REPEAT_TOGGLE_MODE_ONE - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
"Repeat One" button enabled.
RepeatModeActionProvider - Class in com.google.android.exoplayer2.ext.mediasession
Provides a custom action for toggling repeat modes.
RepeatModeActionProvider(Context) - Constructor for class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
Creates a new instance.
RepeatModeActionProvider(Context, int) - Constructor for class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
Creates a new instance enabling the given repeat toggle modes.
RepeatModeUtil - Class in com.google.android.exoplayer2.util
Util class for repeat mode handling.
RepeatModeUtil.RepeatToggleModes - Annotation Type in com.google.android.exoplayer2.util
Set of repeat toggle modes.
replaceManifestUri(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
Manually replaces the manifest Uri.
replaceOutputBuffer(int) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
Replaces the current output buffer with a buffer of at least count bytes and returns it.
replacePlaylistItem(int, MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
replaceSession(DrmSession, DrmSession) - Static method in interface com.google.android.exoplayer2.drm.DrmSession
Acquires newSession then releases previousSession.
replaceStream(Format[], SampleStream, long, long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
replaceStream(Format[], SampleStream, long, long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
replaceStream(Format[], SampleStream, long, long) - Method in interface com.google.android.exoplayer2.Renderer
Replaces the SampleStream from which samples will be consumed.
replaceTrackSelections(int, DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
Replaces a selection of tracks to be downloaded.
reportVideoFrameProcessingOffset(long, int) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
representation - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
Representation - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH representation.
Representation.MultiSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH representation consisting of multiple segments.
Representation.SingleSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
A DASH representation consisting of a single segment.
representationHolders - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
RepresentationInfo(Format, List<BaseUrl>, SegmentBase, String, ArrayList<DrmInitData.SchemeData>, ArrayList<Descriptor>, List<Descriptor>, List<Descriptor>, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
representations - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Representations in the adaptation set.
RepresentationSegmentIterator(DefaultDashChunkSource.RepresentationHolder, long, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
Creates iterator.
request - Variable in class com.google.android.exoplayer2.offline.Download
The download request.
REQUEST_HEADER_ENABLE_METADATA_NAME - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
REQUEST_HEADER_ENABLE_METADATA_VALUE - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
REQUEST_TYPE_INITIAL - Static variable in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Key request type for an initial license request.
REQUEST_TYPE_NONE - Static variable in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Key request type if keys are already loaded and available for use.
REQUEST_TYPE_RELEASE - Static variable in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Key request type for license release.
REQUEST_TYPE_RENEWAL - Static variable in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Key request type for license renewal.
REQUEST_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Value returned from ExoMediaDrm.KeyRequest.getRequestType() if the underlying key request does not specify a type.
REQUEST_TYPE_UPDATE - Static variable in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
Key request type if keys have been loaded, but an additional license request is needed to update their values.
requestAds(DataSpec, Object, ViewGroup) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Requests ads, if they have not already been requested.
requestHeaders - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
RequestProperties() - Constructor for class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
 
RequestSet(FakeDataSet) - Constructor for class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
requiredCapacity - Variable in exception com.google.android.exoplayer2.decoder.DecoderInputBuffer.InsufficientCapacityException
The required capacity of the buffer.
Requirements - Class in com.google.android.exoplayer2.scheduler
Defines a set of device state requirements.
Requirements(int) - Constructor for class com.google.android.exoplayer2.scheduler.Requirements
 
Requirements.RequirementFlags - Annotation Type in com.google.android.exoplayer2.scheduler
Requirement flags.
RequirementsWatcher - Class in com.google.android.exoplayer2.scheduler
Watches whether the Requirements are met and notifies the RequirementsWatcher.Listener on changes.
RequirementsWatcher(Context, RequirementsWatcher.Listener, Requirements) - Constructor for class com.google.android.exoplayer2.scheduler.RequirementsWatcher
 
RequirementsWatcher.Listener - Interface in com.google.android.exoplayer2.scheduler
Notified when RequirementsWatcher instance first created and on changes whether the Requirements are met.
requiresCacheSpanTouches() - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
Returns whether the evictor requires the Cache to touch CacheSpans when it accesses them.
requiresCacheSpanTouches() - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
 
requiresCacheSpanTouches() - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
 
requiresSecureDecoder(byte[], String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
requiresSecureDecoder(byte[], String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Returns whether the given session requires use of a secure decoder for the given MIME type.
requiresSecureDecoder(byte[], String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
requiresSecureDecoder(byte[], String) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
requiresSecureDecoder(String) - Method in interface com.google.android.exoplayer2.drm.DrmSession
Returns whether this session requires use of a secure decoder for the given MIME type.
requiresSecureDecoder(String) - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
 
requiringProvisioningThenAllowingSchemeDatas(List<DrmInitData.SchemeData>...) - Static method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.LicenseServer
 
reset() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
Resets the processor to its unconfigured state, releasing any resources.
reset() - Method in interface com.google.android.exoplayer2.audio.AudioSink
Resets the sink, releasing any resources that it currently holds.
reset() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
reset() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
reset() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
 
reset() - Method in class com.google.android.exoplayer2.BaseRenderer
 
reset() - Method in class com.google.android.exoplayer2.extractor.TrueHdSampleRechunker
 
reset() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Resets the reading position to zero.
reset() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
reset() - Method in interface com.google.android.exoplayer2.Renderer
Forces the renderer to give up any resources (e.g.
reset() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
 
reset() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
Resets the iterator to the initial position.
reset() - Method in class com.google.android.exoplayer2.source.dash.BaseUrlExclusionList
Resets the state.
reset() - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
Resets the provider.
reset() - Method in class com.google.android.exoplayer2.source.SampleQueue
Convenience method for reset(false).
reset() - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
 
reset() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
Resets the input to its initial state.
reset() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Resets the sample queue.
reset() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
reset() - Method in class com.google.android.exoplayer2.upstream.SlidingPercentile
Resets the sliding percentile.
reset() - Method in interface com.google.android.exoplayer2.upstream.TimeToFirstByteEstimator
Resets the estimator.
reset(boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Clears all samples from the queue.
reset(byte[]) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Updates the instance to wrap data, and resets the position to zero.
reset(byte[]) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Updates the instance to wrap data, and resets the position to zero and the limit to data.length.
reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Updates the instance to wrap data, and resets the position to zero.
reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Updates the instance to wrap data, and resets the position to zero.
reset(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Resets the wrapped data, limit and offset.
reset(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Resets the position to zero and the limit to the specified value.
reset(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
Resets the instance.
reset(ParsableByteArray) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Sets this instance's data, position and limit to match the provided parsableByteArray.
resetBytesRead() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
Resets the number of bytes read as returned from StatsDataSource.getBytesRead() to zero.
resetCodecStateForFlush() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Resets the renderer internal state after a codec flush.
resetCodecStateForFlush() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
resetCodecStateForRelease() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Resets the renderer internal state after a codec release.
resetCount - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
 
resetForTests() - Static method in class com.google.android.exoplayer2.util.NetworkTypeObserver
Resets the network type observer for tests.
resetPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
resetPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Resets the peek position to equal the current read position.
resetPeekPosition() - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
resetPeekPosition() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
resetPosition(long) - Method in class com.google.android.exoplayer2.BaseRenderer
 
resetPosition(long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
resetPosition(long) - Method in interface com.google.android.exoplayer2.Renderer
Signals to the renderer that a position discontinuity has occurred.
resetPosition(long) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Resets the clock's position.
resetProvisioning() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Resets the provisioning state of this instance, so it requires provisionsRequired (possibly zero) provision operations before it's operational again.
resetSupplementalData(int) - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Clears DecoderInputBuffer.supplementalData and ensures that it's large enough to accommodate length bytes.
RESIZE_MODE_FILL - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The specified aspect ratio is ignored.
RESIZE_MODE_FIT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Either the width or height is decreased to obtain the desired aspect ratio.
RESIZE_MODE_FIXED_HEIGHT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The height is fixed and the width is increased or decreased to obtain the desired aspect ratio.
RESIZE_MODE_FIXED_WIDTH - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
The width is fixed and the height is increased or decreased to obtain the desired aspect ratio.
RESIZE_MODE_ZOOM - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Either the width or height is increased to obtain the desired aspect ratio.
resolve(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Performs relative resolution of a referenceUri with respect to a baseUri.
resolveCacheKey(Representation, RangedUri) - Static method in class com.google.android.exoplayer2.source.dash.DashUtil
Resolves the cache key to be used when requesting the given ranged URI for the given Representation.
resolveDataSpec(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.ResolvingDataSource.Resolver
Resolves a DataSpec before forwarding it to the wrapped DataSource.
resolveReportedUri(Uri) - Method in interface com.google.android.exoplayer2.upstream.ResolvingDataSource.Resolver
Resolves a URI reported by DataSource.getUri() for event reporting and caching purposes.
resolveSeekPositionUs(long, long, long) - Method in class com.google.android.exoplayer2.SeekParameters
Resolves a seek based on the parameters, given the requested seek position and two candidate sync points.
resolvesToUnknownLength() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
Returns true if the resource should resolve to an unknown length.
resolvesToUnknownLength(boolean) - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
Sets if the server shouldn't include the resource length in header responses.
resolveToUri(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
Like UriUtil.resolve(String, String), but returns a Uri instead of a String.
resolveUri(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Returns the resolved Uri represented by the instance.
resolveUriString(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
Returns the resolved uri represented by the instance as a string.
ResolvingDataSource - Class in com.google.android.exoplayer2.upstream
DataSource wrapper allowing just-in-time resolution of DataSpecs.
ResolvingDataSource(DataSource, ResolvingDataSource.Resolver) - Constructor for class com.google.android.exoplayer2.upstream.ResolvingDataSource
 
ResolvingDataSource.Factory - Class in com.google.android.exoplayer2.upstream
ResolvingDataSource.Resolver - Interface in com.google.android.exoplayer2.upstream
Resolves DataSpecs.
resourceNotFound() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
resourceNotFound_transferListenerCallbacks() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
responseBody - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
The response body.
responseCode - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
The response code that was outside of the 2xx range.
responseHeaders - Variable in exception com.google.android.exoplayer2.drm.MediaDrmCallbackException
The HTTP request headers included in the response.
responseHeaders - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
The response headers associated with the load, or an empty map if unavailable.
responseMessage - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
The http status message.
restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
restoreKeys(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Restores persisted offline keys into a session.
restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
result - Variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The result of the evaluation.
RESULT_BUFFER_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where a buffer was read.
RESULT_CONTINUE - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
Returned by Extractor.read(ExtractorInput, PositionHolder) if the ExtractorInput passed to the next Extractor.read(ExtractorInput, PositionHolder) is required to provide data continuing from the position in the stream reached by the returning call.
RESULT_END_OF_INPUT - Static variable in class com.google.android.exoplayer2.C
A return value for methods where the end of an input was encountered.
RESULT_END_OF_INPUT - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
Returned by Extractor.read(ExtractorInput, PositionHolder) if the end of the ExtractorInput was reached.
RESULT_FORMAT_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where a format was read.
RESULT_MAX_LENGTH_EXCEEDED - Static variable in class com.google.android.exoplayer2.C
A return value for methods where the length of parsed data exceeds the maximum length allowed.
RESULT_NOTHING_READ - Static variable in class com.google.android.exoplayer2.C
A return value for methods where nothing was read.
RESULT_SEEK - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
Returned by Extractor.read(ExtractorInput, PositionHolder) if the ExtractorInput passed to the next Extractor.read(ExtractorInput, PositionHolder) is required to provide data starting from a specified position in the stream.
resumeDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
Resumes downloads.
retainBackBufferFromKeyframe() - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
retainBackBufferFromKeyframe() - Method in interface com.google.android.exoplayer2.LoadControl
Returns whether media should be retained from the keyframe before the current playback position minus LoadControl.getBackBufferDurationUs(), rather than any sample before or at that position.
retrieveMetadata(Context, MediaItem) - Static method in class com.google.android.exoplayer2.MetadataRetriever
Retrieves the TrackGroupArray corresponding to a MediaItem.
retrieveMetadata(MediaSourceFactory, MediaItem) - Static method in class com.google.android.exoplayer2.MetadataRetriever
Retrieves the TrackGroupArray corresponding to a MediaItem.
retry() - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Use Player.prepare() instead.
retry() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
retry() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
Retries the load using the default delay.
RETRY_RESET_ERROR_COUNT - Static variable in class com.google.android.exoplayer2.upstream.Loader
Retries the load using the default delay and resets the error count.
REUSE_RESULT_NO - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The decoder cannot be reused.
REUSE_RESULT_YES_WITH_FLUSH - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The decoder can be reused, but must be flushed.
REUSE_RESULT_YES_WITH_RECONFIGURATION - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The decoder can be reused.
REUSE_RESULT_YES_WITHOUT_RECONFIGURATION - Static variable in class com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
The decoder can be kept.
REVISION_ID_DEFAULT - Static variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
A default value for Representation.revisionId.
revisionId - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
revisionId - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
Identifies the revision of the media contained within the representation.
rewindActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
RF64_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "RF64".
RIFF_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "RIFF".
RobolectricUtil - Class in com.google.android.exoplayer2.robolectric
Utility methods for Robolectric-based tests.
ROLE_FLAG_ALTERNATE - Static variable in class com.google.android.exoplayer2.C
Indicates an alternate track.
ROLE_FLAG_CAPTION - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains captions.
ROLE_FLAG_COMMENTARY - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains commentary, for example from the director.
ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains a textual description of music and sound.
ROLE_FLAG_DESCRIBES_VIDEO - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains an audio or textual description of a video track.
ROLE_FLAG_DUB - Static variable in class com.google.android.exoplayer2.C
Indicates the track is in a different language from the original, for example dubbed audio or translated captions.
ROLE_FLAG_EASY_TO_READ - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains a text that has been edited for ease of reading.
ROLE_FLAG_EMERGENCY - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains information about a current emergency.
ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY - Static variable in class com.google.android.exoplayer2.C
Indicates the track is designed for improved intelligibility of dialogue.
ROLE_FLAG_MAIN - Static variable in class com.google.android.exoplayer2.C
Indicates a main track.
ROLE_FLAG_SIGN - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains a visual sign-language interpretation of an audio track.
ROLE_FLAG_SUBTITLE - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains subtitles.
ROLE_FLAG_SUPPLEMENTARY - Static variable in class com.google.android.exoplayer2.C
Indicates a supplementary track, meaning the track has lower importance than the main track(s).
ROLE_FLAG_TRANSCRIBES_DIALOG - Static variable in class com.google.android.exoplayer2.C
Indicates the track contains a transcription of spoken dialog.
ROLE_FLAG_TRICK_PLAY - Static variable in class com.google.android.exoplayer2.C
Indicates the track is intended for trick play.
roleFlags - Variable in class com.google.android.exoplayer2.Format
Track role flags.
roleFlags - Variable in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
The role flags.
rotationDegrees - Variable in class com.google.android.exoplayer2.Format
The clockwise rotation that should be applied to the video for it to be rendered in the correct orientation, or 0 if unknown or not applicable.
RtmpDataSource - Class in com.google.android.exoplayer2.ext.rtmp
A Real-Time Messaging Protocol (RTMP) DataSource.
RtmpDataSource() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
 
RtmpDataSource.Factory - Class in com.google.android.exoplayer2.ext.rtmp
RtmpDataSourceFactory - Class in com.google.android.exoplayer2.ext.rtmp
Deprecated.
RtmpDataSourceFactory() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
Deprecated.
 
RtmpDataSourceFactory(TransferListener) - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
Deprecated.
 
RTP_VERSION - Static variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
RtpAc3Reader - Class in com.google.android.exoplayer2.source.rtsp.reader
Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames.
RtpAc3Reader(RtpPayloadFormat) - Constructor for class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
RtpPacket - Class in com.google.android.exoplayer2.source.rtsp
Represents the header and the payload of an RTP packet.
RtpPacket.Builder - Class in com.google.android.exoplayer2.source.rtsp
Builder class for an RtpPacket
RtpPayloadFormat - Class in com.google.android.exoplayer2.source.rtsp
Represents the payload format used in RTP.
RtpPayloadFormat(Format, int, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
Creates a new instance.
RtpPayloadReader - Interface in com.google.android.exoplayer2.source.rtsp.reader
Extracts media samples from the payload of received RTP packets.
RtpPayloadReader.Factory - Interface in com.google.android.exoplayer2.source.rtsp.reader
Factory of RtpPayloadReader instances.
rtpPayloadType - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPayloadFormat
The payload type associated with this format.
RtpUtils - Class in com.google.android.exoplayer2.source.rtsp
Utility methods for RTP.
RtspMediaSource - Class in com.google.android.exoplayer2.source.rtsp
An Rtsp MediaSource
RtspMediaSource.Factory - Class in com.google.android.exoplayer2.source.rtsp
Factory for RtspMediaSource
RtspMediaSource.RtspPlaybackException - Exception in com.google.android.exoplayer2.source.rtsp
Thrown when an exception or error is encountered during loading an RTSP stream.
RtspPlaybackException(String) - Constructor for exception com.google.android.exoplayer2.source.rtsp.RtspMediaSource.RtspPlaybackException
 
RtspPlaybackException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.source.rtsp.RtspMediaSource.RtspPlaybackException
 
RtspPlaybackException(Throwable) - Constructor for exception com.google.android.exoplayer2.source.rtsp.RtspMediaSource.RtspPlaybackException
 
RubySpan - Class in com.google.android.exoplayer2.text.span
A styling span for ruby text.
RubySpan(String, int) - Constructor for class com.google.android.exoplayer2.text.span.RubySpan
 
rubyText - Variable in class com.google.android.exoplayer2.text.span.RubySpan
The ruby text, i.e.
run() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
run() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
 
run() - Method in interface com.google.android.exoplayer2.testutil.DummyMainThread.TestRunnable
 
run() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
 
run() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
 
run() - Method in class com.google.android.exoplayer2.util.RunnableFutureTask
 
run(ExoPlayer) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
Executes Runnable with reference to player.
runLooperUntil(Looper, Supplier<Boolean>) - Static method in class com.google.android.exoplayer2.robolectric.RobolectricUtil
Runs tasks of the looper until the condition returns true.
runLooperUntil(Looper, Supplier<Boolean>, long, Clock) - Static method in class com.google.android.exoplayer2.robolectric.RobolectricUtil
Runs tasks of the looper until the condition returns true.
runMainLooperUntil(Supplier<Boolean>) - Static method in class com.google.android.exoplayer2.robolectric.RobolectricUtil
Runs tasks of the main Robolectric Looper until the condition returns true.
runMainLooperUntil(Supplier<Boolean>, long, Clock) - Static method in class com.google.android.exoplayer2.robolectric.RobolectricUtil
Runs tasks of the main Robolectric Looper until the condition returns true.
RunnableFutureTask<R,​E extends Exception> - Class in com.google.android.exoplayer2.util
A RunnableFuture that supports additional uninterruptible operations to query whether execution has started and finished.
RunnableFutureTask() - Constructor for class com.google.android.exoplayer2.util.RunnableFutureTask
 
runOnMainThread(int, Runnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
Runs the provided Runnable on the main thread, blocking until execution completes or until timeout milliseconds have passed.
runOnMainThread(Runnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
Runs the provided Runnable on the main thread, blocking until execution completes or until DummyMainThread.TIMEOUT_MS milliseconds have passed.
runOnPlaybackThread(Runnable) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
Runs the provided Runnable on the playback thread, blocking until execution completes.
runTest(HostActivity.HostedTest, long) - Method in class com.google.android.exoplayer2.testutil.HostActivity
Executes a HostActivity.HostedTest inside the host.
runTest(HostActivity.HostedTest, long, boolean) - Method in class com.google.android.exoplayer2.testutil.HostActivity
Executes a HostActivity.HostedTest inside the host.
runTestOnMainThread(int, DummyMainThread.TestRunnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
Runs the provided DummyMainThread.TestRunnable on the main thread, blocking until execution completes or until timeout milliseconds have passed.
runTestOnMainThread(DummyMainThread.TestRunnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
Runs the provided DummyMainThread.TestRunnable on the main thread, blocking until execution completes or until DummyMainThread.TIMEOUT_MS milliseconds have passed.
runUntilError(ExoPlayer) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until a player error occurs.
runUntilPendingCommandsAreFullyHandled(ExoPlayer) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until the player completely handled all previously issued commands on the internal playback thread.
runUntilPlaybackState(Player, @com.google.android.exoplayer2.Player.State int) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until Player.getPlaybackState() matches the expected state or a playback error occurs.
runUntilPlayWhenReady(Player, boolean) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until Player.getPlayWhenReady() matches the expected value or a playback error occurs.
runUntilPositionDiscontinuity(Player, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until Player.Listener.onPositionDiscontinuity(Player.PositionInfo, Player.PositionInfo, int) is called with the specified Player.DiscontinuityReason or a playback error occurs.
runUntilReceiveOffloadSchedulingEnabledNewState(ExoPlayer) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until ExoPlayer.AudioOffloadListener.onExperimentalOffloadSchedulingEnabledChanged(boolean) is called or a playback error occurs.
runUntilRenderedFirstFrame(ExoPlayer) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until the Player.Listener.onRenderedFirstFrame() callback is called or a playback error occurs.
runUntilSleepingForOffload(ExoPlayer, boolean) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until ExoPlayer.AudioOffloadListener.onExperimentalSleepingForOffloadChanged(boolean) is called or a playback error occurs.
runUntilTimelineChanged(Player) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until a timeline change or a playback error occurs.
runUntilTimelineChanged(Player, Timeline) - Static method in class com.google.android.exoplayer2.robolectric.TestPlayerRunHelper
Runs tasks of the main Looper until Player.getCurrentTimeline() matches the expected timeline or a playback error occurs.

S

sameAs(MediaMetadataCompat, MediaMetadataCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.MediaMetadataProvider
Returns whether the old and the new metadata are considered the same.
sample(long, int, byte[]) - Static method in class com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem
Creates an item representing a sample with the provided timestamp, flags and data.
SAMPLE_DATA_PART_ENCRYPTION - Static variable in interface com.google.android.exoplayer2.extractor.TrackOutput
Sample encryption data.
SAMPLE_DATA_PART_MAIN - Static variable in interface com.google.android.exoplayer2.extractor.TrackOutput
Main media sample data.
SAMPLE_DATA_PART_SUPPLEMENTAL - Static variable in interface com.google.android.exoplayer2.extractor.TrackOutput
Sample supplemental data.
SAMPLE_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
The AC-4 sync frame header size for extractor.
SAMPLE_RATE - Static variable in class com.google.android.exoplayer2.audio.OpusUtil
Opus streams are always 48000 Hz.
SAMPLE_RATE_NO_CHANGE - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Indicates that the output sample rate should be the same as the input.
sampleBufferReadCount - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
 
sampleCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Number of audio samples in the frame.
sampleCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
Number of audio samples in the frame.
sampleData(DataReader, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
sampleData(DataReader, int, boolean, int) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
sampleData(DataReader, int, boolean, int) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called to write sample data to the output.
sampleData(DataReader, int, boolean, int) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
 
sampleData(DataReader, int, boolean, int) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
sampleData(DataReader, int, boolean, int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
sampleData(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Equivalent to TrackOutput.sampleData(ParsableByteArray, int, int) sampleData(data, length, SAMPLE_DATA_PART_MAIN)}.
sampleData(ParsableByteArray, int, int) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
sampleData(ParsableByteArray, int, int) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called to write sample data to the output.
sampleData(ParsableByteArray, int, int) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
 
sampleData(ParsableByteArray, int, int) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
sampleData(ParsableByteArray, int, int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
 
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
Called when metadata associated with a sample has been extracted from the stream.
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
 
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.source.SampleQueue
 
sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
 
sampleMetadata(TrackOutput, long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.extractor.TrueHdSampleRechunker
 
sampleMimeType - Variable in class com.google.android.exoplayer2.Format
The sample mime type, or null if unknown or not applicable.
sampleNumber - Variable in class com.google.android.exoplayer2.extractor.FlacFrameReader.SampleNumberHolder
The sample number.
SampleNumberHolder() - Constructor for class com.google.android.exoplayer2.extractor.FlacFrameReader.SampleNumberHolder
 
SampleQueue - Class in com.google.android.exoplayer2.source
A queue of media samples.
SampleQueue(Allocator, Looper, DrmSessionManager, DrmSessionEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.SampleQueue
 
SampleQueue.UpstreamFormatChangedListener - Interface in com.google.android.exoplayer2.source
A listener for changes to the upstream format.
SampleQueueMappingException - Exception in com.google.android.exoplayer2.source.hls
Thrown when it is not possible to map a TrackGroup to a SampleQueue.
SampleQueueMappingException(String) - Constructor for exception com.google.android.exoplayer2.source.hls.SampleQueueMappingException
 
sampleRate - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
The audio sampling rate in Hz.
sampleRate - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
The audio sampling rate in Hz.
sampleRate - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
The sample rate in Hertz.
sampleRate - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Sample rate in samples per second.
sampleRate - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Sample rate in Hertz.
sampleRate - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
The audio_sample_rate field.
sampleRate - Variable in class com.google.android.exoplayer2.Format
The audio sampling rate in Hz, or Format.NO_VALUE if unknown or not applicable.
sampleRateHz - Variable in class com.google.android.exoplayer2.audio.AacUtil.Config
The sample rate in Hertz.
sampleRateLookupKey - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Lookup key corresponding to the stream sample rate, or FlacStreamMetadata.NOT_IN_LOOKUP_TABLE if it is not in the lookup table.
samplesPerFrame - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Number of samples stored in the frame.
SampleStream - Interface in com.google.android.exoplayer2.source
A stream of media samples (and associated format information).
SampleStream.ReadDataResult - Annotation Type in com.google.android.exoplayer2.source
SampleStream.ReadFlags - Annotation Type in com.google.android.exoplayer2.source
sampleTransformation - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
One of TRANSFORMATION_*.
SANS_SERIF_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the sans-serif font family.
scaleLargeTimestamp(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Scales a large timestamp.
scaleLargeTimestamps(List<Long>, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Applies Util.scaleLargeTimestamp(long, long, long) to a list of unscaled timestamps.
scaleLargeTimestampsInPlace(long[], long, long) - Static method in class com.google.android.exoplayer2.util.Util
Applies Util.scaleLargeTimestamp(long, long, long) to an array of unscaled timestamps.
schedule(Requirements, String, String) - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
 
schedule(Requirements, String, String) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
 
schedule(Requirements, String, String) - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
Schedules a service to be started in the foreground when some Requirements are met.
Scheduler - Interface in com.google.android.exoplayer2.scheduler
Schedules a service to be started in the foreground when some Requirements are met.
SchedulerWorker(Context, WorkerParameters) - Constructor for class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler.SchedulerWorker
 
scheme - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
The UUID of the protection scheme.
SCHEME_DATA - Static variable in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
 
SchemeData(UUID, String, byte[]) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
SchemeData(UUID, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
schemeDataCount - Variable in class com.google.android.exoplayer2.drm.DrmInitData
schemeIdUri - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The message scheme.
schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
The scheme URI.
schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
The scheme URI.
schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
schemeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData
The protection scheme type, or null if not applicable or unknown.
schemeType - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
The protection scheme type, as defined by the 'schm' box, or null if unknown.
SCTE35_SCHEME_ID - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
scheme_id_uri from section 7.3.2 of SCTE 214-3 2015.
SDK_INT - Static variable in class com.google.android.exoplayer2.util.Util
Like Build.VERSION.SDK_INT, but in a place where it can be conveniently overridden for local testing.
searchForTimestamp(ExtractorInput, long) - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSeeker
Searches a limited window of the provided input for a target timestamp.
second - Variable in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
The second seek point, or SeekMap.SeekPoints.first if there's only one seek point.
SectionPayloadReader - Interface in com.google.android.exoplayer2.extractor.ts
Reads section data.
SectionReader - Class in com.google.android.exoplayer2.extractor.ts
Reads section data packets and feeds the whole sections to a given SectionPayloadReader.
SectionReader(SectionPayloadReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.SectionReader
 
secure - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder is secure.
secure - Variable in class com.google.android.exoplayer2.video.DummySurface
Whether the surface is secure.
SECURE_MODE_NONE - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
No secure EGL surface and context required.
SECURE_MODE_PROTECTED_PBUFFER - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Creating a secure surface backed by a pixel buffer.
SECURE_MODE_SURFACELESS_CONTEXT - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
Creating a surfaceless, secured EGL context.
secureDecoderRequired - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
Whether it was required that the decoder support a secure output path.
seek() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
 
seek() - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
Notifies the reader that a seek has occurred.
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H263Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
 
seek() - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
 
seek() - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
Notifies the reader that a seek has occurred.
seek(int, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a seek action.
seek(int, long, boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a seek action to be executed.
seek(long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a seek action.
seek(long, long) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
seek(long, long) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Notifies the extractor that a seek has occurred.
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.jpeg.JpegExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.source.BundledExtractorsAdapter
 
seek(long, long) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
seek(long, long) - Method in class com.google.android.exoplayer2.source.MediaParserExtractorAdapter
 
seek(long, long) - Method in interface com.google.android.exoplayer2.source.ProgressiveMediaExtractor
Notifies the extracting infrastructure that a seek has occurred.
seek(long, long) - Method in class com.google.android.exoplayer2.source.rtsp.reader.RtpAc3Reader
 
seek(long, long) - Method in interface com.google.android.exoplayer2.source.rtsp.reader.RtpPayloadReader
Seeks the reader.
seek(long, long) - Method in class com.google.android.exoplayer2.text.SubtitleExtractor
 
Seek(String, int, long, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.Seek
Seek(String, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.Seek
Action calls Player.seekTo(long).
seekAndWait(long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a seek action and waits until playback resumes after the seek.
seekBack() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekBack() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekBack() - Method in interface com.google.android.exoplayer2.Player
Seeks back in the current MediaItem by Player.getSeekBackIncrement() milliseconds.
seekForward() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekForward() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekForward() - Method in interface com.google.android.exoplayer2.Player
Seeks forward in the current MediaItem by Player.getSeekForwardIncrement() milliseconds.
seekMap - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
seekMap - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
seekMap(SeekMap) - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
seekMap(SeekMap) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Called when a SeekMap has been extracted from the stream.
seekMap(SeekMap) - Method in class com.google.android.exoplayer2.extractor.jpeg.StartOffsetExtractorOutput
 
seekMap(SeekMap) - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
seekMap(SeekMap) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
SeekMap - Interface in com.google.android.exoplayer2.extractor
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
SeekMap.SeekPoints - Class in com.google.android.exoplayer2.extractor
Contains one or two SeekPoints.
SeekMap.Unseekable - Class in com.google.android.exoplayer2.extractor
A SeekMap that does not support seeking.
seekOperationParams - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
SeekOperationParams(long, long, long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
 
SeekParameters - Class in com.google.android.exoplayer2
Parameters that apply to seeking.
SeekParameters(long, long) - Constructor for class com.google.android.exoplayer2.SeekParameters
 
SeekPoint - Class in com.google.android.exoplayer2.extractor
Defines a seek point in a media stream.
SeekPoint(long, long) - Constructor for class com.google.android.exoplayer2.extractor.SeekPoint
 
SeekPoints(SeekPoint) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
SeekPoints(SeekPoint, SeekPoint) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
seekTable - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Seek table, or null if it is not provided.
SeekTable(long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.FlacStreamMetadata.SeekTable
 
seekTo(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Attempts to seek the read position to the specified sample index.
seekTo(int, long) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
seekTo(int, long) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekTo(int, long) - Method in interface com.google.android.exoplayer2.Player
Seeks to a position specified in milliseconds in the specified MediaItem.
seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
seekTo(int, long) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
seekTo(long) - Method in class com.google.android.exoplayer2.BasePlayer
 
seekTo(long) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
seekTo(long) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
seekTo(long) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekTo(long) - Method in interface com.google.android.exoplayer2.Player
Seeks to a position specified in milliseconds in the current MediaItem.
seekTo(long, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
Attempts to seek the read position to the keyframe before or at the specified time.
seekToDefaultPosition() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToDefaultPosition() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekToDefaultPosition() - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position associated with the current MediaItem.
seekToDefaultPosition(int) - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToDefaultPosition(int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekToDefaultPosition(int) - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position associated with the specified MediaItem.
seekToNext() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToNext() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekToNext() - Method in interface com.google.android.exoplayer2.Player
Seeks to a later position in the current or next MediaItem (if available).
seekToNextMediaItem() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToNextMediaItem() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekToNextMediaItem() - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position of the next MediaItem, which may depend on the current repeat mode and whether shuffle mode is enabled.
seekToNextWindow() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
seekToNextWindow() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
seekToNextWindow() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
seekToPosition(long) - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
 
seekToPosition(ExtractorInput, long, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
seekToPrevious() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToPrevious() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekToPrevious() - Method in interface com.google.android.exoplayer2.Player
Seeks to an earlier position in the current or previous MediaItem (if available).
seekToPreviousMediaItem() - Method in class com.google.android.exoplayer2.BasePlayer
 
seekToPreviousMediaItem() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
seekToPreviousMediaItem() - Method in interface com.google.android.exoplayer2.Player
Seeks to the default position of the previous MediaItem, which may depend on the current repeat mode and whether shuffle mode is enabled.
seekToPreviousWindow() - Method in class com.google.android.exoplayer2.BasePlayer
Deprecated.
seekToPreviousWindow() - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
seekToPreviousWindow() - Method in interface com.google.android.exoplayer2.Player
Deprecated.
seekToTimeUs(Extractor, SeekMap, long, DataSource, FakeTrackOutput, Uri) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
Seeks to the given seek time of the stream from the given input, and keeps reading from the input until we can extract at least one sample following the seek position, or until end-of-input is reached.
seekToUs(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Seeks to the specified position in microseconds.
seekToUs(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
seekToUs(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
seekToUs(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
seekToUs(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Attempts to seek to the specified position in microseconds.
seekToUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
seekToUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
seekToUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Seeks the stream to a new position using already available data in the queue.
Segment(long, long, int) - Constructor for class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
Creates an instance.
Segment(long, DataSpec) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
Constructs a Segment.
Segment(String, long, long, String, String) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
Creates an instance to be used as init segment.
Segment(String, HlsMediaPlaylist.Segment, String, long, int, long, DrmInitData, String, String, long, long, boolean, List<HlsMediaPlaylist.Part>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
Creates an instance.
segmentBase - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
SegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
An approximate representation of a SegmentBase manifest element.
SegmentBase(RangedUri, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
 
SegmentBase.MultiSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase that consists of multiple segments.
SegmentBase.SegmentList - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase.MultiSegmentBase that uses a SegmentList to define its segments.
SegmentBase.SegmentTemplate - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase.MultiSegmentBase that uses a SegmentTemplate to define its segments.
SegmentBase.SegmentTimelineElement - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a timeline segment from the MPD's SegmentTimeline list.
SegmentBase.SingleSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
A SegmentBase that defines a single segment.
SegmentDownloader<M extends FilterableManifest<M>> - Class in com.google.android.exoplayer2.offline
Base class for multi segment stream downloaders.
SegmentDownloader(MediaItem, ParsingLoadable.Parser<M>, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloader
 
SegmentDownloader.Segment - Class in com.google.android.exoplayer2.offline
Smallest unit of content to be downloaded.
segmentIndex - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
SegmentList(RangedUri, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, long, List<RangedUri>, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
 
segments - Variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
segments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The list of segments in the playlist.
SegmentTemplate(RangedUri, long, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, long, UrlTemplate, UrlTemplate, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
 
SegmentTimelineElement(long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement
 
SeiReader - Class in com.google.android.exoplayer2.extractor.ts
Consumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.
SeiReader(List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.ts.SeiReader
 
selectAllTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelector
 
selectAllTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called from DefaultTrackSelector.selectTracks(MappedTrackInfo, int[][][], int[], MediaPeriodId, Timeline) to make a track selection for each renderer, prior to overrides and disabled flags being applied.
selectAudioTrack(TrackGroupArray, int[][], int, DefaultTrackSelector.Parameters, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
selectBaseUrl(List<BaseUrl>) - Method in class com.google.android.exoplayer2.source.dash.BaseUrlExclusionList
Selects the base URL to use from the given list.
selectedBaseUrl - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
 
selectEmbeddedTrack(long, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
Selects the embedded track, returning a new ChunkSampleStream.EmbeddedSampleStream from which the track's samples can be consumed.
SELECTION_FLAG_AUTOSELECT - Static variable in class com.google.android.exoplayer2.C
Indicates that the player may choose to play the track in absence of an explicit user preference.
SELECTION_FLAG_DEFAULT - Static variable in class com.google.android.exoplayer2.C
Indicates that the track should be selected if user preferences do not state otherwise.
SELECTION_FLAG_FORCED - Static variable in class com.google.android.exoplayer2.C
Indicates that the track should be selected if its language matches the language of the selected audio track and user preferences do not state otherwise.
SELECTION_REASON_ADAPTIVE - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for an adaptive track selection.
SELECTION_REASON_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom SELECTION_REASON_* constants greater than or equal to this value.
SELECTION_REASON_INITIAL - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for an initial track selection.
SELECTION_REASON_MANUAL - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for an manual (i.e.
SELECTION_REASON_TRICK_PLAY - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for a trick play track selection.
SELECTION_REASON_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
A selection reason constant for selections whose reasons are unknown or unspecified.
selectionFlags - Variable in class com.google.android.exoplayer2.Format
Track selection flags.
selectionFlags - Variable in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
The selection flags.
SelectionOverride(int, int...) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Constructs a SelectionOverride to override tracks of a group.
SelectionOverride(int, int[], @com.google.android.exoplayer2.trackselection.TrackSelection.Type int) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
Constructs a SelectionOverride of the given type to override tracks of a group.
selections - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
A ExoTrackSelection array containing the track selection for each renderer.
selectOtherTrack(int, TrackGroupArray, int[][], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Called by DefaultTrackSelector.selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a ExoTrackSelection for a renderer whose type is neither video, audio or text.
selectTextTrack(TrackGroupArray, int[][], DefaultTrackSelector.Parameters, String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
selectTracks(ExoTrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
 
selectTracks(ExoTrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
selectTracks(ExoTrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
 
selectTracks(ExoTrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
Performs a track selection.
selectTracks(ExoTrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
 
selectTracks(ExoTrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
 
selectTracks(RendererCapabilities[], TrackGroupArray, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
 
selectTracks(RendererCapabilities[], TrackGroupArray, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to perform a track selection.
selectTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
selectTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
Given mapped track information, returns a track selection and configuration for each renderer.
selectUndeterminedTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Whether a text track with undetermined language should be selected if no track with TrackSelectionParameters.preferredTextLanguages is available, or if TrackSelectionParameters.preferredTextLanguages is unset.
selectVideoTrack(TrackGroupArray, int[][], int, DefaultTrackSelector.Parameters, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
send() - Method in class com.google.android.exoplayer2.PlayerMessage
Sends the message.
sendAddDownload(Context, Class<? extends DownloadService>, DownloadRequest, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and adds a new download.
sendAddDownload(Context, Class<? extends DownloadService>, DownloadRequest, int, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and adds a new download.
sendEmptyMessage(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
sendEmptyMessageAtTime(int, long) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
sendEmptyMessageDelayed(int, int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
sendEvent(int, ListenerSet.Event<T>) - Method in class com.google.android.exoplayer2.util.ListenerSet
Queues a single event and immediately flushes the event queue to notify all listeners.
sendEvent(AnalyticsListener.EventTime, int, ListenerSet.Event<AnalyticsListener>) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Sends an event to registered listeners.
sendLevel - Variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
The send level for the effect.
sendMessage(PlayerMessage) - Method in interface com.google.android.exoplayer2.PlayerMessage.Sender
Sends a message.
sendMessage(PlayerMessage.Target, int, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules sending a PlayerMessage.
sendMessage(PlayerMessage.Target, int, long, boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules to send a PlayerMessage.
sendMessage(PlayerMessage.Target, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules sending a PlayerMessage.
sendMessageAtFrontOfQueue(HandlerWrapper.Message) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
SendMessages(String, PlayerMessage.Target, int, long, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SendMessages
 
SendMessages(String, PlayerMessage.Target, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.SendMessages
 
sendPauseDownloads(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and pauses all downloads.
sendRemoveAllDownloads(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and removes all downloads.
sendRemoveDownload(Context, Class<? extends DownloadService>, String, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and removes a download.
sendResumeDownloads(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and resumes all downloads.
sendSetRequirements(Context, Class<? extends DownloadService>, Requirements, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and sets the requirements that need to be met for downloads to progress.
sendSetStopReason(Context, Class<? extends DownloadService>, String, int, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service if not started already and sets the stop reason for one or all downloads.
sendToTarget() - Method in class com.google.android.exoplayer2.testutil.FakeClock.HandlerMessage
 
sendToTarget() - Method in interface com.google.android.exoplayer2.util.HandlerWrapper.Message
separateColorPlaneFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
 
seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
SequenceableLoader - Interface in com.google.android.exoplayer2.source
A loader that can proceed in approximate synchronization with other loaders.
SequenceableLoader.Callback<T extends SequenceableLoader> - Interface in com.google.android.exoplayer2.source
A callback to be notified of SequenceableLoader events.
sequenceNumber - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP sequence number field (Word 0, bits 16-31).
SERIF_NAME - Static variable in class com.google.android.exoplayer2.C
The name of the serif font family.
serverControl - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The attributes of the #EXT-X-SERVER-CONTROL header.
ServerControl(long, boolean, long, long, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
Creates a new instance.
ServerSideInsertedAdsMediaSource - Class in com.google.android.exoplayer2.source.ads
A MediaSource for server-side inserted ad breaks.
ServerSideInsertedAdsMediaSource(MediaSource) - Constructor for class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
Creates the media source.
ServerSideInsertedAdsUtil - Class in com.google.android.exoplayer2.source.ads
A static utility class with methods to work with server-side inserted ads.
serviceDescription - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The ServiceDescriptionElement, or null if not present.
ServiceDescriptionElement - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a service description element.
ServiceDescriptionElement(long, long, long, float, float) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
Creates a service description element.
serviceLocation - Variable in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
The service location.
SessionAvailabilityListener - Interface in com.google.android.exoplayer2.ext.cast
Listener of changes in the cast session availability.
SessionCallbackBuilder - Class in com.google.android.exoplayer2.ext.media2
Builds a MediaSession.SessionCallback with various collaborators.
SessionCallbackBuilder(Context, SessionPlayerConnector) - Constructor for class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Creates a new builder.
SessionCallbackBuilder.AllowedCommandProvider - Interface in com.google.android.exoplayer2.ext.media2
Provides allowed commands for MediaController.
SessionCallbackBuilder.CustomCommandProvider - Interface in com.google.android.exoplayer2.ext.media2
Callbacks for querying what custom commands are supported, and for handling a custom command when a controller sends it.
SessionCallbackBuilder.DefaultAllowedCommandProvider - Class in com.google.android.exoplayer2.ext.media2
Default implementation of SessionCallbackBuilder.AllowedCommandProvider that behaves as follows: Accepts connection requests from controller if any of the following conditions are met: Controller is in the same package as the session.
SessionCallbackBuilder.DisconnectedCallback - Interface in com.google.android.exoplayer2.ext.media2
Callback for handling controller disconnection.
SessionCallbackBuilder.MediaIdMediaItemProvider - Class in com.google.android.exoplayer2.ext.media2
A SessionCallbackBuilder.MediaItemProvider that creates media items containing only a media ID.
SessionCallbackBuilder.MediaItemProvider - Interface in com.google.android.exoplayer2.ext.media2
Provides the MediaItem.
SessionCallbackBuilder.PostConnectCallback - Interface in com.google.android.exoplayer2.ext.media2
Callback for handling extra initialization after the connection.
SessionCallbackBuilder.RatingCallback - Interface in com.google.android.exoplayer2.ext.media2
Callback receiving a user rating for a specified media id.
SessionCallbackBuilder.SkipCallback - Interface in com.google.android.exoplayer2.ext.media2
Callback receiving skip backward and skip forward.
sessionForClearTypes - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
sessionId - Variable in class com.google.android.exoplayer2.drm.FrameworkCryptoConfig
The DRM session id.
sessionKeyDrmInitData - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
DRM initialization data derived from #EXT-X-SESSION-KEY tags.
SessionPlayerConnector - Class in com.google.android.exoplayer2.ext.media2
An implementation of SessionPlayer that wraps a given ExoPlayer Player instance.
SessionPlayerConnector(Player) - Constructor for class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
Creates an instance using DefaultMediaItemConverter to convert between ExoPlayer and media2 MediaItems.
SessionPlayerConnector(Player, MediaItemConverter) - Constructor for class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
Creates an instance.
set(int, int[], int[], byte[], byte[], int, int, int) - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
 
set(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
set(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Overrides the value of the builder with the value of TrackSelectionParameters.
set(Object, MediaItem, Object, long, long, long, boolean, boolean, MediaItem.LiveConfiguration, long, long, int, int, long) - Method in class com.google.android.exoplayer2.Timeline.Window
Sets the data held by this window.
set(Object, Object, int, long, long) - Method in class com.google.android.exoplayer2.Timeline.Period
Sets the data held by this period.
set(Object, Object, int, long, long, AdPlaybackState, boolean) - Method in class com.google.android.exoplayer2.Timeline.Period
Sets the data held by this period.
set(String, byte[]) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set a metadata value.
set(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set a metadata value.
set(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set a metadata value.
set(String, String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Sets the specified property value for the specified name.
set(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
Sets the keys and values contained in the map.
setAccessibilityChannel(int) - Method in class com.google.android.exoplayer2.Format.Builder
setActionSchedule(ActionSchedule) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets an ActionSchedule to be run by the test runner.
setAdErrorListener(AdErrorEvent.AdErrorListener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets a listener for ad errors that will be passed to AdsLoader.addAdErrorListener(AdErrorListener) and BaseManager.addAdErrorListener(AdErrorListener).
setAdEventListener(AdEvent.AdEventListener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets a listener for ad events that will be passed to BaseManager.addAdEventListener(AdEventListener).
setAdGroupTimesMs(long[], boolean[], int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setAdGroupTimesMs(long[], boolean[], int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the times of ad groups and whether each ad group has been played.
setAdMarkerColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for unplayed ad markers.
setAdMediaMimeTypes(List<String>) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the MIME types to prioritize for linear ad media.
setAdPlaybackState(AdPlaybackState) - Method in class com.google.android.exoplayer2.source.ads.ServerSideInsertedAdsMediaSource
Sets the AdPlaybackState published by this source.
setAdPreloadTimeoutMs(long) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the 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.
setAdsConfiguration(MediaItem.AdsConfiguration) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional MediaItem.AdsConfiguration.
setAdsId(Object) - Method in class com.google.android.exoplayer2.MediaItem.AdsConfiguration.Builder
Sets the ads identifier.
setAdsLoaderProvider(DefaultMediaSourceFactory.AdsLoaderProvider) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the DefaultMediaSourceFactory.AdsLoaderProvider that provides AdsLoader instances for media items that have ads configurations.
setAdTagUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.AdsConfiguration.Builder
Sets the ad tag URI to load.
setAdTagUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Deprecated.
setAdTagUri(Uri, Object) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setAdTagUri(String) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Deprecated.
Use MediaItem.Builder.setAdsConfiguration(AdsConfiguration), parse the adTagUri with Uri.parse(String) and pass the result to Builder(Uri) instead.
setAdtsExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for AdtsExtractor instances created by the factory.
setAdUiElements(Set<UiElement>) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the ad UI elements to be rendered by the IMA SDK.
setAdViewProvider(AdViewProvider) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the AdViewProvider that provides information about views for the ad playback UI.
setAlbumArtist(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the album artist.
setAlbumTitle(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the album title.
setAllocator(DefaultAllocator) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the DefaultAllocator used by the loader.
setAllowAdaptiveSelections(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets whether adaptive selections (consisting of more than one track) can be made.
setAllowAdaptiveSelections(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets whether adaptive selections (consisting of more than one track) can be made using this selection view.
setAllowAudioMixedChannelCountAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to allow adaptive audio selections containing mixed channel counts.
setAllowAudioMixedMimeTypeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to allow adaptive audio selections containing mixed MIME types.
setAllowAudioMixedSampleRateAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to allow adaptive audio selections containing mixed sample rates.
setAllowChunklessPreparation(boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets whether chunkless preparation is allowed.
setAllowCrossProtocolRedirects(boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets whether to allow cross protocol redirects.
setAllowedCapturePolicy(@com.google.android.exoplayer2.C.AudioAllowedCapturePolicy int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
setAllowedCommandProvider(SessionCallbackBuilder.AllowedCommandProvider) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.AllowedCommandProvider to provide allowed commands for controllers.
setAllowedVideoJoiningTimeMs(long) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets the maximum duration for which video renderers can attempt to seamlessly join an ongoing playback.
setAllowMultipleAdaptiveSelections(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether multiple adaptive selections with more than one track are allowed.
setAllowMultipleOverrides(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets whether multiple overrides can be set and selected, i.e.
setAllowMultipleOverrides(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets whether tracks from multiple track groups can be selected.
setAllowPreparation(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
setAllowVideoMixedMimeTypeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to allow adaptive video selections containing mixed MIME types.
setAllowVideoNonSeamlessAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to allow adaptive video selections where adaptation may not be completely seamless.
setAmrExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for AmrExtractor instances created by the factory.
setAnalyticsCollector(AnalyticsCollector) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the AnalyticsCollector that will collect and forward all player events.
setAnalyticsCollector(AnalyticsCollector) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets an AnalyticsListener to be registered.
setAnimationEnabled(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether an animation is used to show and hide the playback controls.
setApplyEmbeddedFontSizes(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets whether font sizes embedded within the cues should be applied.
setApplyEmbeddedStyles(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets whether styling embedded within the cues should be applied.
setArtist(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the artist.
setArtworkData(byte[]) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
setArtworkData(byte[], Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the artwork data as a compressed byte array with an associated artworkDataType.
setArtworkUri(Uri) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the artwork Uri.
setAspectRatio(float) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
Sets the aspect ratio that this view should satisfy.
setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.PlayerView
setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
setAudioAttributes(AudioAttributesCompat) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
setAudioAttributes(AudioAttributes) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets attributes for audio playback.
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setAudioAttributes(AudioAttributes, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets AudioAttributes that will be used by the player and whether to handle audio focus.
setAudioAttributes(AudioAttributes, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets the attributes for audio playback, used by the underlying audio track.
setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules application of audio attributes.
setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
SetAudioAttributes(String, AudioAttributes, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetAudioAttributes
 
setAudioMimeType(String) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the audio MIME type of the output.
setAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the audio session id.
setAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setAudioSessionId(int) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
setAudioSessionId(int) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets the ID of the audio session to attach to the underlying AudioTrack.
setAudioSessionId(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setAudioSessionId(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the auxiliary effect.
setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets information on an auxiliary audio effect to attach to the underlying audio track.
setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setAverageBitrate(int) - Method in class com.google.android.exoplayer2.Format.Builder
setBackBuffer(int, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the back buffer duration, and whether the back buffer is retained from the previous keyframe.
setBackgroundColor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setBadgeIconType(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the badge icon type of the notification.
setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the BandwidthMeter that will be used by the player.
setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the BandwidthMeter.
setBitmap(Bitmap) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the cue image.
setBitmapHeight(float) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the bitmap height as a fraction of the viewport size.
setBold(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setBottomPaddingFraction(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the bottom padding fraction to apply when Cue.line is Cue.DIMEN_UNSET, as a fraction of the view's remaining height after its top and bottom padding have been subtracted.
setBuffer(float[], int) - Method in class com.google.android.exoplayer2.util.GlUtil.Attribute
Configures GlUtil.Attribute.bind() to attach vertices in buffer (each of size size elements) to this GlUtil.Attribute.
setBufferDurationsMs(int, int, int, int) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the buffer duration parameters.
setBufferedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the portion of the time bar after the current played position up to the current buffered position.
setBufferedPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setBufferedPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the buffered position.
setBufferSize(int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink.Factory
Sets the size of an in-memory buffer used when writing to a cache file.
setBytesDownloaded(long) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setCache(Cache) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink.Factory
Sets the cache to which data will be written.
setCache(Cache) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the cache that will be used.
setCacheControl(CacheControl) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
Sets the CacheControl that will be used.
setCacheKey(String) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setCacheKeyFactory(CacheKeyFactory) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the CacheKeyFactory.
setCacheReadDataSourceFactory(DataSource.Factory) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the DataSource.Factory for DataSources for reading from the cache.
setCacheWriteDataSinkFactory(DataSink.Factory) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the DataSink.Factory for generating DataSinks for writing data to the cache.
setCallback(ActionSchedule.PlayerTarget.Callback) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget
 
setCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets a listener of camera motion events.
setCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
setCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setCaptionCallback(MediaSessionConnector.CaptionCallback) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the MediaSessionConnector.CaptionCallback to handle requests to enable or disable captions.
setChangeFrameRateStrategy(int) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
setChannelCount(int) - Method in class com.google.android.exoplayer2.Format.Builder
setChannelDescriptionResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The description of the channel.
setChannelImportance(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The importance of the channel.
setChannelNameResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The name of the channel.
setClipEndPositionMs(long) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setClippingConfiguration(MediaItem.ClippingConfiguration) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setClippingError(ClippingMediaSource.IllegalClippingException) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
Sets a clipping error detected by the media source so that it can be thrown as a period error at the next opportunity.
setClipRelativeToDefaultPosition(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setClipRelativeToLiveWindow(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setClipStartPositionMs(long) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setClipStartsAtKeyFrame(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setClock(Clock) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the Clock that will be used by the player.
setClock(Clock) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated.
setClock(Clock) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setClock(Clock) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the Clock to be used by the player.
setClock(Clock) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the clock used to estimate bandwidth from data transfers.
setCodecs(String) - Method in class com.google.android.exoplayer2.Format.Builder
setColor(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the accent color of the notification.
setColorInfo(ColorInfo) - Method in class com.google.android.exoplayer2.Format.Builder
setColorized(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the notification should be colorized.
setCombineUpright(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setCompanionAdSlots(Collection<CompanionAdSlot>) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the slots to use for companion ads, if they are present in the loaded ad.
setCompilation(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the compilation.
setComposer(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the composer.
setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Sets the factory to create composite SequenceableLoaders for when this media source loads data from multiple streams (video, audio etc...).
setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the factory to create composite SequenceableLoaders for when this media source loads data from multiple streams (video, audio etc...).
setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Sets the factory to create composite SequenceableLoaders for when this media source loads data from multiple streams (video, audio etc.).
setConductor(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the conductor.
setConnectionTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets the connect timeout, in milliseconds.
setConnectTimeoutMs(int) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets the connect timeout, in milliseconds.
setConstantBitrateSeekingAlwaysEnabled(boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Convenience method to set whether approximate seeking using constant bitrate assumptions should be enabled for all extractors that support it, and if it should be enabled even if the content length (and hence the duration of the media) is unknown.
setConstantBitrateSeekingEnabled(boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Convenience method to set whether approximate seeking using constant bitrate assumptions should be enabled for all extractors that support it.
setContainerMimeType(String) - Method in class com.google.android.exoplayer2.Format.Builder
setContent(long, Subtitle, long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
Sets the content of the output buffer, consisting of a Subtitle and associated metadata.
setContentLength(long) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setContentLength(ContentMetadataMutations, long) - Static method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set the ContentMetadata.KEY_CONTENT_LENGTH value, or to remove any existing value if C.LENGTH_UNSET is passed.
setContentType(@com.google.android.exoplayer2.C.AudioContentType int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
 
setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets a content type Predicate.
setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
Deprecated.
setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
Sets a content type Predicate.
setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets a content type Predicate.
setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
setContext(Context) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the Context.
setContext(Context) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets the Context.
setContinueLoadingCheckIntervalBytes(int) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Sets the number of bytes that should be loaded between each invocation of SequenceableLoader.Callback.onContinueLoadingRequested(SequenceableLoader).
setControllerAutoShow(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
setControllerAutoShow(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the playback controls are automatically shown when playback starts, pauses, ends, or fails.
setControllerHideDuringAds(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls are hidden when ads are playing.
setControllerHideDuringAds(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the playback controls are hidden when ads are playing.
setControllerHideOnTouch(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls are hidden by touch events.
setControllerHideOnTouch(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the playback controls are hidden by touch events.
setControllerOnFullScreenModeChangedListener(StyledPlayerControlView.OnFullScreenModeChangedListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
setControllerShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the playback controls timeout.
setControllerShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets the playback controls timeout.
setControllerVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerView
setControllerVisibilityListener(StyledPlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
setCryptoType(@com.google.android.exoplayer2.C.CryptoType int) - Method in class com.google.android.exoplayer2.Format.Builder
setCsdBuffers(MediaFormat, List<byte[]>) - Static method in class com.google.android.exoplayer2.util.MediaFormatUtil
Sets a MediaFormat's codec specific data buffers.
setCsrc(byte[]) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the cues to be displayed by the view.
setCurrentPosition(long) - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
Sets the absolute position in the resource from which the wrapped DataReader reads.
setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
 
setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
setCurrentStreamFinal() - Method in interface com.google.android.exoplayer2.Renderer
Signals to the renderer that the current SampleStream will be the final one supplied before it is next disabled or reset.
setCustomActionProviders(MediaSessionConnector.CustomActionProvider...) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets custom action providers.
setCustomActionReceiver(PlayerNotificationManager.CustomActionReceiver) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
setCustomCacheKey(String) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional custom cache key (only used for progressive streams).
setCustomCacheKey(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest.Builder
setCustomCacheKey(String) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
setCustomCommandProvider(SessionCallbackBuilder.CustomCommandProvider) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.CustomCommandProvider to handle incoming custom commands.
setCustomData(Object) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setCustomErrorMessage(CharSequence) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets a custom error on the session.
setCustomErrorMessage(CharSequence) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets a custom error message to be displayed by the view.
setCustomErrorMessage(CharSequence) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets a custom error message to be displayed by the view.
setCustomErrorMessage(CharSequence, int) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets a custom error on the session.
setCustomErrorMessage(CharSequence, int, Bundle) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets a custom error on the session.
setCustomMetadata(byte[]) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setData(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadRequest.Builder
setData(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
 
setData(byte[]) - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
Sets the data served by this resource.
setData(Uri, byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Sets the given data for the given uri.
setData(String, byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Sets the given data for the given uri.
setDataReader(DataReader, long) - Method in class com.google.android.exoplayer2.source.mediaparser.InputReaderAdapterV30
Sets the wrapped DataReader.
setDebugLoggingEnabled(boolean) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Sets whether to log RTSP messages, the default value is false.
setDebugModeEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets whether to enable outputting verbose logs for the IMA extension and IMA SDK.
setDecoderOutputMode(int) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
setDecoderOutputMode(int) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
setDecoderOutputMode(int) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Sets output mode of the decoder.
setDeduplicateConsecutiveFormats(boolean) - Method in class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig.Builder
 
setDefaultArtwork(Drawable) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the default artwork to display if useArtwork is true and no artwork is present in the media.
setDefaultArtwork(Drawable) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets the default artwork to display if useArtwork is true and no artwork is present in the media.
setDefaultRequestProperties(Map<String, String>) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
 
setDefaultRequestProperties(Map<String, String>) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
 
setDefaultRequestProperties(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
 
setDefaultRequestProperties(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
 
setDefaultRequestProperties(Map<String, String>) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
Sets the default request headers for HttpDataSource instances created by the factory.
setDefaults(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the defaults.
setDefaultStereoMode(int) - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
Sets the default stereo mode.
setDeleteAfterDelivery(boolean) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets whether the message will be deleted after delivery.
setDescription(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the description.
setDetachSurfaceTimeoutMs(long) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets a timeout for detaching a surface from the player.
setDetachSurfaceTimeoutMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setDeviceMuted(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated.
setDeviceMuted(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setDeviceMuted(boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setDeviceMuted(boolean) - Method in interface com.google.android.exoplayer2.Player
Sets the mute state of the device.
setDeviceMuted(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setDeviceMuted(boolean) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setDeviceVolume(int) - Method in interface com.google.android.exoplayer2.ExoPlayer.DeviceComponent
Deprecated.
setDeviceVolume(int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setDeviceVolume(int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setDeviceVolume(int) - Method in interface com.google.android.exoplayer2.Player
Sets the volume of the device.
setDeviceVolume(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setDeviceVolume(int) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setDisabledTextTrackSelectionFlags(@com.google.android.exoplayer2.C.SelectionFlags int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets a bitmask of selection flags that are disabled for text track selections.
setDisabledTrackTypes(Set<Integer>) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setDisabledTrackTypes(Set<Integer>) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the disabled track types, preventing all tracks of those types from being selected for playback.
setDiscNumber(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the disc number.
setDisconnectedCallback(SessionCallbackBuilder.DisconnectedCallback) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.DisconnectedCallback to handle cleaning up controller.
setDiscontinuityPositionUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Sets a discontinuity position to be returned from the next call to FakeMediaPeriod.readDiscontinuity().
setDispatchUnsupportedActionsEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets whether actions that are not advertised to the MediaSessionCompat will be dispatched either way.
setDisplayTitle(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the display title.
setDownloadingStatesToQueued() - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
setDownloadingStatesToQueued() - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
setDrmConfiguration(MediaItem.DrmConfiguration) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional DRM configuration.
setDrmForceDefaultLicenseUri(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider
Sets the HttpDataSource.Factory to be used for creating HttpMediaDrmCallbacks which executes key and provisioning requests over HTTP.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Deprecated.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Deprecated.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Deprecated.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Deprecated.
Use MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider) and pass an implementation that configures the returned DrmSessionManager with the desired HttpDataSource.Factory.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Deprecated.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Deprecated.
RtspMediaSource does not support DRM.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Deprecated.
setDrmHttpDataSourceFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
Deprecated.
setDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format.Builder
setDrmKeySetId(byte[]) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmLicenseRequestHeaders(Map<String, String>) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmLicenseUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmLicenseUri(String) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmMultiSession(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmPlayClearContentWithoutKey(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmSessionForClearPeriods(boolean) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmSessionForClearTypes(List<Integer>) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Deprecated.
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Deprecated.
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Deprecated.
setDrmSessionManager(DrmSessionManager) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Deprecated.
Use MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider) and pass an implementation that always returns the same instance.
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Deprecated.
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Deprecated.
RtspMediaSource does not support DRM.
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Deprecated.
setDrmSessionManager(DrmSessionManager) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
Deprecated.
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
 
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
 
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
 
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Sets the DrmSessionManagerProvider used to obtain a DrmSessionManager for a MediaItem.
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
 
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Does nothing.
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
 
setDrmSessionManagerProvider(DrmSessionManagerProvider) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
 
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider
Sets the optional user agent to be used for DRM requests.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Deprecated.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Deprecated.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Deprecated.
setDrmUserAgent(String) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Deprecated.
Use MediaSourceFactory.setDrmSessionManagerProvider(DrmSessionManagerProvider) and pass an implementation that configures the returned DrmSessionManager with the desired userAgent.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Deprecated.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Deprecated.
RtspMediaSource does not support DRM.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Deprecated.
setDrmUserAgent(String) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
Deprecated.
setDrmUuid(UUID) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Deprecated.
setDumpFilesPrefix(String) - Method in class com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig.Builder
 
setDuration(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setDuration(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the duration.
setDurationUs(long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource.Factory
Sets the duration of the silent audio.
setEnableAudioFloatOutput(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets whether floating point audio should be output when possible.
setEnableAudioOffload(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets whether audio should be played using the offload path.
setEnableAudioTrackPlaybackParams(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets whether to enable setting playback speed using AudioTrack.setPlaybackParams(PlaybackParams), which is supported from API level 23, rather than using application-level audio speed adjustment.
setEnableContinuousPlayback(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets whether to enable continuous playback.
setEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Sets whether to skip silence in the input.
setEnabled(boolean) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setEnabled(boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar
 
setEnableDecoderFallback(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets whether to enable fallback to lower-priority decoders if decoder initialization fails.
setEnabledPlaybackActions(long) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the enabled playback actions.
setEncoderDelay(int) - Method in class com.google.android.exoplayer2.Format.Builder
setEncoderPadding(int) - Method in class com.google.android.exoplayer2.Format.Builder
setEndPositionMs(long) - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Sets the optional end position in milliseconds which must be a value larger than or equal to zero, or C.TIME_END_OF_SOURCE to end when playback reaches the end of media (Default: C.TIME_END_OF_SOURCE).
setEnforceValidKeyResponses(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.Builder
Sets whether key responses passed to FakeExoMediaDrm.provideKeyResponse(byte[], byte[]) should be checked for validity (i.e.
setErrorMessageProvider(ErrorMessageProvider<? super PlaybackException>) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
Sets the optional ErrorMessageProvider.
setErrorMessageProvider(ErrorMessageProvider<? super PlaybackException>) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the optional ErrorMessageProvider.
setErrorMessageProvider(ErrorMessageProvider<? super PlaybackException>) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the optional ErrorMessageProvider.
setErrorMessageProvider(ErrorMessageProvider<? super PlaybackException>) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets the optional ErrorMessageProvider.
setEventListener(CacheDataSource.EventListener) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the {link EventListener} to which events are delivered.
setExceedAudioConstraintsIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setExceedRendererCapabilitiesIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to exceed renderer capabilities when no selection can be made otherwise.
setExceedVideoConstraintsIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setExpectedBytes(byte[]) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
Sets the expected contents of this resource.
setExpectedPlayerEndedCount(int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets the number of times the test runner is expected to reach the Player.STATE_ENDED or Player.STATE_IDLE.
setExtensionRendererMode(int) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets the extension renderer mode, which determines if and how available extension renderers are used.
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets the millisecond positions of extra ad markers relative to the start of the window (or timeline, if in multi-window mode) and whether each extra ad has been played or not.
setExtractorFactory(HlsExtractorFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the factory for Extractors for the segments.
setExtractorOutput(ExtractorOutput) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Sets the ExtractorOutput to which MediaParser's output is directed.
setExtractorsFactory(ExtractorsFactory) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
Deprecated.
Pass the ExtractorsFactory via Factory(DataSource.Factory, ExtractorsFactory). This is necessary so that proguard can treat the default extractors factory as unused.
setExtras(Bundle) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the extras Bundle.
setFailureReason(int) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setFakeDataSet(FakeDataSet) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
setFallbackFactory(HttpDataSource.Factory) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Deprecated.
Do not use CronetDataSource or its factory in cases where a suitable CronetEngine is not available. Use the fallback factory directly in such cases.
setFallbackMaxPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the maximum playback speed that should be used if no maximum playback speed is defined by the media.
setFallbackMinPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the minimum playback speed that should be used if no minimum playback speed is defined by the media.
setFallbackTargetLiveOffsetMs(long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Sets the target offset for live streams that is used if no value is defined in the MediaItem or the manifest.
setFastForwardActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_FAST_FORWARD.
setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the fast forward increment in milliseconds.
setFinalStreamEndPositionUs(long) - Method in class com.google.android.exoplayer2.text.TextRenderer
Sets the position at which to stop rendering the current stream.
setFixedTextSize(int, float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to a given unit and value.
setFlacExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for FlacExtractor instances created by the factory.
setFlags(@com.google.android.exoplayer2.C.AudioFlags int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
 
setFlags(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
Replaces this buffer's flags with flags.
setFlags(int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
setFlags(int) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
Sets the DataSpec.flags.
setFlattenForSlowMotion(boolean) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets whether the input should be flattened for media containing slow motion markers.
setFlattenForSlowMotion(boolean) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets whether the input should be flattened for media containing slow motion markers.
setFloat(float) - Method in class com.google.android.exoplayer2.util.GlUtil.Uniform
Configures GlUtil.Uniform.bind() to use the specified float value for this uniform.
setFloats(float[]) - Method in class com.google.android.exoplayer2.util.GlUtil.Uniform
Configures GlUtil.Uniform.bind() to use the specified float[] value for this uniform.
setFocusSkipButtonWhenAvailable(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets whether to focus the skip button (when available) on Android TV devices.
setFolderType(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
setFontColor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setFontFamily(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setFontSize(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setFontSizeUnit(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setForceDefaultLicenseUri(boolean) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets whether to always use the default DRM license server URI even if the media specifies its own DRM license server URI.
setForcedSessionTrackTypes(List<Integer>) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets a list of track type constants for which to use a DRM session even when the tracks are in the clear.
setForceHighestSupportedBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setForceHighestSupportedBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets whether to force selection of the highest bitrate audio and video tracks that comply with all other constraints.
setForceLowestBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setForceLowestBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets whether to force selection of the single lowest bitrate audio and video tracks that comply with all other constraints.
setForceUseRtpTcp(boolean) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Sets whether to force using TCP as the default RTP transport.
setForegroundMode(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets whether the player is allowed to keep holding limited resources such as video decoders, even when in the idle state.
setForegroundMode(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setForegroundMode(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setForHeaderData(int) - Method in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
Populates the fields in this instance to reflect the MPEG audio header in headerData, returning whether the header was valid.
setFractionalTextSize(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to be a fraction of the view's remaining height after its top and bottom padding have been subtracted.
setFractionalTextSize(float, boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size to be a fraction of the height of this view.
setFragmentedMp4ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for FragmentedMp4Extractor instances created by the factory.
setFragmentSize(long) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink.Factory
Sets the cache file fragment size.
setFrameRate(float) - Method in class com.google.android.exoplayer2.Format.Builder
setFromMetadata(Metadata) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
Populates the holder with data parsed from ID3 Metadata.
setFromXingHeaderValue(int) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
Populates the holder with data from an MP3 Xing header, if valid and non-zero.
setGenre(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the genre.
setGroup(String) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The key of the group the media notification should belong to.
setGzipSupport(int) - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
Sets the level of gzip support for this resource.
setHandleAudioBecomingNoisy(boolean) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets whether the player should pause automatically when audio is rerouted from a headset to device speakers.
setHandleAudioBecomingNoisy(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets whether the player should pause automatically when audio is rerouted from a headset to device speakers.
setHandleAudioBecomingNoisy(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setHandleAudioBecomingNoisy(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setHandleAudioBecomingNoisy(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setHandler(Handler) - Method in class com.google.android.exoplayer2.PlayerMessage
Deprecated.
setHandleSetCookieRequests(boolean) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets whether "Set-Cookie" requests on redirect should be forwarded to the redirect url in the "Cookie" header.
setHandleWakeLock(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
setHandleWakeLock(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
setHandleWakeLock(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
setHeight(int) - Method in class com.google.android.exoplayer2.Format.Builder
setHttpBody(byte[]) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setHttpMethod(int) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setHttpRequestHeaders(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setId(int) - Method in class com.google.android.exoplayer2.Format.Builder
setId(String) - Method in class com.google.android.exoplayer2.Format.Builder
Sets Format.id.
setImaSdkSettings(ImaSdkSettings) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the IMA SDK settings.
setIndex(int) - Method in class com.google.android.exoplayer2.BaseRenderer
 
setIndex(int) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
setIndex(int) - Method in interface com.google.android.exoplayer2.Renderer
Sets the index of this renderer within the player.
setInfo(String) - Method in class com.google.android.exoplayer2.testutil.AdditionalFailureInfo
Sets the additional info to be added to any test failures.
setInitialBitrateEstimate(int, long) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the initial bitrate estimate in bits per second that should be assumed when a bandwidth estimate is unavailable and the current network connection is of the specified type.
setInitialBitrateEstimate(long) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the initial bitrate estimate in bits per second that should be assumed when a bandwidth estimate is unavailable.
setInitialBitrateEstimate(String) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the initial bitrate estimates to the default values of the specified country.
setInitialInputBufferSize(int) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
Sets the initial size of each input buffer.
setInitializationData(List<byte[]>) - Method in class com.google.android.exoplayer2.Format.Builder
setIsDisabled(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets whether the selection is initially shown as disabled.
setIsNetwork(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
 
setIsPlayable(Boolean) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets whether the media is playable.
setItalic(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setKeepContentOnPlayerReset(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the currently displayed video frame or media artwork is kept visible when the player is reset.
setKeepContentOnPlayerReset(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the currently displayed video frame or media artwork is kept visible when the player is reset.
setKeepPostFor302Redirects(boolean) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets whether we should keep the POST method and body when we have HTTP 302 redirects for a POST request.
setKeepPostFor302Redirects(boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets whether we should keep the POST method and body when we have HTTP 302 redirects for a POST request.
setKey(String) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
Sets the DataSpec.key.
setKeyCountIncrement(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setKeyCountIncrement(int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the position increment for key presses and accessibility actions, as a number of increments that divide the duration of the media.
setKeyRequestParameters(Map<String, String>) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets the key request parameters to pass as the last argument to ExoMediaDrm.getKeyRequest(byte[], List, int, HashMap).
setKeyRequestProperty(String, String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
Sets a header for key requests made by the callback.
setKeySetId(byte[]) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets the key set ID of the offline license.
setKeySetId(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadRequest.Builder
setKeySetId(byte[]) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setKeyTimeIncrement(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setKeyTimeIncrement(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the position increment for key presses and accessibility actions, in milliseconds.
setLabel(String) - Method in class com.google.android.exoplayer2.Format.Builder
setLabel(String) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Sets the optional label for this subtitle track.
setLanguage(String) - Method in class com.google.android.exoplayer2.Format.Builder
setLanguage(String) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Sets the optional language of the subtitle file.
setLength(long) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
Sets the DataSpec.length.
setLibraries(@com.google.android.exoplayer2.C.CryptoType int, String...) - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Override the names of the Opus native libraries.
setLibraries(@com.google.android.exoplayer2.C.CryptoType int, String...) - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Override the names of the Vpx native libraries.
setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Override the names of the FFmpeg native libraries.
setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.flac.FlacLibrary
Override the names of the Flac native libraries.
setLibraries(String...) - Method in class com.google.android.exoplayer2.util.LibraryLoader
Overrides the names of the libraries to load.
setLicenseRequestHeaders(Map<String, String>) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets the optional request headers attached to DRM license requests.
setLicenseUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets the optional default DRM license server URI.
setLicenseUri(String) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets the optional default DRM license server URI.
setLimit(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Sets the limit.
setLine(float, @com.google.android.exoplayer2.text.Cue.LineType int) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the position of the cue box within the viewport in the direction orthogonal to the writing direction.
setLineAnchor(@com.google.android.exoplayer2.text.Cue.AnchorType int) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the cue box anchor positioned by line.
setLinethrough(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setListener(PlaybackSessionManager.Listener) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
setListener(PlaybackSessionManager.Listener) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Sets the listener to be notified of session updates.
setListener(AudioSink.Listener) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the listener for sink events, which should be the audio renderer.
setListener(AudioSink.Listener) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setListener(AudioSink.Listener) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setListener(TranscodingTransformer.Listener) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the TranscodingTransformer.Listener to listen to the transformation events.
setListener(TranscodingTransformer.Listener) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Sets the TranscodingTransformer.Listener to listen to the transformation events.
setListener(Transformer.Listener) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets the Transformer.Listener to listen to the transformation events.
setListener(Transformer.Listener) - Method in class com.google.android.exoplayer2.transformer.Transformer
Sets the Transformer.Listener to listen to the transformation events.
setListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.FileDataSource.Factory
Sets a TransferListener for FileDataSource instances created by this factory.
setLiveConfiguration(MediaItem.LiveConfiguration) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
 
setLiveConfiguration(MediaItem.LiveConfiguration) - Method in interface com.google.android.exoplayer2.LivePlaybackSpeedControl
Sets the live configuration defined by the media.
setLiveConfiguration(MediaItem.LiveConfiguration) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setLiveMaxOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setLiveMaxOffsetMs(long) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the maximum offset from the live edge for live streams, in milliseconds.
setLiveMaxPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setLiveMaxSpeed(float) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the maximum playback speed for live streams.
setLiveMinOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setLiveMinOffsetMs(long) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the minimum offset from the live edge for live streams, in milliseconds.
setLiveMinPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setLiveMinSpeed(float) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the minimum playback speed for live streams.
setLivePlaybackSpeedControl(LivePlaybackSpeedControl) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the LivePlaybackSpeedControl that will control the playback speed when playing live streams, in order to maintain a steady target offset from the live stream edge.
setLivePlaybackSpeedControl(LivePlaybackSpeedControl) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setLivePresentationDelayMs(long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Sets the duration in milliseconds by which the default start position should precede the end of the live window for live playbacks.
setLivePresentationDelayMs(long, boolean) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
setLiveTargetOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.Builder
setLiveTargetOffsetMs(long) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
Sets the target live offset for live streams, in milliseconds.
setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the LoadControl that will be used by the player.
setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets a LoadControl to be used by the player.
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets the LoadErrorHandlingPolicy for key and provisioning requests.
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
 
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Sets an optional LoadErrorHandlingPolicy.
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Does nothing.
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSourceFactory
 
setLogLevel(int) - Static method in class com.google.android.exoplayer2.util.Log
Sets the Log.LogLevel for ExoPlayer logcat logging.
setLogStackTraces(boolean) - Static method in class com.google.android.exoplayer2.util.Log
Sets whether stack traces of Throwables will be logged to logcat.
setLooper(Looper) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the Looper that must be used for all calls to the player and that is used to call listeners on.
setLooper(Looper) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets the Looper the message is delivered on.
setLooper(Looper) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated.
setLooper(Looper) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the Looper to be used by the player.
setLooper(Looper) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the Looper that must be used for all calls to the transcoding transformer and that is used to call listeners on.
setLooper(Looper) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets the Looper that must be used for all calls to the transformer and that is used to call listeners on.
setManifest(Object) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets a manifest to be used by a FakeMediaSource in the test runner.
setManifestParser(ParsingLoadable.Parser<? extends DashManifest>) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
Sets the manifest parser to parse loaded manifest data when loading a manifest URI.
setManifestParser(ParsingLoadable.Parser<? extends SsManifest>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
Sets the manifest parser to parse loaded manifest data when loading a manifest URI.
setMarker(boolean) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setMatroskaExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for MatroskaExtractor instances created by the factory.
setMaxAudioBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMaxAudioBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the maximum allowed audio bitrate.
setMaxAudioChannelCount(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMaxAudioChannelCount(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the maximum allowed audio channel count.
setMaxConcurrentSessions(int) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.Builder
Sets the maximum number of concurrent sessions the FakeExoMediaDrm will support.
setMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format.Builder
setMaxLiveOffsetErrorMsForUnitSpeed(long) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the maximum difference between the current live offset and the target live offset, in milliseconds, for which unit speed (1.0f) is used.
setMaxMediaBitrate(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the media maximum recommended bitrate for ads, in bps.
setMaxOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Sets the maximum allowed live offset, in milliseconds.
setMaxParallelDownloads(int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Sets the maximum number of parallel downloads.
setMaxPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Sets the maximum playback speed.
setMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the maximum allowed video bitrate.
setMaxVideoFrameRate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMaxVideoFrameRate(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the maximum allowed video frame rate.
setMaxVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMaxVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the maximum allowed video width and height.
setMaxVideoSizeSd() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMaxVideoSizeSd() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
setMediaButtonEventHandler(MediaSessionConnector.MediaButtonEventHandler) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
setMediaCodecSelector(MediaCodecSelector) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
Sets a MediaCodecSelector for use by MediaCodec based renderers.
setMediaDescriptionAdapter(PlayerNotificationManager.MediaDescriptionAdapter) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The PlayerNotificationManager.MediaDescriptionAdapter to be queried for the notification contents.
setMediaId(String) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional media ID which identifies the media item.
setMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
setMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.BasePlayer
 
setMediaItem(MediaItem) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setMediaItem(MediaItem) - Method in interface com.google.android.exoplayer2.Player
Clears the playlist, adds the specified MediaItem and resets the position to the default position.
setMediaItem(MediaItem, boolean) - Method in class com.google.android.exoplayer2.BasePlayer
 
setMediaItem(MediaItem, boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setMediaItem(MediaItem, boolean) - Method in interface com.google.android.exoplayer2.Player
Clears the playlist and adds the specified MediaItem.
setMediaItem(MediaItem, long) - Method in class com.google.android.exoplayer2.BasePlayer
 
setMediaItem(MediaItem, long) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setMediaItem(MediaItem, long) - Method in interface com.google.android.exoplayer2.Player
Clears the playlist and adds the specified MediaItem.
setMediaItemProvider(SessionCallbackBuilder.MediaItemProvider) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.MediaItemProvider that will convert media ids to MediaItems.
setMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.BasePlayer
 
setMediaItems(List<MediaItem>) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setMediaItems(List<MediaItem>) - Method in interface com.google.android.exoplayer2.Player
Clears the playlist, adds the specified MediaItems and resets the position to the default position.
setMediaItems(List<MediaItem>, boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setMediaItems(List<MediaItem>, boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setMediaItems(List<MediaItem>, boolean) - Method in interface com.google.android.exoplayer2.Player
Clears the playlist and adds the specified MediaItems.
setMediaItems(List<MediaItem>, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaItems(List<MediaItem>, boolean) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setMediaItems(List<MediaItem>, int, long) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setMediaItems(List<MediaItem>, int, long) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setMediaItems(List<MediaItem>, int, long) - Method in interface com.google.android.exoplayer2.Player
Clears the playlist and adds the specified MediaItems.
setMediaItems(List<MediaItem>, int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaItems(List<MediaItem>, int, long) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
SetMediaItems(String, int, long, MediaSource...) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetMediaItems
 
SetMediaItemsResetPosition(String, boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetMediaItemsResetPosition
 
setMediaLoadTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the ad media load timeout, in milliseconds.
setMediaMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the media metadata.
setMediaMetadataProvider(MediaSessionConnector.MediaMetadataProvider) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets a provider of metadata to be published to the media session.
setMediaSessionToken(MediaSessionCompat.Token) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the MediaSessionCompat.Token.
setMediaSource(MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the playlist, adds the specified MediaSource and resets the position to the default position.
setMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Sets the MediaSource that will create the underlying media period.
setMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setMediaSource(MediaSource, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the playlist and adds the specified MediaSource.
setMediaSource(MediaSource, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaSource(MediaSource, boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setMediaSource(MediaSource, long) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the playlist and adds the specified MediaSource.
setMediaSource(MediaSource, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaSource(MediaSource, long) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setMediaSourceFactory(MediaSourceFactory) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the MediaSourceFactory that will be used by the player.
setMediaSourceFactory(MediaSourceFactory) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setMediaSourceFactory(MediaSourceFactory) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the MediaSourceFactory to be used by the player.
setMediaSourceFactory(MediaSourceFactory) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the MediaSourceFactory to be used to retrieve the inputs to transform.
setMediaSourceFactory(MediaSourceFactory) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets the MediaSourceFactory to be used to retrieve the inputs to transform.
setMediaSources(boolean, MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a set media items action to be executed.
setMediaSources(int, long, MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a set media items action to be executed.
setMediaSources(MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a set media items action to be executed.
setMediaSources(MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets the MediaSources to be used by the test runner.
setMediaSources(List<MediaSource>) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the playlist, adds the specified MediaSources and resets the position to the default position.
setMediaSources(List<MediaSource>) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaSources(List<MediaSource>) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setMediaSources(List<MediaSource>, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the playlist and adds the specified MediaSources.
setMediaSources(List<MediaSource>, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaSources(List<MediaSource>, boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setMediaSources(List<MediaSource>, int, long) - Method in interface com.google.android.exoplayer2.ExoPlayer
Clears the playlist and adds the specified MediaSources.
setMediaSources(List<MediaSource>, int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setMediaSources(List<MediaSource>, int, long) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setMediaUri(Uri) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the media Uri.
setMetadata(Metadata) - Method in class com.google.android.exoplayer2.Format.Builder
setMetadataDeduplicationEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets whether MediaSessionConnector.MediaMetadataProvider.sameAs(MediaMetadataCompat, MediaMetadataCompat) should be consulted before calling MediaSessionCompat.setMetadata(MediaMetadataCompat).
setMetadataType(@com.google.android.exoplayer2.source.hls.HlsMediaSource.MetadataType int) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the type of metadata to extract from the HLS source (defaults to HlsMediaSource.METADATA_TYPE_ID3).
setMimeType(String) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional MIME type.
setMimeType(String) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Sets the MIME type.
setMimeType(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest.Builder
setMimeType(String) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setMinOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Sets the minimum allowed live offset, in milliseconds.
setMinPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Sets the minimum playback speed.
setMinPossibleLiveOffsetSmoothingFactor(float) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the smoothing factor when smoothing the minimum possible live offset that can be achieved during playback.
setMinRetryCount(int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Sets the minimum number of times that a download will be retried.
setMinUpdateIntervalMs(long) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the minimum interval between playback speed changes, in milliseconds.
setMinVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMinVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the minimum allowed video bitrate.
setMinVideoFrameRate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMinVideoFrameRate(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the minimum allowed video frame rate.
setMinVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setMinVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the minimum allowed video width and height.
setMode(int, byte[]) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
Sets the mode, which determines the role of sessions acquired from the instance.
setMp3ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for Mp3Extractor instances created by the factory.
setMp4ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for Mp4Extractor instances created by the factory.
setMultiRowAlignment(Layout.Alignment) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the multi-row alignment of the cue.
setMultiSession(boolean) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets whether this session manager is allowed to acquire multiple simultaneous sessions.
setMultiSession(boolean) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets whether multi session is enabled.
setMuxedCaptionFormats(List<Format>) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Sets Format information associated to the caption tracks multiplexed in the media.
setName(String) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
Sets a human-readable name for this resource which will be shown in test failure messages.
setNetworkTypeOverride(int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
Overrides the network type.
setNewSourceInfo(Timeline) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Sets a new timeline.
setNewSourceInfo(Timeline, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
Sets a new timeline.
setNextActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_NEXT.
setNotification(Context, int, Notification) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
Post a notification to be shown in the status bar.
setNotificationListener(PlayerNotificationManager.NotificationListener) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
setNtpHost(String) - Static method in class com.google.android.exoplayer2.util.SntpClient
Sets the NTP host address used to retrieve SntpClient.getElapsedRealtimeOffsetMs().
setOnEventListener(ExoMediaDrm.OnEventListener) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
setOnEventListener(ExoMediaDrm.OnEventListener) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Sets the listener for DRM events.
setOnEventListener(ExoMediaDrm.OnEventListener) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setOnEventListener(ExoMediaDrm.OnEventListener) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
setOnExpirationUpdateListener(ExoMediaDrm.OnExpirationUpdateListener) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
setOnExpirationUpdateListener(ExoMediaDrm.OnExpirationUpdateListener) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Sets the listener for session expiration events.
setOnExpirationUpdateListener(ExoMediaDrm.OnExpirationUpdateListener) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Sets the listener for session expiration events.
setOnExpirationUpdateListener(ExoMediaDrm.OnExpirationUpdateListener) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
setOnFrameRenderedListener(MediaCodecAdapter.OnFrameRenderedListener, Handler) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Registers a callback to be invoked when an output frame is rendered on the output surface.
setOnFrameRenderedListener(MediaCodecAdapter.OnFrameRenderedListener, Handler) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
setOnFullScreenModeChangedListener(StyledPlayerControlView.OnFullScreenModeChangedListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets a listener to be called when the fullscreen mode should be changed.
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Sets the listener for key status change events.
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
Sets the listener for key status change events.
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
setOutput(Object) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Sets the video output.
setOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView
 
setOutputBuffer(VideoDecoderOutputBuffer) - Method in interface com.google.android.exoplayer2.video.VideoDecoderOutputBufferRenderer
Sets the output buffer to be rendered.
setOutputMimeType(String) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the MIME type of the output.
setOutputMimeType(String) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets the MIME type of the output.
setOutputMode(int) - Method in class com.google.android.exoplayer2.ext.av1.Gav1Decoder
Sets the output mode for frames rendered by the decoder.
setOutputMode(int) - Method in class com.google.android.exoplayer2.ext.vp9.VpxDecoder
Sets the output mode for frames rendered by the decoder.
setOutputSampleRateHz(int) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the sample rate for output audio, in Hertz.
setOutputSurface(Surface) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Dynamically sets the output surface of a MediaCodec.
setOutputSurface(Surface) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
setOutputSurfaceV23(MediaCodecAdapter, Surface) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
setOverallRating(Rating) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the overall Rating.
setOverride(DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets the initial selection override to show.
setOverrideForType(TrackSelectionOverrides.TrackSelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.Builder
Set the override for the type of the provided TrackGroup.
setOverrides(List<DefaultTrackSelector.SelectionOverride>) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets the list of initial selection overrides to show.
setPadding(boolean) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setParameters(Bundle) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Communicate additional parameter changes to the MediaCodec instance.
setParameters(Bundle) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
setParameters(DefaultTrackSelector.ParametersBuilder) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
Atomically sets the provided parameters for track selection.
setParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
 
setParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
Called by the player to provide parameters for track selection.
setPath(String) - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
Sets the path this data should be served at.
setPauseActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_PAUSE.
setPauseAtEndOfMediaItems(boolean) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets whether to pause playback at the end of each media item.
setPauseAtEndOfMediaItems(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets whether to pause playback at the end of each media item.
setPauseAtEndOfMediaItems(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setPauseAtEndOfMediaItems(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setPauseAtEndOfMediaItems(boolean) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets whether to enable pausing at the end of media items.
setPauseAtEndOfMediaItems(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setPayload(Object) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
setPayloadData(byte[]) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setPayloadType(byte) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setPcmEncoding(int) - Method in class com.google.android.exoplayer2.Format.Builder
setPeakBitrate(int) - Method in class com.google.android.exoplayer2.Format.Builder
setPendingOutputEndOfStream() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Notifies the renderer that output end of stream is pending and should be handled on the next render.
setPendingPlaybackException(ExoPlaybackException) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Sets an exception to be re-thrown by render.
setPercentDownloaded(float) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setPitch(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the target playback pitch.
setPixelWidthHeightRatio(float) - Method in class com.google.android.exoplayer2.Format.Builder
setPlayActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_PLAY.
setPlayAdBeforeStartPosition(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets whether to play an ad before the start position when beginning playback.
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Attempts to set the playback parameters.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player
Attempts to set the playback parameters.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a playback parameters setting action.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.util.MediaClock
Attempts to set the playback parameters.
setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
 
SetPlaybackParameters(String, PlaybackParameters) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetPlaybackParameters
Creates a set playback parameters action instance.
setPlaybackPreparer(MediaSessionConnector.PlaybackPreparer) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
setPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.BasePlayer
 
setPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
setPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setPlaybackSpeed(float) - Method in interface com.google.android.exoplayer2.Player
Changes the rate at which playback occurs.
setPlaybackSpeed(float, float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
setPlaybackSpeed(float, float) - Method in interface com.google.android.exoplayer2.Renderer
Indicates the playback speed to this renderer.
setPlaybackSpeed(float, float) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
setPlayClearContentWithoutKey(boolean) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets whether clear samples within protected content should be played when keys for the encrypted part of the content have yet to be loaded.
setPlayClearSamplesWithoutKeys(boolean) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets whether clear samples within protected content should be played when keys for the encrypted part of the content have yet to be loaded.
setPlayedAdMarkerColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for played ad markers.
setPlayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the portion of the time bar representing media before the playback position.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
setPlayer(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the player to be connected to the media session.
setPlayer(Player) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Sets the player that will play the loaded ads.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the Player to control.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the Player.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the Player to use.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets the Player to control.
setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets the Player to use.
setPlayer(Player, Looper) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Sets the player for which data will be collected.
setPlayerListener(Player.Listener) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets an Player.Listener to be registered to listen to player events.
setPlaylist(List<MediaItem>, MediaMetadata) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setPlaylistMetadata(MediaMetadata) - Method in interface com.google.android.exoplayer2.Player
Sets the playlist MediaMetadata.
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setPlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setPlaylistParserFactory(HlsPlaylistParserFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the factory from which playlist parsers will be obtained.
setPlaylistTrackerFactory(HlsPlaylistTracker.Factory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the HlsPlaylistTracker factory.
setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setPlayWhenReady(boolean) - Method in interface com.google.android.exoplayer2.Player
Sets whether playback should proceed when Player.getPlaybackState() == Player.STATE_READY.
setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
SetPlayWhenReady(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetPlayWhenReady
 
setPosition(float) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the fractional position of the positionAnchor of the cue box within the viewport in the direction orthogonal to line.
setPosition(int) - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Sets the reading position in bits.
setPosition(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
Sets the read and peek positions.
setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Sets the current bit offset.
setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Sets the reading offset in the array.
setPosition(int, long) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets a position in a media item at which the message will be delivered.
setPosition(long) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets a position in the current media item at which the message will be delivered.
setPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
 
setPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
Sets the current position.
setPosition(long) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setPositionAnchor(@com.google.android.exoplayer2.text.Cue.AnchorType int) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the cue box anchor positioned by position.
setPositionUs(long) - Method in class com.google.android.exoplayer2.text.ExoplayerCuesDecoder
 
setPositionUs(long) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
setPositionUs(long) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoder
Informs the decoder of the current playback position.
setPostConnectCallback(SessionCallbackBuilder.PostConnectCallback) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.PostConnectCallback to handle extra initialization after the connection.
setPreferredAudioLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredAudioLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred language for audio and forced text tracks.
setPreferredAudioLanguages(String...) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredAudioLanguages(String...) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred languages for audio and forced text tracks.
setPreferredAudioMimeType(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredAudioMimeType(String) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred sample MIME type for audio tracks.
setPreferredAudioMimeTypes(String...) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredAudioMimeTypes(String...) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred sample MIME types for audio tracks.
setPreferredAudioRoleFlags(@com.google.android.exoplayer2.C.RoleFlags int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredAudioRoleFlags(@com.google.android.exoplayer2.C.RoleFlags int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred C.RoleFlags for audio tracks.
setPreferredTextLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredTextLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred language for text tracks.
setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings(Context) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings(Context) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred language and role flags for text tracks based on the accessibility settings of CaptioningManager.
setPreferredTextLanguages(String...) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredTextLanguages(String...) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred languages for text tracks.
setPreferredTextRoleFlags(@com.google.android.exoplayer2.C.RoleFlags int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredTextRoleFlags(@com.google.android.exoplayer2.C.RoleFlags int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred C.RoleFlags for text tracks.
setPreferredVideoMimeType(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredVideoMimeType(String) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred sample MIME type for video tracks.
setPreferredVideoMimeTypes(String...) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setPreferredVideoMimeTypes(String...) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the preferred sample MIME types for video tracks.
setPreparationComplete() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Allows the fake media period to complete preparation.
setPrepareListener(MaskingMediaPeriod.PrepareListener) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
Sets a listener for preparation events.
setPreviousActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_PREVIOUS.
setPrioritizeTimeOverSizeThresholds(boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets whether the load control prioritizes buffer time constraints over buffer size constraints.
setPriority(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the priority of the notification required for API 25 and lower.
setPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets an PriorityTaskManager that will be used by the player.
setPriorityTaskManager(PriorityTaskManager) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets a PriorityTaskManager, or null to clear a previously set priority task manager.
setPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setProgressUpdateListener(PlayerControlView.ProgressUpdateListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
setProgressUpdateListener(StyledPlayerControlView.ProgressUpdateListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
setProgressUpdatingEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
 
setProjectionData(byte[]) - Method in class com.google.android.exoplayer2.Format.Builder
setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
setPropertyByteArray(String, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Sets the value of a byte array property.
setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
 
setPropertyString(String, String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
Sets the value of a string property.
setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
 
setPropertyString(String, String) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
setProportionalControlFactor(float) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the proportional control factor used to adjust the playback speed.
setProvisionsRequired(int) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.Builder
Sets how many successful provisioning round trips are needed for the FakeExoMediaDrm to be provisioned.
setQueueEditor(MediaSessionConnector.QueueEditor) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the MediaSessionConnector.QueueEditor to handle queue edits sent by the media controller.
setQueueNavigator(MediaSessionConnector.QueueNavigator) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the MediaSessionConnector.QueueNavigator to handle queue navigation actions ACTION_SKIP_TO_NEXT, ACTION_SKIP_TO_PREVIOUS and ACTION_SKIP_TO_QUEUE_ITEM.
setRandomData(Uri, int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Sets random data with the given length for the given uri.
setRandomData(String, int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
Sets random data with the given length for the given uri.
setRatingCallback(SessionCallbackBuilder.RatingCallback) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.RatingCallback to handle user ratings.
setRatingCallback(MediaSessionConnector.RatingCallback) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Sets the MediaSessionConnector.RatingCallback to handle user ratings.
setReadTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets the read timeout, in milliseconds.
setReadTimeoutMs(int) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets the read timeout, in milliseconds.
setRecordingDay(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the day of the recording date.
setRecordingMonth(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the month of the recording date.
setRecordingYear(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the year of the recording date.
setRedirectedUri(ContentMetadataMutations, Uri) - Static method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
Adds a mutation to set the ContentMetadata.KEY_REDIRECTED_URI value, or to remove any existing entry if null is passed.
setRelativeToDefaultPosition(boolean) - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Sets whether the start position and the end position are relative to the default position in the window (Default: false).
setRelativeToLiveWindow(boolean) - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Sets whether the start/end positions should move with the live window for live streams.
setReleaseDay(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the day of the release date.
setReleaseMonth(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the month of the release date.
setReleaseTimeoutMs(long) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
setReleaseTimeoutMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setReleaseYear(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the year of the release date.
setRemoveAudio(boolean) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets whether to remove the audio from the output.
setRemoveAudio(boolean) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets whether to remove the audio from the output.
setRemoveVideo(boolean) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets whether to remove the video from the output.
setRemoveVideo(boolean) - Method in class com.google.android.exoplayer2.transformer.Transformer.Builder
Sets whether to remove the video from the output.
setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether the renderer at the specified index is disabled.
SetRendererDisabled(String, int, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetRendererDisabled
 
setRenderers(Renderer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setRenderers(Renderer...) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the Renderers.
setRenderersFactory(RenderersFactory) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the RenderersFactory that will be used by the player.
setRenderersFactory(RenderersFactory) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setRenderersFactory(RenderersFactory) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
setRenderTimeLimitMs(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Sets a limit on the time a single MediaCodecRenderer.render(long, long) call can spend draining and filling the decoder.
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in interface com.google.android.exoplayer2.Player
Sets the Player.RepeatMode to be used for playback.
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a repeat mode setting action.
setRepeatMode(@com.google.android.exoplayer2.Player.RepeatMode int) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setRepeatMode(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
SetRepeatMode(String, @com.google.android.exoplayer2.Player.RepeatMode int) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetRepeatMode
 
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets which repeat toggle modes are enabled.
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets which repeat toggle modes are enabled.
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets which repeat toggle modes are enabled.
setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets which repeat toggle modes are enabled.
setRequestPriority(int) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets the priority of requests made by CronetDataSource instances created by this factory.
setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
 
setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
 
setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
 
setRequestProperty(String, String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
Sets the value of a request header.
setRequirements(Requirements) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Sets the requirements that need to be met for downloads to progress.
setResetOnNetworkTypeChange(boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets whether to reset if the network type changes.
setResetTimeoutOnRedirects(boolean) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets whether the connect timeout is reset when a redirect occurs.
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
setRetryPosition(long, E) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Called when reading fails and the required retry position is different from the last position.
setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
setRewindActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_REWIND.
setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the rewind increment in milliseconds.
setRoleFlags(@com.google.android.exoplayer2.C.RoleFlags int) - Method in class com.google.android.exoplayer2.Format.Builder
setRoleFlags(@com.google.android.exoplayer2.C.RoleFlags int) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Sets the role flags.
setRotationDegrees(int) - Method in class com.google.android.exoplayer2.Format.Builder
setRubyPosition(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setSampleMimeType(String) - Method in class com.google.android.exoplayer2.Format.Builder
setSampleOffsetUs(long) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples subsequently written to the sample queues.
setSampleOffsetUs(long) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples that are subsequently queued.
setSampleRate(int) - Method in class com.google.android.exoplayer2.Format.Builder
setSamplerTexId(int, int) - Method in class com.google.android.exoplayer2.util.GlUtil.Uniform
Configures GlUtil.Uniform.bind() to use the specified texId for this sampler uniform.
setSampleTimestampUpperLimitFilterUs(long) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Sets an upper limit for sample timestamp filtering.
setSchedule(ActionSchedule) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
Sets a schedule to be applied during the test.
setScheme(UUID) - Method in class com.google.android.exoplayer2.MediaItem.DrmConfiguration.Builder
Sets the UUID of the protection scheme.
setScrubberColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the scrubber handle.
setSeekBackIncrementMs(long) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the Player.seekBack() increment.
setSeekBackIncrementMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setSeekBackIncrementMs(long) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the seek back increment to be used by the player.
setSeekForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the Player.seekForward() increment.
setSeekForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setSeekForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets the seek forward increment to be used by the player.
setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the parameters that control how seek operations are performed.
setSeekParameters(SeekParameters) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets the parameters that control how seek operations are performed.
setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setSeekTargetUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
Sets the target time in microseconds within the stream to seek to.
setSeekTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the timeout in milliseconds for fast forward and rewind operations, or 0 for no timeout.
setSeekToUsOffset(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
Sets an offset to be applied to positions returned by FakeMediaPeriod.seekToUs(long).
setSelectedParserName(String) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Defines the container mime type to propagate through TrackOutput.format(com.google.android.exoplayer2.Format).
setSelectionFlags(@com.google.android.exoplayer2.C.SelectionFlags int) - Method in class com.google.android.exoplayer2.Format.Builder
setSelectionFlags(@com.google.android.exoplayer2.C.SelectionFlags int) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Sets the flags used for track selection.
setSelectionOverride(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
setSelectUndeterminedTextLanguage(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setSelectUndeterminedTextLanguage(boolean) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets whether a text track with undetermined language should be selected if no track with a preferred language is available, or if the preferred language is unset.
setSequenceNumber(int) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setSessionAvailabilityListener(SessionAvailabilityListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Sets a listener for updates on the cast session availability.
setSessionKeepaliveMs(long) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets the time to keep DrmSessions alive when they're not in use.
setShearDegrees(float) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the shear angle for this Cue.
setShowBuffering(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether a buffering spinner is displayed when the player is in the buffering state.
setShowBuffering(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether a buffering spinner is displayed when the player is in the buffering state.
setShowDisableOption(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets whether an option is available for disabling the renderer.
setShowDisableOption(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets whether an option is available for disabling the renderer.
setShowFastForwardButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the fast forward button is shown.
setShowFastForwardButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the fast forward button is shown.
setShowFastForwardButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the fast forward button is shown.
setShowFastForwardButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the fast forward button is shown.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the time bar should show all windows, as opposed to just the current one.
setShowNextButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the next button is shown.
setShowNextButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the next button is shown.
setShowNextButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the next button is shown.
setShowNextButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the next button is shown.
setShowPreviousButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the previous button is shown.
setShowPreviousButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the previous button is shown.
setShowPreviousButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the previous button is shown.
setShowPreviousButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the previous button is shown.
setShowRewindButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the rewind button is shown.
setShowRewindButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the rewind button is shown.
setShowRewindButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the rewind button is shown.
setShowRewindButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the rewind button is shown.
setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the shuffle button is shown.
setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the shuffle button is shown.
setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the shuffle button is shown.
setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the shuffle button is shown.
setShowSubtitleButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the subtitle button is shown.
setShowSubtitleButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the subtitle button is shown.
setShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the playback controls timeout.
setShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets the playback controls timeout.
setShowVrButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets whether the VR button is shown.
setShowVrButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets whether the VR button is shown.
setShowVrButton(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the vr button is shown.
setShuffleMode(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setShuffleModeEnabled(boolean) - Method in interface com.google.android.exoplayer2.Player
Sets whether shuffling of media items is enabled.
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a shuffle setting action to be executed.
setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
SetShuffleModeEnabled(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetShuffleModeEnabled
 
setShuffleOrder(ShuffleOrder) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets the shuffle order.
setShuffleOrder(ShuffleOrder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setShuffleOrder(ShuffleOrder) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Sets a new shuffle order to use when shuffling the child media sources.
setShuffleOrder(ShuffleOrder) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a set shuffle order action to be executed.
setShuffleOrder(ShuffleOrder) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setShuffleOrder(ShuffleOrder, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
Sets a new shuffle order to use when shuffling the child media sources.
SetShuffleOrder(String, ShuffleOrder) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetShuffleOrder
 
setShutterBackgroundColor(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets the background color of the exo_shutter view.
setShutterBackgroundColor(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets the background color of the exo_shutter view.
setSimulateIOErrors(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
 
setSimulatePartialReads(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
 
setSimulateUnknownLength(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
When set, FakeDataSource.open(DataSpec) will behave as though the source is unable to determine the length of the underlying data.
setSimulateUnknownLength(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
 
setSize(float) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the size of the cue box in the writing direction specified as a fraction of the viewport size in that direction.
setSkipCallback(SessionCallbackBuilder.SkipCallback) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder
Sets the SessionCallbackBuilder.SkipCallback to handle skip backward and skip forward.
setSkipSilenceEnabled(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets whether silences should be skipped in the audio stream.
setSkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setSkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setSkipSilenceEnabled(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
setSkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets whether silences silences in the audio stream is enabled.
setSkipSilenceEnabled(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets whether skipping silences in the audio stream is enabled.
setSkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setSkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setSkipSilenceEnabled(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setSlidingWindowMaxWeight(int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
Sets the maximum weight for the sliding window.
setSmallIcon(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the small icon of the notification which is also shown in the system status bar.
setSmallIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the small icon of the notification shown in the status bar.
setSpeed(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
Sets the target playback speed.
setSsrc(int) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setStartPositionMs(long) - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Sets the optional start position in milliseconds which must be a value larger than or equal to zero (Default: 0).
setStartsAtKeyFrame(boolean) - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration.Builder
Sets whether the start point is guaranteed to be a key frame.
setStartTimeMs(long) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setStartTimeUs(long) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets the start time for the queue.
setState(int) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setStatesToRemoving() - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
setStatesToRemoving() - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
Sets all states to Download.STATE_REMOVING.
setStation(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the name of the station streaming the media.
setStereoMode(int) - Method in class com.google.android.exoplayer2.Format.Builder
setStopActionIconResourceId(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
The resource id of the drawable to be used as the icon of action PlayerNotificationManager.ACTION_STOP.
setStopReason(int) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
setStopReason(int) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
Sets the stop reason of the downloads in a terminal state (Download.STATE_COMPLETED, Download.STATE_FAILED).
setStopReason(int) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setStopReason(String, int) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
 
setStopReason(String, int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
Sets the stop reason for one or all downloads.
setStopReason(String, int) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
Sets the stop reason of the download with the given ID in a terminal state (Download.STATE_COMPLETED, Download.STATE_FAILED).
setStreamKeys(StreamKey...) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional stream keys by which the manifest is filtered (only used for adaptive streams).
setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.offline.DownloadRequest.Builder
setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.DefaultMediaSourceFactory
setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
setStreamKeys(List<StreamKey>) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
Deprecated.
setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
setStyle(CaptionStyleCompat) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the caption style.
setSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format.Builder
setSubtitle(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the subtitle.
setSubtitleConfigurations(List<MediaItem.SubtitleConfiguration>) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional subtitles.
setSubtitles(List<MediaItem.Subtitle>) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Deprecated.
Use MediaItem.Builder.setSubtitleConfigurations(List) instead. Note that MediaItem.Builder.setSubtitleConfigurations(List) doesn't accept null, use an empty list to clear the contents.
setSupportedContentTypes(int...) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
setSupportedContentTypes(int...) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Sets the supported content types for ad media.
setSupportedFormats(Format...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets a list of Formats to be used by a FakeMediaSource to create media periods.
setTag(Object) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional tag for custom attributes.
setTag(Object) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
setTag(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
setTag(Object) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
setTag(Object) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource.Factory
Sets a tag for the media source which will be published in the Timeline of the source as Window#mediaItem.localConfiguration.tag.
setTag(Object) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Sets a tag for the media source which will be published in the Timeline of the source as Window#mediaItem.localConfiguration.tag.
setTag(Object) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
setTargetBufferBytes(int) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
Sets the target buffer size in bytes.
setTargetBufferSize(int) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
setTargetClasses(String[]) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTargetId(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTargetLiveOffsetIncrementOnRebufferMs(long) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl.Builder
Sets the increment applied to the target live offset each time the player is rebuffering, in milliseconds.
setTargetLiveOffsetOverrideUs(long) - Method in class com.google.android.exoplayer2.DefaultLivePlaybackSpeedControl
 
setTargetLiveOffsetOverrideUs(long) - Method in interface com.google.android.exoplayer2.LivePlaybackSpeedControl
Sets the target live offset in microseconds that overrides the live offset configured by the media.
setTargetOffsetMs(long) - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration.Builder
Sets the target live offset, in milliseconds.
setTargetTagName(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setTargetVoice(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setText(CharSequence) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the cue text.
setTextAlignment(Layout.Alignment) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the alignment of the cue text within the cue box.
setTextSize(float, @com.google.android.exoplayer2.text.Cue.TextSizeType int) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the default text size and type for this cue's text.
setTheme(int) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets the resource ID of the theme used to inflate this dialog.
setThrowsWhenUsingWrongThread(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
Deprecated.
Disabling the enforcement can result in hard-to-detect bugs. Do not use this method except to ease the transition while wrong thread access problems are fixed.
setThrowsWhenUsingWrongThread(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
setThrowsWhenUsingWrongThread(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
Deprecated.
setTimeBarMinUpdateInterval(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets the minimum interval between time bar position updates.
setTimeBarMinUpdateInterval(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets the minimum interval between time bar position updates.
setTimeline(Timeline) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets a Timeline to be used by a FakeMediaSource in the test runner.
setTimeoutMs(long) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Sets the timeout in milliseconds, the default value is RtspMediaSource.DEFAULT_TIMEOUT_MS.
setTimestamp(long) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket.Builder
setTimestampAdjuster(TimestampAdjuster) - Method in class com.google.android.exoplayer2.source.mediaparser.OutputConsumerAdapterV30
Sets a TimestampAdjuster for adjusting the timestamps of the output samples.
setTitle(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the title.
setTotalDiscCount(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the total number of discs.
setTotalTrackCount(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the total number of tracks.
setTrackFormatComparator(Comparator<Format>) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets a Comparator used to determine the display order of the tracks within each track group.
setTrackId(String) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Sets an optional track id to be used.
setTrackNameProvider(TrackNameProvider) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Sets the TrackNameProvider used to generate the user visible name of each track and updates the view with track names queried from the specified provider.
setTrackNameProvider(TrackNameProvider) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
Sets the TrackNameProvider used to generate the user visible name of each track and updates the view with track names queried from the specified provider.
setTrackNumber(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the track number.
setTrackSelectionOverrides(TrackSelectionOverrides) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setTrackSelectionOverrides(TrackSelectionOverrides) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the selection overrides.
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setTrackSelectionParameters(TrackSelectionParameters) - Method in interface com.google.android.exoplayer2.Player
Sets the parameters constraining the track selection.
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setTrackSelectionParameters(TrackSelectionParameters) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setTrackSelector(DefaultTrackSelector) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setTrackSelector(DefaultTrackSelector) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
setTrackSelector(TrackSelector) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the TrackSelector that will be used by the player.
setTrackSelector(TrackSelector) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets the TransferListener that will be used.
setTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
Sets the TransferListener that will be used.
setTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource.Factory
Sets the TransferListener that will be used.
setTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource.Factory
Sets the TransferListener that will be used.
setTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets the TransferListener that will be used.
setTreatLoadErrorsAsEndOfStream(boolean) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
Sets whether load errors will be treated as end-of-stream signal (load errors will not be propagated).
setTrustedPackageNames(List<String>) - Method in class com.google.android.exoplayer2.ext.media2.SessionCallbackBuilder.DefaultAllowedCommandProvider
Sets the package names from which the session will accept incoming connections.
setTsExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets flags for DefaultTsPayloadReaderFactorys used by TsExtractor instances created by the factory.
setTsExtractorMode(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets the mode for TsExtractor instances created by the factory.
setTsExtractorTimestampSearchBytes(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
Sets the number of bytes searched to find a timestamp for TsExtractor instances created by the factory.
setTunnelingEnabled(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
Sets whether to enable tunneling if possible.
setType(int) - Method in class com.google.android.exoplayer2.PlayerMessage
Sets the message type forwarded to PlayerMessage.Target.handleMessage(int, Object).
setUnderline(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
setUnplayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Sets the color for the portion of the time bar after the current played position.
setUpdateTimeMs(long) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setUpstreamDataSourceFactory(DataSource.Factory) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the DataSource.Factory for upstream DataSources, which are used to read data in the case of a cache miss.
setUpstreamFormatChangeListener(SampleQueue.UpstreamFormatChangedListener) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets a listener to be notified of changes to the upstream format.
setUpstreamPriority(int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets the priority to use when requesting data from upstream.
setUpstreamPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource.Factory
Sets an optional PriorityTaskManager to use when requesting data from upstream.
setUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional URI.
setUri(Uri) - Method in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration.Builder
Sets the Uri to the subtitle file.
setUri(Uri) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
Sets the URI where this resource is located.
setUri(Uri) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setUri(Uri) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setUri(String) - Method in class com.google.android.exoplayer2.MediaItem.Builder
Sets the optional URI.
setUri(String) - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest.TestResource.Builder
Sets the URI where this resource is located.
setUri(String) - Method in class com.google.android.exoplayer2.testutil.DownloadBuilder
 
setUri(String) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setUriPositionOffset(long) - Method in class com.google.android.exoplayer2.upstream.DataSpec.Builder
setUsage(@com.google.android.exoplayer2.C.AudioUsage int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
 
setUseArtwork(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether artwork is displayed if present in the media.
setUseArtwork(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether artwork is displayed if present in the media.
setUseChronometer(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the elapsed time of the media playback should be displayed.
setUseController(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
Sets whether the playback controls can be shown.
setUseController(boolean) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Sets whether the playback controls can be shown.
setUseDrmSessionsForClearContent(@com.google.android.exoplayer2.C.TrackType int...) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets whether this session manager should attach DrmSessions to the clear sections of the media content.
setUseFastForwardAction(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the fast forward action should be used.
setUseFastForwardActionInCompactView(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the fast forward action should also be used in compact view.
setUseLazyPreparation(boolean) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets whether media sources should be initialized lazily.
setUseLazyPreparation(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setUseLazyPreparation(boolean) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
 
setUseLazyPreparation(boolean) - Method in class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
Sets whether to use lazy preparation.
setUseNextAction(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the next action should be used.
setUseNextActionInCompactView(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
If useNextAction is true, sets whether the next action should also be used in compact view.
setUsePlayPauseActions(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the play and pause actions should be used.
setUsePreviousAction(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the previous action should be used.
setUsePreviousActionInCompactView(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
If usePreviousAction is true, sets whether the previous action should also be used in compact view.
setUserAgent(String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource.Factory
Sets the user agent that will be used.
setUserAgent(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource.Factory
Sets the user agent that will be used.
setUserAgent(String) - Method in class com.google.android.exoplayer2.source.rtsp.RtspMediaSource.Factory
Sets the user agent, the default value is ExoPlayerLibraryInfo.VERSION_SLASHY.
setUserAgent(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource.Factory
Sets the user agent that will be used.
setUserDefaultStyle() - Method in class com.google.android.exoplayer2.ui.SubtitleView
Styles the captions using CaptioningManager.getUserStyle() if CaptioningManager is available and enabled.
setUserDefaultTextSize() - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the text size based on CaptioningManager.getFontScale() if CaptioningManager is available and enabled.
setUseRewindAction(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the rewind action should be used.
setUseRewindActionInCompactView(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the rewind action should also be used in compact view.
setUserRating(Rating) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the user Rating.
setUseSensorRotation(boolean) - Method in class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
Sets whether to use the orientation sensor for rotation (if available).
setUseSessionKeys(boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets whether to use #EXT-X-SESSION-KEY tags provided in the master playlist.
setUseStopAction(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets whether the stop action should be used.
setUuidAndExoMediaDrmProvider(UUID, ExoMediaDrm.Provider) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
Sets the UUID of the DRM scheme and the ExoMediaDrm.Provider to use.
setVastLoadTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets the VAST load timeout, in milliseconds.
setVersion(SQLiteDatabase, int, String, int) - Static method in class com.google.android.exoplayer2.database.VersionTable
Sets the version of a specified instance of a specified feature.
setVerticalType(@com.google.android.exoplayer2.text.Cue.VerticalType int) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the vertical formatting for this Cue.
setVideoAdPlayerCallback(VideoAdPlayer.VideoAdPlayerCallback) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
Sets a callback to receive video ad player events.
setVideoChangeFrameRateStrategy(int) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets a C.VideoChangeFrameRateStrategy that will be used by the player when provided with a video output Surface.
setVideoChangeFrameRateStrategy(int) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets a C.VideoChangeFrameRateStrategy that will be used by the player when provided with a video output Surface.
setVideoChangeFrameRateStrategy(int) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
setVideoChangeFrameRateStrategy(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setVideoChangeFrameRateStrategy(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoChangeFrameRateStrategy(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets a listener to receive video frame metadata events.
setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setVideoMimeType(String) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer.Builder
Sets the video MIME type of the output.
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the C.VideoScalingMode that will be used by the player.
setVideoScalingMode(int) - Method in interface com.google.android.exoplayer2.ExoPlayer
setVideoScalingMode(int) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
setVideoScalingMode(int) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Specifies the scaling mode to use, if a surface was specified when the codec was created.
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a set video surface action.
setVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player
Sets the Surface onto which video will be rendered.
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Sets the video Surface.
setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
SetVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetVideoSurface
 
setVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player
Sets the SurfaceHolder that holds the Surface onto which video will be rendered.
setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player
Sets the SurfaceView onto which video will be rendered.
setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.ExoPlayer.VideoComponent
Deprecated.
setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player
Sets the TextureView onto which video will be rendered.
setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setViewportSize(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setViewportSize(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
Sets the viewport size to constrain adaptive video selections so that only tracks suitable for the viewport are selected.
setViewportSizeToPhysicalDisplaySize(Context, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
 
setViewportSizeToPhysicalDisplaySize(Context, boolean) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
setViewType(int) - Method in class com.google.android.exoplayer2.ui.SubtitleView
Sets the type of View used to display subtitles.
setVisibility(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
Sets the visibility of the notification which determines whether and how the notification is shown when the device is in lock screen mode.
setVisibility(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
 
setVisibility(int) - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
 
setVolume(float) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Sets the playback volume.
setVolume(float) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
setVolume(float) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
setVolume(float) - Method in interface com.google.android.exoplayer2.ExoPlayer.AudioComponent
Deprecated.
setVolume(float) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
This method is not supported and does nothing.
setVolume(float) - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
setVolume(float) - Method in interface com.google.android.exoplayer2.Player
Sets the audio volume, valid values are between 0 (silence) and 1 (unity gain, signal unchanged), inclusive.
setVolume(float) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setVolume(float) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
setVrButtonListener(View.OnClickListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Sets listener for the VR button.
setVrButtonListener(View.OnClickListener) - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Sets listener for the VR button.
setWakeMode(@com.google.android.exoplayer2.C.WakeMode int) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
Sets the C.WakeMode that will be used by the player.
setWakeMode(@com.google.android.exoplayer2.C.WakeMode int) - Method in interface com.google.android.exoplayer2.ExoPlayer
Sets how the player should keep the device awake for playback when the screen is off.
setWakeMode(@com.google.android.exoplayer2.C.WakeMode int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
Deprecated.
setWakeMode(@com.google.android.exoplayer2.C.WakeMode int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
setWakeMode(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
 
setWidth(int) - Method in class com.google.android.exoplayer2.Format.Builder
setWindowColor(int) - Method in class com.google.android.exoplayer2.text.Cue.Builder
Sets the fill color of the window.
setWriter(CharSequence) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
Sets the writer.
setYear(Integer) - Method in class com.google.android.exoplayer2.MediaMetadata.Builder
ShadowMediaCodecConfig - Class in com.google.android.exoplayer2.robolectric
A JUnit @Rule to configure Roboelectric's ShadowMediaCodec.
ShadowMediaCodecConfig() - Constructor for class com.google.android.exoplayer2.robolectric.ShadowMediaCodecConfig
 
sharedInitializeOrWait(boolean, long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
For shared timestamp adjusters, performs necessary initialization actions for a caller.
shearDegrees - Variable in class com.google.android.exoplayer2.text.Cue
The shear angle in degrees to be applied to this Cue, expressed in graphics coordinates.
shouldCancelChunkLoad(long, Chunk, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Returns whether an ongoing load of a chunk should be canceled.
shouldCancelLoad(long, Chunk, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
Returns whether an ongoing load of a chunk should be canceled.
shouldCancelLoad(long, Chunk, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
shouldCancelLoad(long, Chunk, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
shouldCancelLoad(long, Chunk, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
 
shouldContinueLoading(long, long, float) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
shouldContinueLoading(long, long, float) - Method in interface com.google.android.exoplayer2.LoadControl
Called by the player to determine whether it should continue to load the source.
shouldDropBuffersToKeyframe(long, long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Returns whether to drop all buffers from the buffer being processed to the keyframe at or after the current playback position, if possible.
shouldDropBuffersToKeyframe(long, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether to drop all buffers from the buffer being processed to the keyframe at or after the current playback position, if possible.
shouldDropOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Returns whether the buffer being processed should be dropped.
shouldDropOutputBuffer(long, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether the buffer being processed should be dropped.
shouldEvaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
Called from AdaptiveTrackSelection.evaluateQueueSize(long, List) to determine whether an evaluation should be performed.
shouldForceRenderOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Returns whether to force rendering an output buffer.
shouldForceRenderOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Returns whether to force rendering an output buffer.
shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
shouldPlayAdGroup() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns whether the ad group has at least one ad that should be played.
shouldProcessBuffer(long, long) - Method in class com.google.android.exoplayer2.testutil.FakeAudioRenderer
 
shouldProcessBuffer(long, long) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
Called before the renderer processes a buffer.
shouldProcessBuffer(long, long) - Method in class com.google.android.exoplayer2.testutil.FakeVideoRenderer
 
shouldStartPlayback(long, float, boolean, long) - Method in class com.google.android.exoplayer2.DefaultLoadControl
 
shouldStartPlayback(long, float, boolean, long) - Method in interface com.google.android.exoplayer2.LoadControl
Called repeatedly by the player when it's loading the source, has yet to start playback, and has the minimum amount of data necessary for playback to be started.
shouldUseBypass(Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
shouldUseBypass(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns whether buffers in the input format can be processed without a codec.
show() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
Shows the playback controls.
show() - Method in class com.google.android.exoplayer2.ui.StyledPlayerControlView
Shows the playback controls.
SHOW_BUFFERING_ALWAYS - Static variable in class com.google.android.exoplayer2.ui.PlayerView
The buffering view is always shown when the player is in the buffering state.
SHOW_BUFFERING_ALWAYS - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerView
The buffering view is always shown when the player is in the buffering state.
SHOW_BUFFERING_NEVER - Static variable in class com.google.android.exoplayer2.ui.PlayerView
The buffering view is never shown.
SHOW_BUFFERING_NEVER - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerView
The buffering view is never shown.
SHOW_BUFFERING_WHEN_PLAYING - Static variable in class com.google.android.exoplayer2.ui.PlayerView
The buffering view is shown when the player is in the buffering state and playWhenReady is true.
SHOW_BUFFERING_WHEN_PLAYING - Static variable in class com.google.android.exoplayer2.ui.StyledPlayerView
The buffering view is shown when the player is in the buffering state and playWhenReady is true.
showController() - Method in class com.google.android.exoplayer2.ui.PlayerView
Shows the playback controls.
showController() - Method in class com.google.android.exoplayer2.ui.StyledPlayerView
Shows the playback controls.
showScrubber() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Shows the scrubber handle.
showScrubber(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
Shows the scrubber handle with animation.
ShuffleOrder - Interface in com.google.android.exoplayer2.source
Shuffled order of indices.
ShuffleOrder.DefaultShuffleOrder - Class in com.google.android.exoplayer2.source
The default ShuffleOrder implementation for random shuffle order.
ShuffleOrder.UnshuffledShuffleOrder - Class in com.google.android.exoplayer2.source
A ShuffleOrder implementation which does not shuffle.
signalEndOfInputStream() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
Signals the encoder of end-of-stream on input.
signalEndOfInputStream() - Method in class com.google.android.exoplayer2.mediacodec.SynchronousMediaCodecAdapter
 
SilenceMediaSource - Class in com.google.android.exoplayer2.source
Media source with a single period consisting of silent raw audio of a given duration.
SilenceMediaSource(long) - Constructor for class com.google.android.exoplayer2.source.SilenceMediaSource
Creates a new media source providing silent audio of the given duration.
SilenceMediaSource.Factory - Class in com.google.android.exoplayer2.source
Factory for SilenceMediaSources.
SilenceSkippingAudioProcessor - Class in com.google.android.exoplayer2.audio
An AudioProcessor that skips silence in the input stream.
SilenceSkippingAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Creates a new silence skipping audio processor.
SilenceSkippingAudioProcessor(long, long, short) - Constructor for class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
Creates a new silence skipping audio processor.
SimpleCache - Class in com.google.android.exoplayer2.upstream.cache
A Cache implementation that maintains an in-memory representation.
SimpleCache(File, CacheEvictor) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
Use a constructor that takes a DatabaseProvider for improved performance.
SimpleCache(File, CacheEvictor, byte[]) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
Use a constructor that takes a DatabaseProvider for improved performance.
SimpleCache(File, CacheEvictor, byte[], boolean) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Deprecated.
Use a constructor that takes a DatabaseProvider for improved performance.
SimpleCache(File, CacheEvictor, DatabaseProvider) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Constructs the cache.
SimpleCache(File, CacheEvictor, DatabaseProvider, byte[], boolean, boolean) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
Constructs the cache.
SimpleDecoder<I extends DecoderInputBuffer,​O extends DecoderOutputBuffer,​E extends DecoderException> - Class in com.google.android.exoplayer2.decoder
Base class for Decoders that use their own decode thread and decode each input buffer immediately into a corresponding output buffer.
SimpleDecoder(I[], O[]) - Constructor for class com.google.android.exoplayer2.decoder.SimpleDecoder
 
SimpleDecoderOutputBuffer - Class in com.google.android.exoplayer2.decoder
Buffer for SimpleDecoder output.
SimpleDecoderOutputBuffer(DecoderOutputBuffer.Owner<SimpleDecoderOutputBuffer>) - Constructor for class com.google.android.exoplayer2.decoder.SimpleDecoderOutputBuffer
 
SimpleExoPlayer - Class in com.google.android.exoplayer2
Deprecated.
Use ExoPlayer instead.
SimpleExoPlayer(Context, RenderersFactory, TrackSelector, MediaSourceFactory, LoadControl, BandwidthMeter, AnalyticsCollector, boolean, Clock, Looper) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
SimpleExoPlayer(SimpleExoPlayer.Builder) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
SimpleExoPlayer.Builder - Class in com.google.android.exoplayer2
Deprecated.
Use ExoPlayer.Builder instead.
SimpleMetadataDecoder - Class in com.google.android.exoplayer2.metadata
A MetadataDecoder base class that validates input buffers and discards any for which Buffer.isDecodeOnly() is true.
SimpleMetadataDecoder() - Constructor for class com.google.android.exoplayer2.metadata.SimpleMetadataDecoder
 
SimpleSubtitleDecoder - Class in com.google.android.exoplayer2.text
Base class for subtitle parsers that use their own decode thread.
SimpleSubtitleDecoder(String) - Constructor for class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
 
SimulatedIOException(String) - Constructor for exception com.google.android.exoplayer2.testutil.FakeExtractorInput.SimulatedIOException
 
simulateIOErrors - Variable in class com.google.android.exoplayer2.testutil.ExtractorAsserts.SimulationConfig
Whether to simulate IO errors.
simulatePartialReads - Variable in class com.google.android.exoplayer2.testutil.ExtractorAsserts.SimulationConfig
Whether to simulate partial reads.
simulateUnknownLength - Variable in class com.google.android.exoplayer2.testutil.ExtractorAsserts.SimulationConfig
Whether to simulate unknown input length.
SINGLE_WINDOW_UID - Static variable in class com.google.android.exoplayer2.Timeline.Window
A Timeline.Window.uid for a window that must be used for single-window Timelines.
SinglePeriodAdTimeline - Class in com.google.android.exoplayer2.source.ads
A Timeline for sources that have ads.
SinglePeriodAdTimeline(Timeline, AdPlaybackState) - Constructor for class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
Creates a new timeline with a single period containing ads.
SinglePeriodTimeline - Class in com.google.android.exoplayer2.source
A Timeline consisting of a single period and static window.
SinglePeriodTimeline(long, boolean, boolean, boolean, Object, MediaItem) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline containing a single period and a window that spans it.
SinglePeriodTimeline(long, boolean, boolean, boolean, Object, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
SinglePeriodTimeline(long, long, long, long, boolean, boolean, boolean, Object, MediaItem) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline with one period, and a window of known duration starting at a specified position in the period.
SinglePeriodTimeline(long, long, long, long, boolean, boolean, boolean, Object, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
SinglePeriodTimeline(long, long, long, long, long, long, long, boolean, boolean, boolean, Object, MediaItem, MediaItem.LiveConfiguration) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
Creates a timeline with one period, and a window of known duration starting at a specified position in the period.
SinglePeriodTimeline(long, long, long, long, long, long, long, boolean, boolean, boolean, Object, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
SinglePeriodTimeline(long, long, long, long, long, long, long, boolean, boolean, Object, MediaItem, MediaItem.LiveConfiguration) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
SingleSampleMediaChunk - Class in com.google.android.exoplayer2.source.chunk
A BaseMediaChunk for chunks consisting of a single raw sample.
SingleSampleMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, @com.google.android.exoplayer2.C.TrackType int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
 
SingleSampleMediaSource - Class in com.google.android.exoplayer2.source
Loads data at a given Uri as a single sample belonging to a single MediaPeriod.
SingleSampleMediaSource.Factory - Class in com.google.android.exoplayer2.source
singleSampleWithTimeUs(long) - Static method in interface com.google.android.exoplayer2.testutil.FakeMediaPeriod.TrackDataFactory
Returns a factory that always provides a single keyframe sample with time=sampleTimeUs and then end-of-stream.
SingleSegmentBase() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
 
SingleSegmentBase(RangedUri, long, long, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
 
SingleSegmentRepresentation(long, Format, List<BaseUrl>, SegmentBase.SingleSegmentBase, List<Descriptor>, List<Descriptor>, List<Descriptor>, String, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
 
SINK_FORMAT_SUPPORTED_DIRECTLY - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
The sink supports the format directly, without the need for internal transcoding.
SINK_FORMAT_SUPPORTED_WITH_TRANSCODING - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
The sink supports the format, but needs to transcode it internally to do so.
SINK_FORMAT_UNSUPPORTED - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
The sink does not support the format.
sinkSupportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Returns whether the renderer's AudioSink supports a given Format.
size - Variable in class com.google.android.exoplayer2.text.Cue
The size of the cue box in the writing direction specified as a fraction of the viewport size in that direction, or Cue.DIMEN_UNSET.
size() - Method in class com.google.android.exoplayer2.analytics.AnalyticsListener.Events
Returns the number of events in the set.
size() - Method in class com.google.android.exoplayer2.Player.Commands
Returns the number of commands in this set.
size() - Method in class com.google.android.exoplayer2.Player.Events
Returns the number of events in the set.
size() - Method in class com.google.android.exoplayer2.util.FlagSet
Returns the number of flags in this set.
size() - Method in class com.google.android.exoplayer2.util.ListenerSet
Returns the number of added listeners.
size() - Method in class com.google.android.exoplayer2.util.LongArray
Returns the current size of the array.
size() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
Returns number of the values buffered.
sizes - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The chunk sizes, in bytes.
skip(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
skip(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.read(byte[], int, int), except the data is skipped instead of read.
skip(int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
skip(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Advances the read position by the specified number of samples.
skip(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
skipAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
Skips the current ad.
skipBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Skips a single bit.
skipBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Skips a single bit.
skipBits(int) - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
Skips numberOfBits bits.
skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Skips bits and moves current reading position forward.
skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
Skips bits and moves current reading position forward.
skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
Skips the next length bytes.
skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
Moves the reading offset by bytes.
skipData(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
 
skipData(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
 
skipData(long) - Method in class com.google.android.exoplayer2.source.EmptySampleStream
 
skipData(long) - Method in interface com.google.android.exoplayer2.source.SampleStream
Attempts to skip to the keyframe before the specified position, or to the end of the stream if positionUs is beyond it.
skipData(long) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
 
skipFully(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
skipFully(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.readFully(byte[], int, int), except the data is skipped instead of read.
skipFully(int) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
skipFully(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
skipFully(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
 
skipFully(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
Like ExtractorInput.readFully(byte[], int, int, boolean), except the data is skipped instead of read.
skipFully(int, boolean) - Method in class com.google.android.exoplayer2.extractor.ForwardingExtractorInput
 
skipFully(int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
 
skipFullyQuietly(ExtractorInput, int) - Static method in class com.google.android.exoplayer2.extractor.ExtractorUtil
Equivalent to ExtractorInput.skipFully(int) except that it returns false instead of throwing an EOFException if the end of input is encountered without having fully satisfied the skip.
skipInputUntilPosition(ExtractorInput, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
skipOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Skips the specified output buffer and releases it.
skipOutputBuffer(MediaCodecAdapter, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Skips the output buffer with the specified index.
skippedInputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of skipped input buffers.
skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of skipped output buffers.
skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderOutputBuffer
The number of buffers immediately prior to this one that were skipped in the Decoder.
skipSettingMediaSources() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
Skips calling ExoPlayer.setMediaSources(List) before preparing.
skipSilenceEnabledChanged(boolean) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
skipSource(long) - Method in class com.google.android.exoplayer2.BaseRenderer
Attempts to skip to the keyframe before the specified position, or to the end of the stream if positionUs is beyond it.
skipToNextPlaylistItem() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
skipToPlaylistItem(int) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
skipToPreviousPlaylistItem() - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
skipUntilUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
The skip boundary for delta updates in microseconds, or C.TIME_UNSET if delta updates are not supported.
SlidingPercentile - Class in com.google.android.exoplayer2.upstream
Calculate any percentile over a sliding window of weighted values.
SlidingPercentile(int) - Constructor for class com.google.android.exoplayer2.upstream.SlidingPercentile
 
SlowMotionData - Class in com.google.android.exoplayer2.metadata.mp4
Holds information about the segments of slow motion playback within a track.
SlowMotionData(List<SlowMotionData.Segment>) - Constructor for class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
Creates an instance with a list of SlowMotionData.Segments.
SlowMotionData.Segment - Class in com.google.android.exoplayer2.metadata.mp4
Holds information about a single segment of slow motion playback within a track.
smallIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
SmtaMetadataEntry - Class in com.google.android.exoplayer2.metadata.mp4
Stores metadata from the Samsung smta box.
SmtaMetadataEntry(float, int) - Constructor for class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
Creates an instance.
sneakyThrow(Throwable) - Static method in class com.google.android.exoplayer2.util.Util
A hacky method that always throws t even if t is a checked exception, and is not declared to be thrown.
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
 
sniff(ExtractorInput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
Returns whether this extractor can extract samples from the ExtractorInput, which must provide data from the start of the stream.
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.jpeg.JpegExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.text.SubtitleExtractor
 
sniffFirst - Variable in class com.google.android.exoplayer2.testutil.ExtractorAsserts.SimulationConfig
Whether to sniff the data by calling Extractor.sniff(ExtractorInput) prior to consuming it.
SntpClient - Class in com.google.android.exoplayer2.util
Static utility to retrieve the device time offset using SNTP.
SntpClient.InitializationCallback - Interface in com.google.android.exoplayer2.util
softwareOnly - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the codec is software only.
SonicAudioProcessor - Class in com.google.android.exoplayer2.audio
An AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
SonicAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.SonicAudioProcessor
Creates a new Sonic audio processor.
source - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
Information about the original source of the media presentation.
sourceId(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
Sets a source identifier for subsequent samples.
spanned() - Static method in class com.google.android.exoplayer2.testutil.truth.SpannedSubject
 
SpannedSubject - Class in com.google.android.exoplayer2.testutil.truth
A Truth Subject for assertions on Spanned instances containing text styling.
SpannedSubject.AbsoluteSized - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about the absolute size of a span.
SpannedSubject.Aligned - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about the alignment of a span.
SpannedSubject.AndSpanFlags - Interface in com.google.android.exoplayer2.testutil.truth
Allows additional assertions to be made on the flags of matching spans.
SpannedSubject.Colored - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about the color of a span.
SpannedSubject.EmphasizedText - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about a span's text emphasis mark and its position.
SpannedSubject.RelativeSized - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about the relative size of a span.
SpannedSubject.RubyText - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about a span's ruby text and its position.
SpannedSubject.Typefaced - Interface in com.google.android.exoplayer2.testutil.truth
Allows assertions about the typeface of a span.
SpannedSubject.WithSpanFlags - Interface in com.google.android.exoplayer2.testutil.truth
Allows additional assertions to be made on the flags of matching spans.
SpanUtil - Class in com.google.android.exoplayer2.text.span
Utility methods for Android span styling.
speed - Variable in class com.google.android.exoplayer2.PlaybackParameters
The factor by which playback will be sped up.
speedDivisor - Variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
The speed reduction factor.
SphericalGLSurfaceView - Class in com.google.android.exoplayer2.video.spherical
Renders a GL scene in a non-VR Activity that is affected by phone orientation and touch input.
SphericalGLSurfaceView(Context) - Constructor for class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
 
SphericalGLSurfaceView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.video.spherical.SphericalGLSurfaceView
 
SphericalGLSurfaceView.VideoSurfaceListener - Interface in com.google.android.exoplayer2.video.spherical
Listener for the Surface to which video frames should be rendered.
splice() - Method in class com.google.android.exoplayer2.source.SampleQueue
Indicates samples that are subsequently queued should be spliced into those already queued.
SpliceCommand - Class in com.google.android.exoplayer2.metadata.scte35
Superclass for SCTE35 splice commands.
SpliceCommand() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
True if the event with id SpliceInsertCommand.spliceEventId has been canceled.
spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
True if the event with id SpliceScheduleCommand.Event.spliceEventId has been canceled.
spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
The splice event id.
spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
The splice event id.
spliceImmediateFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
Whether splicing should be done at the nearest opportunity.
SpliceInfoDecoder - Class in com.google.android.exoplayer2.metadata.scte35
Decodes splice info sections and produces splice commands.
SpliceInfoDecoder() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
 
SpliceInsertCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice insert command defined in SCTE35, Section 9.3.3.
SpliceInsertCommand.ComponentSplice - Class in com.google.android.exoplayer2.metadata.scte35
Holds splicing information for specific splice insert command components.
SpliceNullCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice null command as defined in SCTE35, Section 9.3.1.
SpliceNullCommand() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
SpliceScheduleCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice schedule command as defined in SCTE35, Section 9.3.2.
SpliceScheduleCommand.ComponentSplice - Class in com.google.android.exoplayer2.metadata.scte35
Holds splicing information for specific splice schedule command components.
SpliceScheduleCommand.Event - Class in com.google.android.exoplayer2.metadata.scte35
Represents a splice event as contained in a SpliceScheduleCommand.
split(String, String) - Static method in class com.google.android.exoplayer2.util.Util
Splits a string using value.split(regex, -1).
splitAtFirst(String, String) - Static method in class com.google.android.exoplayer2.util.Util
Splits the string at the first occurrence of the delimiter regex.
splitCodecs(String) - Static method in class com.google.android.exoplayer2.util.Util
Splits a codecs sequence string, as defined in RFC 6381, into individual codec strings.
splitNalUnits(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
Splits an array of NAL units.
SpsData(int, int, int, int, int, int, float, boolean, boolean, int, int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
SsaDecoder - Class in com.google.android.exoplayer2.text.ssa
A SimpleSubtitleDecoder for SSA/ASS.
SsaDecoder() - Constructor for class com.google.android.exoplayer2.text.ssa.SsaDecoder
 
SsaDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.ssa.SsaDecoder
Constructs an SsaDecoder with optional format and header info.
SsChunkSource - Interface in com.google.android.exoplayer2.source.smoothstreaming
A ChunkSource for SmoothStreaming.
SsChunkSource.Factory - Interface in com.google.android.exoplayer2.source.smoothstreaming
Factory for SsChunkSources.
SsDownloader - Class in com.google.android.exoplayer2.source.smoothstreaming.offline
A downloader for SmoothStreaming streams.
SsDownloader(MediaItem, CacheDataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
Creates an instance.
SsDownloader(MediaItem, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
Creates an instance.
SsDownloader(MediaItem, ParsingLoadable.Parser<SsManifest>, CacheDataSource.Factory, Executor) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
Creates a new instance.
SsManifest - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Represents a SmoothStreaming manifest.
SsManifest(int, int, long, long, long, int, boolean, SsManifest.ProtectionElement, SsManifest.StreamElement[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
SsManifest.ProtectionElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Represents a protection element containing a single header.
SsManifest.StreamElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Represents a StreamIndex element.
SsManifestParser - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
Parses SmoothStreaming client manifests.
SsManifestParser() - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
 
SsManifestParser.MissingFieldException - Exception in com.google.android.exoplayer2.source.smoothstreaming.manifest
Thrown if a required field is missing.
SsMediaSource - Class in com.google.android.exoplayer2.source.smoothstreaming
A SmoothStreaming MediaSource.
SsMediaSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
Factory for SsMediaSource.
ssrc - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP SSRC field (Word 2).
StandaloneDatabaseProvider - Class in com.google.android.exoplayer2.database
An SQLiteOpenHelper that provides instances of a standalone database.
StandaloneDatabaseProvider(Context) - Constructor for class com.google.android.exoplayer2.database.StandaloneDatabaseProvider
Provides instances of the database located by passing StandaloneDatabaseProvider.DATABASE_NAME to Context.getDatabasePath(String).
StandaloneMediaClock - Class in com.google.android.exoplayer2.util
A MediaClock whose position advances with real time based on the playback parameters when started.
StandaloneMediaClock(Clock) - Constructor for class com.google.android.exoplayer2.util.StandaloneMediaClock
Creates a new standalone media clock using the given Clock implementation.
StarRating - Class in com.google.android.exoplayer2
A rating expressed as a fractional number of stars.
StarRating(int) - Constructor for class com.google.android.exoplayer2.StarRating
Creates a unrated instance with maxStars.
StarRating(int, float) - Constructor for class com.google.android.exoplayer2.StarRating
Creates a rated instance with maxStars and the given fractional number of stars.
start - Variable in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
The (zero based) index of the first byte of the range.
start() - Method in class com.google.android.exoplayer2.BaseRenderer
 
start() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
start() - Method in interface com.google.android.exoplayer2.Renderer
Starts the renderer, meaning that calls to Renderer.render(long, long) will cause media to be rendered.
start() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
Starts watching for changes.
start() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Starts the test runner on its own thread.
start() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
Starts periodic updates of the TextView.
start() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Starts the clock.
start(boolean) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
Starts the test runner on its own thread.
start(Context, Class<? extends DownloadService>) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts a download service to resume any ongoing downloads.
start(Uri, MediaSourceEventListener.EventDispatcher, HlsPlaylistTracker.PrimaryPlaylistListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
start(Uri, MediaSourceEventListener.EventDispatcher, HlsPlaylistTracker.PrimaryPlaylistListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Starts the playlist tracker.
start(AdsMediaSource, DataSpec, Object, AdViewProvider, AdsLoader.EventListener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
start(AdsMediaSource, DataSpec, Object, AdViewProvider, AdsLoader.EventListener) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Starts using the ads loader for playback.
START - Static variable in class com.google.android.exoplayer2.extractor.SeekPoint
A SeekPoint whose time and byte offset are both set to 0.
startBlock(String) - Method in class com.google.android.exoplayer2.testutil.Dumper
 
startFile(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
Obtains a cache file into which data can be written.
startFile(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
startForeground(Context, Class<? extends DownloadService>) - Static method in class com.google.android.exoplayer2.offline.DownloadService
Starts the service in the foreground without adding a new download request.
startForegroundService(Context, Intent) - Static method in class com.google.android.exoplayer2.util.Util
startLoading(T, Loader.Callback<T>, int) - Method in class com.google.android.exoplayer2.upstream.Loader
Starts loading a Loader.Loadable.
startMasterElement(int, long, long) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when the start of a master element is encountered.
startMasterElement(int, long, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when the start of a master element is encountered.
startMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
The start time of the period in milliseconds, relative to the start of the manifest.
startOffset - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
The byte offset of the start of the chapter, or C.POSITION_UNSET if not set.
StartOffsetExtractorOutput - Class in com.google.android.exoplayer2.extractor.jpeg
An extractor output that wraps another extractor output and applies a give start byte offset to seek positions.
StartOffsetExtractorOutput(long, ExtractorOutput) - Constructor for class com.google.android.exoplayer2.extractor.jpeg.StartOffsetExtractorOutput
Creates a new wrapper reading from the given start byte offset.
startOffsetUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The start offset in microseconds from the beginning of the playlist, as defined by #EXT-X-START, or C.TIME_UNSET if undefined.
startPositionMs - Variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
The start position in milliseconds.
startReadWrite(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
A caller should invoke this method when they require data starting from a given position in a given resource.
startReadWrite(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
startReadWriteNonBlocking(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
startReadWriteNonBlocking(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
 
startSample(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.TrueHdSampleRechunker
 
startsAtKeyFrame - Variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
Sets whether the start point is guaranteed to be a key frame.
startTimeMs - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
startTimeMs - Variable in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
The start time, in milliseconds, of the track segment that is intended to be slow motion.
startTimeMs - Variable in class com.google.android.exoplayer2.offline.Download
The first time when download entry is created.
startTimeUs - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
The start time of the segment in microseconds.
startTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The start time of the media contained by the chunk, or C.TIME_UNSET if the data being loaded does not contain media samples.
startTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
If HlsMediaPlaylist.hasProgramDateTime is true, contains the datetime as microseconds since epoch.
startTimeUs - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueInfo
 
startTransformation(MediaItem, ParcelFileDescriptor) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Starts an asynchronous operation to transform the given MediaItem.
startTransformation(MediaItem, ParcelFileDescriptor) - Method in class com.google.android.exoplayer2.transformer.Transformer
Starts an asynchronous operation to transform the given MediaItem.
startTransformation(MediaItem, String) - Method in class com.google.android.exoplayer2.transformer.TranscodingTransformer
Starts an asynchronous operation to transform the given MediaItem.
startTransformation(MediaItem, String) - Method in class com.google.android.exoplayer2.transformer.Transformer
Starts an asynchronous operation to transform the given MediaItem.
startWrite() - Method in class com.google.android.exoplayer2.util.AtomicFile
Start a new write operation on the file.
state - Variable in class com.google.android.exoplayer2.offline.Download
The state of the download.
STATE_BUFFERING - Static variable in interface com.google.android.exoplayer2.Player
The player is not able to immediately play the media, but is doing work toward being able to do so.
STATE_COMPLETED - Static variable in class com.google.android.exoplayer2.offline.Download
The download completed.
STATE_DISABLED - Static variable in interface com.google.android.exoplayer2.Renderer
The renderer is disabled.
STATE_DOWNLOADING - Static variable in class com.google.android.exoplayer2.offline.Download
The download is currently started.
STATE_ENABLED - Static variable in interface com.google.android.exoplayer2.Renderer
The renderer is enabled but not started.
STATE_ENDED - Static variable in interface com.google.android.exoplayer2.Player
The player has finished playing the media.
STATE_ERROR - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session has encountered an error.
STATE_FAILED - Static variable in class com.google.android.exoplayer2.offline.Download
The download failed.
STATE_IDLE - Static variable in interface com.google.android.exoplayer2.Player
The player is idle, meaning it holds only limited resources.
STATE_OPENED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session is open, but does not have keys required for decryption.
STATE_OPENED_WITH_KEYS - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session is open and has keys required for decryption.
STATE_OPENING - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session is being opened.
STATE_QUEUED - Static variable in class com.google.android.exoplayer2.offline.Download
The download is waiting to be started.
STATE_READY - Static variable in interface com.google.android.exoplayer2.Player
The player is able to immediately play from its current position.
STATE_RELEASED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
The session has been released.
STATE_REMOVING - Static variable in class com.google.android.exoplayer2.offline.Download
The download is being removed.
STATE_RESTARTING - Static variable in class com.google.android.exoplayer2.offline.Download
The download will restart after all downloaded data is removed.
STATE_STARTED - Static variable in interface com.google.android.exoplayer2.Renderer
The renderer is started.
STATE_STOPPED - Static variable in class com.google.android.exoplayer2.offline.Download
The download is stopped for a specified Download.stopReason.
states - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The state of each ad in the ad group.
station - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional name of the station streaming the media.
StatsDataSource - Class in com.google.android.exoplayer2.upstream
DataSource wrapper which keeps track of bytes transferred, redirected uris, and response headers.
StatsDataSource(DataSource) - Constructor for class com.google.android.exoplayer2.upstream.StatsDataSource
Creates the stats data source.
STEREO_MODE_LEFT_RIGHT - Static variable in class com.google.android.exoplayer2.C
Indicates Left-Right stereo layout, used with 360/3D/VR videos.
STEREO_MODE_MONO - Static variable in class com.google.android.exoplayer2.C
Indicates Monoscopic stereo layout, used with 360/3D/VR videos.
STEREO_MODE_STEREO_MESH - Static variable in class com.google.android.exoplayer2.C
Indicates a stereo layout where the left and right eyes have separate meshes, used with 360/3D/VR videos.
STEREO_MODE_TOP_BOTTOM - Static variable in class com.google.android.exoplayer2.C
Indicates Top-Bottom stereo layout, used with 360/3D/VR videos.
stereoMode - Variable in class com.google.android.exoplayer2.Format
The stereo layout for 360/3D/VR video, or Format.NO_VALUE if not applicable.
stop() - Method in class com.google.android.exoplayer2.BaseRenderer
 
stop() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
 
stop() - Method in class com.google.android.exoplayer2.ForwardingPlayer
 
stop() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
stop() - Method in interface com.google.android.exoplayer2.Player
Stops playback without resetting the playlist.
stop() - Method in interface com.google.android.exoplayer2.Renderer
Stops the renderer, transitioning it to the Renderer.STATE_ENABLED state.
stop() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
Stops watching for changes.
stop() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
 
stop() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
stop() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Stops the playlist tracker and releases any acquired resources.
stop() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a stop action.
stop() - Method in class com.google.android.exoplayer2.testutil.StubPlayer
 
stop() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
Stops periodic updates of the TextView.
stop() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
Stops the clock.
stop(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
Deprecated.
stop(boolean) - Method in class com.google.android.exoplayer2.ForwardingPlayer
Deprecated.
stop(boolean) - Method in interface com.google.android.exoplayer2.Player
Deprecated.
Use Player.stop() and Player.clearMediaItems() (if reset is true) or just Player.stop() (if reset is false). Any player error will be cleared when re-preparing the player.
stop(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
Deprecated.
stop(boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a stop action.
stop(boolean) - Method in class com.google.android.exoplayer2.testutil.StubPlayer
Deprecated.
stop(AdsMediaSource, AdsLoader.EventListener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
 
stop(AdsMediaSource, AdsLoader.EventListener) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
Stops using the ads loader for playback and deregisters the event listener.
Stop(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.Stop
Action will call Player.stop().
Stop(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.Stop
Action will call Player.stop(boolean).
STOP_REASON_NONE - Static variable in class com.google.android.exoplayer2.offline.Download
The download isn't stopped.
stopActionIconResourceId - Variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager.Builder
 
stopReason - Variable in class com.google.android.exoplayer2.offline.Download
The reason the download is stopped, or Download.STOP_REASON_NONE.
STREAM_INFO_BLOCK_SIZE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Size of the FLAC stream info block (header included) in bytes.
STREAM_MARKER_SIZE - Static variable in class com.google.android.exoplayer2.extractor.flac.FlacConstants
Size of the FLAC stream marker in bytes.
STREAM_TYPE_ALARM - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
The default stream type used by audio renderers.
STREAM_TYPE_DTMF - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_NOTIFICATION - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_RING - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_SYSTEM - Static variable in class com.google.android.exoplayer2.C
 
STREAM_TYPE_TYPE0 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Type 0 AC3 stream type.
STREAM_TYPE_TYPE1 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Type 1 AC3 stream type.
STREAM_TYPE_TYPE2 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Type 2 AC3 stream type.
STREAM_TYPE_UNDEFINED - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
Undefined AC3 stream type.
STREAM_TYPE_VOICE_CALL - Static variable in class com.google.android.exoplayer2.C
 
StreamElement(String, String, @com.google.android.exoplayer2.C.TrackType int, String, long, String, int, int, int, int, String, Format[], List<Long>, long) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
streamElements - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
The contained stream elements.
streamIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
The stream index.
StreamKey - Class in com.google.android.exoplayer2.offline
A key for a subset of media that can be separately loaded (a "stream").
StreamKey(int, int) - Constructor for class com.google.android.exoplayer2.offline.StreamKey
Creates an instance with StreamKey.periodIndex set to 0.
StreamKey(int, int, int) - Constructor for class com.google.android.exoplayer2.offline.StreamKey
Creates an instance.
streamKeys - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
Optional stream keys by which the manifest is filtered.
streamKeys - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
Stream keys to be downloaded.
streamType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
streamType - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
 
stringElement(int, String) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
Called when a string element is encountered.
stringElement(int, String) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
Called when a string element is encountered.
StubExoPlayer - Class in com.google.android.exoplayer2.testutil
An abstract ExoPlayer implementation that throws UnsupportedOperationException from every method.
StubExoPlayer() - Constructor for class com.google.android.exoplayer2.testutil.StubExoPlayer
 
StubPlayer - Class in com.google.android.exoplayer2.testutil
An abstract Player implementation that throws UnsupportedOperationException from every method.
StubPlayer() - Constructor for class com.google.android.exoplayer2.testutil.StubPlayer
 
STYLE_BOLD - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
STYLE_BOLD_ITALIC - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
STYLE_ITALIC - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
STYLE_NORMAL - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
StyledPlayerControlView - Class in com.google.android.exoplayer2.ui
A view for controlling Player instances.
StyledPlayerControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
StyledPlayerControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
StyledPlayerControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
StyledPlayerControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerControlView
 
StyledPlayerControlView.OnFullScreenModeChangedListener - Interface in com.google.android.exoplayer2.ui
Listener to be invoked to inform the fullscreen mode is changed.
StyledPlayerControlView.ProgressUpdateListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified when progress has been updated.
StyledPlayerControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
Listener to be notified about changes of the visibility of the UI control.
StyledPlayerView - Class in com.google.android.exoplayer2.ui
A high level view for Player media playbacks.
StyledPlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerView
 
StyledPlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerView
 
StyledPlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.StyledPlayerView
 
StyledPlayerView.ShowBuffering - Annotation Type in com.google.android.exoplayer2.ui
Determines when the buffering view is shown.
subrange(long) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a data spec that represents a subrange of the data defined by this DataSpec.
subrange(long, long) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a data spec that represents a subrange of the data defined by this DataSpec.
SubripDecoder - Class in com.google.android.exoplayer2.text.subrip
A SimpleSubtitleDecoder for SubRip.
SubripDecoder() - Constructor for class com.google.android.exoplayer2.text.subrip.SubripDecoder
 
subsampleOffsetUs - Variable in class com.google.android.exoplayer2.Format
For samples that contain subsamples, this is an offset that should be added to subsample timestamps.
subsampleOffsetUs - Variable in class com.google.android.exoplayer2.metadata.MetadataInputBuffer
An offset that must be added to the metadata's timestamps after it's been decoded, or Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.
subsampleOffsetUs - Variable in class com.google.android.exoplayer2.text.SubtitleInputBuffer
An offset that must be added to the subtitle's event times after it's been decoded, or Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.
subset(Uri...) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
subset(DataSpec...) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
subset(String...) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
subtitle - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional subtitle.
Subtitle - Interface in com.google.android.exoplayer2.text
A subtitle consisting of timed Cues.
Subtitle(Uri, String, String) - Constructor for class com.google.android.exoplayer2.MediaItem.Subtitle
Deprecated.
Subtitle(Uri, String, String, @com.google.android.exoplayer2.C.SelectionFlags int) - Constructor for class com.google.android.exoplayer2.MediaItem.Subtitle
Deprecated.
Subtitle(Uri, String, String, @com.google.android.exoplayer2.C.SelectionFlags int, @com.google.android.exoplayer2.C.RoleFlags int, String) - Constructor for class com.google.android.exoplayer2.MediaItem.Subtitle
Deprecated.
subtitleConfigurations - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
Optional subtitles to be sideloaded.
SubtitleDecoder - Interface in com.google.android.exoplayer2.text
SubtitleDecoderException - Exception in com.google.android.exoplayer2.text
Thrown when an error occurs decoding subtitle data.
SubtitleDecoderException(String) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
 
SubtitleDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
 
SubtitleDecoderException(Throwable) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
 
SubtitleDecoderFactory - Interface in com.google.android.exoplayer2.text
A factory for SubtitleDecoder instances.
SubtitleExtractor - Class in com.google.android.exoplayer2.text
Generic extractor for extracting subtitles from various subtitle formats.
SubtitleExtractor(SubtitleDecoder, Format) - Constructor for class com.google.android.exoplayer2.text.SubtitleExtractor
 
subtitleGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
The SUBTITLES value as defined in the EXT-X-STREAM-INF tag, or null if the SUBTITLES attribute is not present.
subtitleGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
The subtitle rendition group referenced by this variant, or null.
SubtitleInputBuffer - Class in com.google.android.exoplayer2.text
SubtitleInputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleInputBuffer
 
SubtitleOutputBuffer - Class in com.google.android.exoplayer2.text
Base class for SubtitleDecoder output buffers.
SubtitleOutputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleOutputBuffer
 
subtitles - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
subtitles - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The subtitle renditions declared by the playlist.
SubtitleView - Class in com.google.android.exoplayer2.ui
A view for displaying subtitle Cues.
SubtitleView(Context) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
 
SubtitleView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
 
SubtitleView.ViewType - Annotation Type in com.google.android.exoplayer2.ui
The type of View to use to display subtitles.
subtractWithOverflowDefault(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
Returns the difference between two arguments, or a third argument if the result overflows.
subType - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
suggestedPresentationDelayMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The suggestedPresentationDelay value in milliseconds, or C.TIME_UNSET if not present.
supplementalData - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Supplemental data related to the buffer, if Buffer.hasSupplementalData() returns true.
supplementalData - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Supplemental data related to the output frame, if Buffer.hasSupplementalData() returns true.
supplementalProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
Supplemental properties in the adaptation set.
supplementalProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
 
supplementalProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
Supplemental properties in the adaptation set.
supportsCryptoType(@com.google.android.exoplayer2.C.CryptoType int) - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
Returns whether the library supports the given C.CryptoType.
supportsCryptoType(@com.google.android.exoplayer2.C.CryptoType int) - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
Returns whether the library supports the given C.CryptoType.
supportsEncoding(int) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
Returns whether this device supports playback of the specified audio encoding.
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.audio.AudioSink
Returns whether the sink supports a given Format.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
Returns whether the factory is able to instantiate a MetadataDecoder for the given Format.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the extent to which the Renderer supports a given format.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
 
supportsFormat(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
Returns whether the factory is able to instantiate a SubtitleDecoder for the given Format.
supportsFormat(Format) - Method in class com.google.android.exoplayer2.text.TextRenderer
 
supportsFormat(Format) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
 
supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
 
supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns the RendererCapabilities.Capabilities for the given Format.
supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
 
supportsFormat(String) - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
Returns whether the underlying library supports the specified MIME type.
supportsFormatDrm(Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Returns whether this renderer supports the given Format's DRM scheme.
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.audio.DecoderAudioRenderer
Returns the C.FormatSupport for the given Format.
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
 
supportsFormatInternal(Format) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.BaseRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
 
supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.NoSampleRenderer
 
supportsMixedMimeTypeAdaptation() - Method in interface com.google.android.exoplayer2.RendererCapabilities
Returns the extent to which the Renderer supports adapting between supported formats that have different MIME types.
supportsRangeRequests() - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource
Returns true if RFC 7233 range requests should be supported for this resource.
supportsRangeRequests(boolean) - Method in class com.google.android.exoplayer2.testutil.WebServerDispatcher.Resource.Builder
Sets if RFC 7233 range requests should be supported for this resource.
surface - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration
For video decoding, the output where the object will render the decoded frames.
surfaceChanged(SurfaceHolder, int, int, int) - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
surfaceCreated(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
surfaceDestroyed(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.HostActivity
 
surfaceIdentityHashCode - Variable in exception com.google.android.exoplayer2.video.MediaCodecVideoDecoderException
The System.identityHashCode(Object) of the surface when the exception occurred.
svcTemporalLayerCount - Variable in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
The number of layers in the SVC extended frames.
switchTargetView(Player, PlayerView, PlayerView) - Static method in class com.google.android.exoplayer2.ui.PlayerView
Switches the view targeted by a given Player.
switchTargetView(Player, StyledPlayerView, StyledPlayerView) - Static method in class com.google.android.exoplayer2.ui.StyledPlayerView
Switches the view targeted by a given Player.
SynchronousMediaCodecAdapter - Class in com.google.android.exoplayer2.mediacodec
A MediaCodecAdapter that operates the underlying MediaCodec in synchronous mode.
SynchronousMediaCodecAdapter.Factory - Class in com.google.android.exoplayer2.mediacodec
A factory for SynchronousMediaCodecAdapter instances.
SystemClock - Class in com.google.android.exoplayer2.util
The standard implementation of Clock, an instance of which is available via Clock.DEFAULT.
SystemClock() - Constructor for class com.google.android.exoplayer2.util.SystemClock
 

T

TABLE_PREFIX - Static variable in interface com.google.android.exoplayer2.database.DatabaseProvider
Prefix for tables that can be read and written by media library components.
tableExists(SQLiteDatabase, String) - Static method in class com.google.android.exoplayer2.util.Util
Returns whether the table exists in the database.
tag - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
Optional tag for custom attributes.
tag - Variable in class com.google.android.exoplayer2.testutil.ExoHostedTest
 
tag - Variable in class com.google.android.exoplayer2.Timeline.Window
Deprecated.
TAG - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
A tag to use when logging library information.
TAG - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
 
tags - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
The list of tags in the playlist.
targetDurationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The target duration in microseconds, as defined by #EXT-X-TARGETDURATION.
targetFoundResult(long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
Returns a result to signal that the target timestamp has been found at resultBytePosition, and the seek operation can stop.
targetOffsetMs - Variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
Target offset from the live edge, in milliseconds, or C.TIME_UNSET to use the media-defined default.
targetOffsetMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
The target live offset in milliseconds, or C.TIME_UNSET if undefined.
TeeAudioProcessor - Class in com.google.android.exoplayer2.audio
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
TeeAudioProcessor(TeeAudioProcessor.AudioBufferSink) - Constructor for class com.google.android.exoplayer2.audio.TeeAudioProcessor
Creates a new tee audio processor, sending incoming data to the given TeeAudioProcessor.AudioBufferSink.
TeeAudioProcessor.AudioBufferSink - Interface in com.google.android.exoplayer2.audio
A sink for audio buffers handled by the audio processor.
TeeAudioProcessor.WavFileAudioBufferSink - Class in com.google.android.exoplayer2.audio
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
TeeDataSource - Class in com.google.android.exoplayer2.upstream
Tees data into a DataSink as the data is read.
TeeDataSource(DataSource, DataSink) - Constructor for class com.google.android.exoplayer2.upstream.TeeDataSource
 
TestDownloadManagerListener - Class in com.google.android.exoplayer2.robolectric
Allows tests to block for, and assert properties of, calls from a DownloadManager to its DownloadManager.Listener.
TestDownloadManagerListener(DownloadManager) - Constructor for class com.google.android.exoplayer2.robolectric.TestDownloadManagerListener
 
TestExoPlayerBuilder - Class in com.google.android.exoplayer2.testutil
A builder of SimpleExoPlayer instances for testing.
TestExoPlayerBuilder(Context) - Constructor for class com.google.android.exoplayer2.testutil.TestExoPlayerBuilder
 
TestPlayerRunHelper - Class in com.google.android.exoplayer2.robolectric
Helper methods to block the calling thread until the provided ExoPlayer instance reaches a particular state.
TestUtil - Class in com.google.android.exoplayer2.testutil
Utility methods for tests.
text - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
text - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
text - Variable in class com.google.android.exoplayer2.text.Cue
The cue text, or null if this is an image cue.
TEXT_EXOPLAYER_CUES - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
TEXT_SIZE_TYPE_ABSOLUTE - Static variable in class com.google.android.exoplayer2.text.Cue
Text size is measured in number of pixels.
TEXT_SIZE_TYPE_FRACTIONAL - Static variable in class com.google.android.exoplayer2.text.Cue
Text size is measured as a fraction of the viewport size minus the view padding.
TEXT_SIZE_TYPE_FRACTIONAL_IGNORE_PADDING - Static variable in class com.google.android.exoplayer2.text.Cue
Text size is measured as a fraction of the viewport size, ignoring the view padding
TEXT_SSA - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
TEXT_UNKNOWN - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
TEXT_VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
textAlignment - Variable in class com.google.android.exoplayer2.text.Cue
The alignment of the cue text within the cue box, or null if the alignment is undefined.
TextAnnotation - Class in com.google.android.exoplayer2.text.span
Properties of a text annotation (i.e.
TextAnnotation.Position - Annotation Type in com.google.android.exoplayer2.text.span
The possible positions of the annotation text relative to the base text.
TextEmphasisSpan - Class in com.google.android.exoplayer2.text.span
A styling span for text emphasis marks.
TextEmphasisSpan(int, int, int) - Constructor for class com.google.android.exoplayer2.text.span.TextEmphasisSpan
 
TextEmphasisSpan.MarkFill - Annotation Type in com.google.android.exoplayer2.text.span
The possible mark fills that can be used.
TextEmphasisSpan.MarkShape - Annotation Type in com.google.android.exoplayer2.text.span
The possible mark shapes that can be used.
TextInformationFrame - Class in com.google.android.exoplayer2.metadata.id3
Text information ID3 frame.
TextInformationFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
TextOutput - Interface in com.google.android.exoplayer2.text
Receives text output.
TextRenderer - Class in com.google.android.exoplayer2.text
A renderer for text.
TextRenderer(TextOutput, Looper) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
 
TextRenderer(TextOutput, Looper, SubtitleDecoderFactory) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
 
textSize - Variable in class com.google.android.exoplayer2.text.Cue
The default text size for this cue's text, or Cue.DIMEN_UNSET if this cue has no default text size.
textSizeType - Variable in class com.google.android.exoplayer2.text.Cue
The default text size type for this cue's text, or Cue.TYPE_UNSET if this cue has no default text size.
TextTrackScore(Format, DefaultTrackSelector.Parameters, int, String) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
 
TEXTURE_ID_UNSET - Static variable in class com.google.android.exoplayer2.util.GlUtil
Represents an unset texture ID.
THREAD_COUNT_AUTODETECT - Static variable in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
Attempts to use as many threads as performance processors available on the device.
throwNotProvisionedExceptionFromGetKeyRequest() - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm.Builder
Configures the FakeExoMediaDrm to throw any NotProvisionedException from FakeExoMediaDrm.getKeyRequest(byte[], List, int, HashMap) instead of the default behaviour of throwing from FakeExoMediaDrm.openSession().
throwPlaybackException(ExoPlaybackException) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules to throw a playback exception on the playback thread.
ThrowPlaybackException(String, ExoPlaybackException) - Constructor for class com.google.android.exoplayer2.testutil.Action.ThrowPlaybackException
 
ThumbRating - Class in com.google.android.exoplayer2
A rating expressed as "thumbs up" or "thumbs down".
ThumbRating() - Constructor for class com.google.android.exoplayer2.ThumbRating
Creates a unrated instance.
ThumbRating(boolean) - Constructor for class com.google.android.exoplayer2.ThumbRating
Creates a rated instance.
TIME_END_OF_SOURCE - Static variable in class com.google.android.exoplayer2.C
Special constant representing a time corresponding to the end of a source.
TIME_UNSET - Static variable in class com.google.android.exoplayer2.C
Special constant representing an unset or unknown time or duration.
TimeBar - Interface in com.google.android.exoplayer2.ui
Interface for time bar views that can display a playback position, buffered position, duration and ad markers, and that have a listener for scrubbing (seeking) events.
TimeBar.OnScrubListener - Interface in com.google.android.exoplayer2.ui
Listener for scrubbing events.
TimedValueQueue<V> - Class in com.google.android.exoplayer2.util
A utility class to keep a queue of values with timestamps.
TimedValueQueue() - Constructor for class com.google.android.exoplayer2.util.TimedValueQueue
 
TimedValueQueue(int) - Constructor for class com.google.android.exoplayer2.util.TimedValueQueue
Creates a TimedValueBuffer with the given initial buffer size.
timeline - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Most recent Timeline that contains the event position.
timeline - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The Timeline in which the seek was attempted.
timeline - Variable in class com.google.android.exoplayer2.source.ForwardingTimeline
 
Timeline - Class in com.google.android.exoplayer2
A flexible representation of the structure of media.
Timeline() - Constructor for class com.google.android.exoplayer2.Timeline
 
TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED - Static variable in interface com.google.android.exoplayer2.Player
Timeline changed as a result of a change of the playlist items or the order of the items.
TIMELINE_CHANGE_REASON_SOURCE_UPDATE - Static variable in interface com.google.android.exoplayer2.Player
Timeline changed as a result of a source update (e.g.
Timeline.Period - Class in com.google.android.exoplayer2
Holds information about a period in a Timeline.
Timeline.RemotableTimeline - Class in com.google.android.exoplayer2
A concrete class of Timeline to restore a Timeline instance from a Bundle sent by another process via IBinder.
Timeline.Window - Class in com.google.android.exoplayer2
Holds information about a window in a Timeline.
TimelineAsserts - Class in com.google.android.exoplayer2.testutil
Assertion methods for Timeline.
TimelineQueueEditor - Class in com.google.android.exoplayer2.ext.mediasession
TimelineQueueEditor(MediaControllerCompat, TimelineQueueEditor.QueueDataAdapter, TimelineQueueEditor.MediaDescriptionConverter) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
Creates a new TimelineQueueEditor with a given mediaSourceFactory.
TimelineQueueEditor(MediaControllerCompat, TimelineQueueEditor.QueueDataAdapter, TimelineQueueEditor.MediaDescriptionConverter, TimelineQueueEditor.MediaDescriptionEqualityChecker) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
Creates a new TimelineQueueEditor with a given mediaSourceFactory.
TimelineQueueEditor.MediaDescriptionConverter - Interface in com.google.android.exoplayer2.ext.mediasession
Converts a MediaDescriptionCompat to a MediaItem.
TimelineQueueEditor.MediaIdEqualityChecker - Class in com.google.android.exoplayer2.ext.mediasession
Media description comparator comparing the media IDs.
TimelineQueueEditor.QueueDataAdapter - Interface in com.google.android.exoplayer2.ext.mediasession
Adapter to get MediaDescriptionCompat of items in the queue and to notify the application about changes in the queue to sync the data structure backing the MediaSessionConnector.
TimelineQueueNavigator - Class in com.google.android.exoplayer2.ext.mediasession
An abstract implementation of the MediaSessionConnector.QueueNavigator that maps the windows of a Player's Timeline to the media session queue.
TimelineQueueNavigator(MediaSessionCompat) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
Creates an instance for a given MediaSessionCompat.
TimelineQueueNavigator(MediaSessionCompat, int) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
Creates an instance for a given MediaSessionCompat and maximum queue size.
TimelineWindowDefinition(boolean, boolean, long) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition with one period.
TimelineWindowDefinition(int, Object) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a seekable, non-dynamic window definition with a duration of FakeTimeline.TimelineWindowDefinition.DEFAULT_WINDOW_DURATION_US.
TimelineWindowDefinition(int, Object, boolean, boolean, boolean, boolean, long, long, long, AdPlaybackState) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition with ad groups.
TimelineWindowDefinition(int, Object, boolean, boolean, boolean, boolean, long, long, long, AdPlaybackState, MediaItem) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition with ad groups and a custom media item.
TimelineWindowDefinition(int, Object, boolean, boolean, long) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition.
TimelineWindowDefinition(int, Object, boolean, boolean, long, AdPlaybackState) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
Creates a window definition with ad groups.
TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.testutil.DummyMainThread
Default timeout value used for DummyMainThread.runOnMainThread(Runnable).
TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
 
TIMEOUT_OPERATION_DETACH_SURFACE - Static variable in exception com.google.android.exoplayer2.ExoTimeoutException
The error occurred while detaching a surface from the player.
TIMEOUT_OPERATION_RELEASE - Static variable in exception com.google.android.exoplayer2.ExoTimeoutException
The error occurred in Player.release().
TIMEOUT_OPERATION_SET_FOREGROUND_MODE - Static variable in exception com.google.android.exoplayer2.ExoTimeoutException
TIMEOUT_OPERATION_UNDEFINED - Static variable in exception com.google.android.exoplayer2.ExoTimeoutException
The operation where this error occurred is not defined.
timeoutOperation - Variable in exception com.google.android.exoplayer2.ExoTimeoutException
The operation on the ExoPlayer playback thread that timed out.
timescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
The track timescale, defined as the number of time units that pass in one second.
timescale - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
The timescale in units per seconds, as defined in the manifest.
timescale - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
timeShiftBufferDepthMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The timeShiftBufferDepth value in milliseconds, or C.TIME_UNSET if not present.
TimeSignalCommand - Class in com.google.android.exoplayer2.metadata.scte35
Represents a time signal command as defined in SCTE35, Section 9.3.4.
timestamp - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP timestamp field (Word 1).
TimestampAdjuster - Class in com.google.android.exoplayer2.util
Adjusts and offsets sample timestamps.
TimestampAdjuster(long) - Constructor for class com.google.android.exoplayer2.util.TimestampAdjuster
 
TimestampAdjusterProvider - Class in com.google.android.exoplayer2.source.hls
Provides TimestampAdjuster instances for use during HLS playbacks.
TimestampAdjusterProvider() - Constructor for class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
 
timestampMs - Variable in exception com.google.android.exoplayer2.PlaybackException
The value of SystemClock.elapsedRealtime() when this exception was created.
timestampSeeker - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
 
timesUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
The start time of each chunk, in microseconds.
TimeToFirstByteEstimator - Interface in com.google.android.exoplayer2.upstream
Provides an estimate of the time to first byte of a transfer.
timeUs - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
The time at which the sample should be presented.
timeUs - Variable in class com.google.android.exoplayer2.decoder.DecoderOutputBuffer
The presentation timestamp for the buffer, in microseconds.
timeUs - Variable in class com.google.android.exoplayer2.extractor.SeekPoint
The time of the seek point, in microseconds.
timeUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The time of the ad group in the Timeline.Period, in microseconds, or C.TIME_END_OF_SOURCE to indicate a postroll ad.
timeUsToTargetTime(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
 
timeUsToTargetTime(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter
 
timeUsToTargetTime(long) - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekTimestampConverter
Converts a seek time in microseconds into target timestamp for the BinarySearchSeeker.
title - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional title.
title - Variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
The stream title if present and decodable, or null.
title - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
The title for the media presentation.
title - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The human readable title of the segment.
toArray() - Method in class com.google.android.exoplayer2.util.LongArray
Copies the current values into a newly allocated primitive array.
toBundle() - Method in class com.google.android.exoplayer2.audio.AudioAttributes
 
toBundle() - Method in interface com.google.android.exoplayer2.Bundleable
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.DeviceInfo
 
toBundle() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.Format
 
toBundle() - Method in class com.google.android.exoplayer2.HeartRating
 
toBundle() - Method in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
 
toBundle() - Method in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
 
toBundle() - Method in class com.google.android.exoplayer2.MediaItem
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.MediaMetadata
 
toBundle() - Method in class com.google.android.exoplayer2.PercentageRating
 
toBundle() - Method in exception com.google.android.exoplayer2.PlaybackException
 
toBundle() - Method in class com.google.android.exoplayer2.PlaybackParameters
 
toBundle() - Method in class com.google.android.exoplayer2.Player.Commands
 
toBundle() - Method in class com.google.android.exoplayer2.Player.PositionInfo
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
 
toBundle() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.source.TrackGroup
 
toBundle() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
 
toBundle() - Method in class com.google.android.exoplayer2.StarRating
 
toBundle() - Method in class com.google.android.exoplayer2.text.Cue
 
toBundle() - Method in class com.google.android.exoplayer2.ThumbRating
 
toBundle() - Method in class com.google.android.exoplayer2.Timeline.Period
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.Timeline
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.Timeline.Window
Returns a Bundle representing the information stored in this object.
toBundle() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
 
toBundle() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
toBundle() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides
 
toBundle() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
 
toBundle() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
toBundle() - Method in class com.google.android.exoplayer2.TracksInfo
 
toBundle() - Method in class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
 
toBundle() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
toBundle() - Method in class com.google.android.exoplayer2.video.VideoSize
 
toBundle(boolean) - Method in class com.google.android.exoplayer2.Timeline
toBundleArrayList(Collection<T>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a collection of Bundleable to an ArrayList of Bundle so that the returned list can be put to Bundle using Bundle.putParcelableArrayList(java.lang.String, java.util.ArrayList<? extends android.os.Parcelable>) conveniently.
toBundleList(List<T>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a list of Bundleable to a list Bundle.
toBundleSparseArray(SparseArray<T>) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
toByteArray(InputStream) - Static method in class com.google.android.exoplayer2.util.Util
Converts the entirety of an InputStream to a byte array.
toCaptionsMediaFormat(Format) - Static method in class com.google.android.exoplayer2.source.mediaparser.MediaParserUtil
toHexString(byte[]) - Static method in class com.google.android.exoplayer2.util.Util
Returns a string containing a lower-case hex representation of the bytes provided.
toleranceAfterUs - Variable in class com.google.android.exoplayer2.SeekParameters
The maximum time that the actual position seeked to may exceed the requested seek position, in microseconds.
toleranceBeforeUs - Variable in class com.google.android.exoplayer2.SeekParameters
The maximum time that the actual position seeked to may precede the requested seek position, in microseconds.
toLogString(Format) - Static method in class com.google.android.exoplayer2.Format
Returns a prettier String than Format.toString(), intended for logging.
toLong(int, int) - Static method in class com.google.android.exoplayer2.util.Util
Returns the long that is composed of the bits of the 2 specified integers.
toMediaItem() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
Returns a MediaItem for the content defined by the request.
toMediaItem(MediaQueueItem) - Method in class com.google.android.exoplayer2.ext.cast.DefaultMediaItemConverter
 
toMediaItem(MediaQueueItem) - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemConverter
Converts a MediaQueueItem to a MediaItem.
toMediaQueueItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.cast.DefaultMediaItemConverter
 
toMediaQueueItem(MediaItem) - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemConverter
Converts a MediaItem to a MediaQueueItem.
toNullableBundle(Bundleable) - Static method in class com.google.android.exoplayer2.util.BundleableUtil
Converts a Bundleable to a Bundle.
toString() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
 
toString() - Method in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
 
toString() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
 
toString() - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
 
toString() - Method in class com.google.android.exoplayer2.extractor.SeekPoint
 
toString() - Method in class com.google.android.exoplayer2.Format
 
toString() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
 
toString() - Method in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
toString() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
toString() - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
toString() - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
toString() - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.Id3Frame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
toString() - Method in class com.google.android.exoplayer2.metadata.Metadata
 
toString() - Method in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
toString() - Method in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
toString() - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
toString() - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
toString() - Method in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
toString() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
 
toString() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
toString() - Method in class com.google.android.exoplayer2.offline.StreamKey
 
toString() - Method in class com.google.android.exoplayer2.PlaybackParameters
 
toString() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
 
toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
 
toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
toString() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
toString() - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket
 
toString() - Method in class com.google.android.exoplayer2.testutil.Dumper
 
toString() - Method in class com.google.android.exoplayer2.testutil.ExtractorAsserts.SimulationConfig
 
toString() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
 
toString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
 
toString() - Method in class com.google.android.exoplayer2.video.ColorInfo
 
totalAudioFormatBitrateTimeProduct - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The accumulated sum of all audio format bitrates, in bits per second, times the time the format was used for playback, in milliseconds.
totalAudioFormatTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total media time for which audio format data is available, in milliseconds.
totalAudioUnderruns - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of audio underruns.
totalBandwidth - Variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.AdaptationCheckpoint
Total bandwidth in bits per second at which this checkpoint applies.
totalBandwidthBytes - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total bytes transferred during PlaybackStats.totalBandwidthTimeMs.
totalBandwidthTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total time for which bandwidth measurement data is available, in milliseconds.
totalBufferedDurationMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Total buffered duration from AnalyticsListener.EventTime.currentPlaybackPositionMs at the time of the event, in milliseconds.
totalDiscCount - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional total number of discs.
totalDroppedFrames - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of dropped video frames.
totalInitialAudioFormatBitrate - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total initial audio format bitrate for all playbacks, in bits per second, or C.LENGTH_UNSET if no initial audio format data is available.
totalInitialVideoFormatBitrate - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total initial video format bitrate for all playbacks, in bits per second, or C.LENGTH_UNSET if no initial video format data is available.
totalInitialVideoFormatHeight - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total initial video format height for all playbacks, in pixels, or C.LENGTH_UNSET if no initial video format data is available.
totalPauseBufferCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of times a playback has been paused while rebuffering.
totalPauseCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of times a playback has been paused.
totalRebufferCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of times a rebuffer occurred.
totalSamples - Variable in class com.google.android.exoplayer2.extractor.FlacStreamMetadata
Total number of samples, or 0 if the value is unknown.
totalSeekCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total number of times a seek occurred.
totalTrackCount - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional total number of tracks.
totalValidJoinTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total time spent joining the playback, in milliseconds, or C.TIME_UNSET if no valid join time could be determined.
totalVideoFormatBitrateTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total media time for which video format bitrate data is available, in milliseconds.
totalVideoFormatBitrateTimeProduct - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The accumulated sum of all video format bitrates, in bits per second, times the time the format was used for playback, in milliseconds.
totalVideoFormatHeightTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The total media time for which video format height data is available, in milliseconds.
totalVideoFormatHeightTimeProduct - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The accumulated sum of all video format heights, in pixels, times the time the format was used for playback, in milliseconds.
totalVideoFrameProcessingOffsetUs - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The sum of the video frame processing offsets in microseconds.
toUnsignedLong(int) - Static method in class com.google.android.exoplayer2.util.Util
Converts an integer to a long by unsigned conversion.
TRACE_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
Whether the library was compiled with TraceUtil trace enabled.
TraceUtil - Class in com.google.android.exoplayer2.util
Calls through to Trace methods on supported API levels.
track(int, @com.google.android.exoplayer2.C.TrackType int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
Called by the Extractor to get the TrackOutput for a specific track.
track(int, @com.google.android.exoplayer2.C.TrackType int) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
 
track(int, @com.google.android.exoplayer2.C.TrackType int) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractor.TrackOutputProvider
Called to get the TrackOutput for a specific track.
track(int, int) - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
 
track(int, int) - Method in class com.google.android.exoplayer2.extractor.jpeg.StartOffsetExtractorOutput
 
track(int, int) - Method in class com.google.android.exoplayer2.source.chunk.BundledChunkExtractor
 
track(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
Track - Class in com.google.android.exoplayer2.extractor.mp4
Encapsulates information describing an MP4 track.
Track(int, @com.google.android.exoplayer2.C.TrackType int, long, long, long, Format, int, TrackEncryptionBox[], int, long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Track
 
TRACK_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.C
A type constant for audio tracks.
TRACK_TYPE_CAMERA_MOTION - Static variable in class com.google.android.exoplayer2.C
A type constant for camera motion tracks.
TRACK_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
Applications or extensions may define custom TRACK_TYPE_* constants greater than or equal to this value.
TRACK_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
A type constant for tracks of some default type, where the type itself is unknown.
TRACK_TYPE_IMAGE - Static variable in class com.google.android.exoplayer2.C
A type constant for image tracks.
TRACK_TYPE_METADATA - Static variable in class com.google.android.exoplayer2.C
A type constant for metadata tracks.
TRACK_TYPE_NONE - Static variable in class com.google.android.exoplayer2.C
A type constant for a fake or empty track.
TRACK_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.C
A type constant for text tracks.
TRACK_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
A type constant for tracks of unknown type.
TRACK_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.C
A type constant for video tracks.
Track.Transformation - Annotation Type in com.google.android.exoplayer2.extractor.mp4
The transformation to apply to samples in the track, if any.
TrackEncryptionBox - Class in com.google.android.exoplayer2.extractor.mp4
Encapsulates information parsed from a track encryption (tenc) box or sample group description (sgpd) box in an MP4 stream.
TrackEncryptionBox(boolean, String, int, byte[], int, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
 
trackEncryptionBoxes - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
trackFormat - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The format of the track to which this chunk belongs.
trackFormat - Variable in class com.google.android.exoplayer2.source.MediaLoadData
The format of the track to which the data belongs.
trackGroup - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
TrackGroup - Class in com.google.android.exoplayer2.source
Defines an immutable group of tracks identified by their format identity.
TrackGroup(Format...) - Constructor for class com.google.android.exoplayer2.source.TrackGroup
Constructs an instance TrackGroup containing the provided formats.
TrackGroupArray - Class in com.google.android.exoplayer2.source
An immutable array of TrackGroups.
TrackGroupArray(TrackGroup...) - Constructor for class com.google.android.exoplayer2.source.TrackGroupArray
Construct a TrackGroupArray from an array of (possibly empty) trackGroups.
TrackGroupInfo(TrackGroup, int[], @com.google.android.exoplayer2.C.TrackType int, boolean[]) - Constructor for class com.google.android.exoplayer2.TracksInfo.TrackGroupInfo
Constructs a TrackGroupInfo.
TrackIdGenerator(int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
 
TrackIdGenerator(int, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
 
trackIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
Deprecated.
trackIndices - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
The indices of tracks in a TrackGroup to be selected.
TrackNameProvider - Interface in com.google.android.exoplayer2.ui
Converts Formats to user readable track names.
trackNumber - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional track number.
TrackOutput - Interface in com.google.android.exoplayer2.extractor
Receives track level data extracted by an Extractor.
TrackOutput.CryptoData - Class in com.google.android.exoplayer2.extractor
Holds data required to decrypt a sample.
TrackOutput.SampleDataPart - Annotation Type in com.google.android.exoplayer2.extractor
Defines the part of the sample data to which a call to TrackOutput.sampleData(com.google.android.exoplayer2.upstream.DataReader, int, boolean) corresponds.
trackOutputs - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
tracks - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
The indices of the selected tracks in BaseTrackSelection.group, in order of decreasing bandwidth.
tracks - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
tracks - Variable in class com.google.android.exoplayer2.trackselection.ExoTrackSelection.Definition
The indices of the selected tracks in ExoTrackSelection.Definition.group.
TrackSelection - Interface in com.google.android.exoplayer2.trackselection
A track selection consisting of a static subset of selected tracks belonging to a TrackGroup.
TrackSelection.Type - Annotation Type in com.google.android.exoplayer2.trackselection
Represents a type track selection.
TrackSelectionArray - Class in com.google.android.exoplayer2.trackselection
An array of TrackSelections.
TrackSelectionArray(TrackSelection...) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionArray
 
trackSelectionData - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
Optional data associated with the selection of the track to which this chunk belongs.
trackSelectionData - Variable in class com.google.android.exoplayer2.source.MediaLoadData
Optional data associated with the selection of the track to which the data belongs.
TrackSelectionDialogBuilder - Class in com.google.android.exoplayer2.ui
Builder for a dialog with a TrackSelectionView.
TrackSelectionDialogBuilder(Context, CharSequence, DefaultTrackSelector, int) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Creates a builder for a track selection dialog which automatically updates a DefaultTrackSelector.
TrackSelectionDialogBuilder(Context, CharSequence, MappingTrackSelector.MappedTrackInfo, int, TrackSelectionDialogBuilder.DialogCallback) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
Creates a builder for a track selection dialog.
TrackSelectionDialogBuilder.DialogCallback - Interface in com.google.android.exoplayer2.ui
Callback which is invoked when a track selection has been made.
TrackSelectionOverride(TrackGroup) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
Constructs an instance to force all tracks in trackGroup to be selected.
TrackSelectionOverride(TrackGroup, List<Integer>) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionOverrides.TrackSelectionOverride
Constructs an instance to force trackIndices in trackGroup to be selected.
trackSelectionOverrides - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Overrides to force tracks to be selected.
TrackSelectionOverrides - Class in com.google.android.exoplayer2.trackselection
Forces the selection of the specified tracks in TrackGroups.
TrackSelectionOverrides.Builder - Class in com.google.android.exoplayer2.trackselection
TrackSelectionOverrides.TrackSelectionOverride - Class in com.google.android.exoplayer2.trackselection
TrackSelectionParameters - Class in com.google.android.exoplayer2.trackselection
Constraint parameters for track selection.
TrackSelectionParameters(TrackSelectionParameters.Builder) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
 
TrackSelectionParameters.Builder - Class in com.google.android.exoplayer2.trackselection
trackSelectionReason - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
One of the selection reasons if the chunk belongs to a track.
trackSelectionReason - Variable in class com.google.android.exoplayer2.source.MediaLoadData
One of the selection reasons if the data belongs to a track.
TrackSelectionUtil - Class in com.google.android.exoplayer2.trackselection
Track selection related utility methods.
TrackSelectionUtil.AdaptiveTrackSelectionFactory - Interface in com.google.android.exoplayer2.trackselection
Functional interface to create a single adaptive track selection.
TrackSelectionView - Class in com.google.android.exoplayer2.ui
A view for making track selections.
TrackSelectionView(Context) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
Creates a track selection view.
TrackSelectionView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
Creates a track selection view.
TrackSelectionView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
Creates a track selection view.
TrackSelectionView.TrackSelectionListener - Interface in com.google.android.exoplayer2.ui
Listener for changes to the selected tracks.
TrackSelector - Class in com.google.android.exoplayer2.trackselection
The component of an ExoPlayer responsible for selecting tracks to be consumed by each of the player's Renderers.
TrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelector
 
TrackSelector.InvalidationListener - Interface in com.google.android.exoplayer2.trackselection
Notified when selections previously made by a TrackSelector are no longer valid.
TrackSelectorResult - Class in com.google.android.exoplayer2.trackselection
The result of a TrackSelector operation.
TrackSelectorResult(RendererConfiguration[], ExoTrackSelection[], TracksInfo, Object) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectorResult
 
TrackSelectorResult(RendererConfiguration[], ExoTrackSelection[], Object) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectorResult
tracksEnded - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
 
tracksInfo - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
Describe the tracks and which one were selected.
TracksInfo - Class in com.google.android.exoplayer2
Immutable information (TracksInfo.TrackGroupInfo) about tracks.
TracksInfo(List<TracksInfo.TrackGroupInfo>) - Constructor for class com.google.android.exoplayer2.TracksInfo
Constructs TracksInfo from the provided TracksInfo.TrackGroupInfo.
TracksInfo.TrackGroupInfo - Class in com.google.android.exoplayer2
Information about tracks in a TrackGroup: their C.TrackType, if their format is supported by the player and if they are selected for playback.
trackType - Variable in class com.google.android.exoplayer2.source.MediaLoadData
One of the track types, which is a media track type if the data corresponds to media of a specific type, or C.TRACK_TYPE_UNKNOWN otherwise.
trailingParts - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The list of parts at the end of the playlist for which the segment is not in the playlist yet.
TranscodingTransformer - Class in com.google.android.exoplayer2.transformer
A transcoding transformer to transform media inputs.
TranscodingTransformer.Builder - Class in com.google.android.exoplayer2.transformer
A builder for TranscodingTransformer instances.
TranscodingTransformer.Listener - Interface in com.google.android.exoplayer2.transformer
A listener for the transformation events.
TranscodingTransformer.ProgressState - Annotation Type in com.google.android.exoplayer2.transformer
Progress state.
transferEnded() - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that a transfer ended.
transferInitializing(DataSpec) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that data transfer for the specified DataSpec is being initialized.
TransferListener - Interface in com.google.android.exoplayer2.upstream
A listener of data transfer events.
transferListenerCallbacks() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
transferStarted(DataSpec) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
Notifies listeners that data transfer for the specified DataSpec started.
TRANSFORMATION_CEA608_CDAT - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
A transformation for caption samples in cdat atoms.
TRANSFORMATION_NONE - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
A no-op sample transformation.
Transformer - Class in com.google.android.exoplayer2.transformer
A transformer to transform media inputs.
Transformer.Builder - Class in com.google.android.exoplayer2.transformer
A builder for Transformer instances.
Transformer.Listener - Interface in com.google.android.exoplayer2.transformer
A listener for the transformation events.
Transformer.ProgressState - Annotation Type in com.google.android.exoplayer2.transformer
Progress state.
transformType - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
 
triggerEvent(Predicate<byte[]>, int, int, byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
Calls ExoMediaDrm.OnEventListener.onEvent(ExoMediaDrm, byte[], int, int, byte[]) on the attached listener (if present) once for each open session ID which passes sessionIdPredicate, passing the provided values for event, extra and data.
trim() - Method in interface com.google.android.exoplayer2.upstream.Allocator
Hints to the allocator that it should make a best effort to release any excess Allocations.
trim() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
 
TRUEHD_MAX_RATE_BYTES_PER_SECOND - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
Maximum rate for a TrueHD audio stream, in bytes per second.
TRUEHD_RECHUNK_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
The number of samples to store in each output chunk when rechunking TrueHD streams.
TRUEHD_SYNCFRAME_PREFIX_LENGTH - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
The number of bytes that must be parsed from a TrueHD syncframe to calculate the sample count.
TrueHdSampleRechunker - Class in com.google.android.exoplayer2.extractor
Rechunks TrueHD sample data into groups of Ac3Util.TRUEHD_RECHUNK_SAMPLE_COUNT samples.
TrueHdSampleRechunker() - Constructor for class com.google.android.exoplayer2.extractor.TrueHdSampleRechunker
 
truncateAscii(CharSequence, int) - Static method in class com.google.android.exoplayer2.util.Util
Truncates a sequence of ASCII characters to a maximum length.
TS - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the MPEG-TS format.
TS_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AAC_ADTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AAC_LATM - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AC4 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_AIT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_DC2_H262 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_DVBSUBS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_E_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H262 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H263 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H264 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_H265 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_HDMV_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_ID3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_MPA - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_MPA_LSF - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_STREAM_TYPE_SPLICE_INFO - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TS_SYNC_BYTE - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor - Class in com.google.android.exoplayer2.extractor.ts
Extracts data from the MPEG-2 TS container format.
TsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int, TimestampAdjuster, TsPayloadReader.Factory) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor(int, TimestampAdjuster, TsPayloadReader.Factory, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
 
TsExtractor.Mode - Annotation Type in com.google.android.exoplayer2.extractor.ts
Modes for the extractor.
TsPayloadReader - Interface in com.google.android.exoplayer2.extractor.ts
Parses TS packet payload data.
TsPayloadReader.DvbSubtitleInfo - Class in com.google.android.exoplayer2.extractor.ts
Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
TsPayloadReader.EsInfo - Class in com.google.android.exoplayer2.extractor.ts
Holds information associated with a PMT entry.
TsPayloadReader.Factory - Interface in com.google.android.exoplayer2.extractor.ts
Factory of TsPayloadReader instances.
TsPayloadReader.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
Contextual flags indicating the presence of indicators in the TS packet or PES packet headers.
TsPayloadReader.TrackIdGenerator - Class in com.google.android.exoplayer2.extractor.ts
Generates track ids for initializing TsPayloadReaders' TrackOutputs.
TsUtil - Class in com.google.android.exoplayer2.extractor.ts
Utilities method for extracting MPEG-TS streams.
TtmlDecoder - Class in com.google.android.exoplayer2.text.ttml
A SimpleSubtitleDecoder for TTML supporting the DFXP presentation profile.
TtmlDecoder() - Constructor for class com.google.android.exoplayer2.text.ttml.TtmlDecoder
 
tunneling - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the decoder supports tunneling.
tunneling - Variable in class com.google.android.exoplayer2.RendererConfiguration
Whether to enable tunneling.
TUNNELING_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer does not support tunneled output.
TUNNELING_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
TUNNELING_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
The Renderer supports tunneled output.
tunnelingEnabled - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
Whether to enable tunneling if possible.
Tx3gDecoder - Class in com.google.android.exoplayer2.text.tx3g
Tx3gDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
Sets up a new Tx3gDecoder with default values.
type - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
The ExoPlaybackException.Type of the playback failure.
type - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
type - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
 
type - Variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
The AdsMediaSource.AdLoadException.Type of the ad load exception.
type - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
The data type of the chunk.
type - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
The track type of the adaptation set.
type - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
 
type - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
 
type - Variable in class com.google.android.exoplayer2.trackselection.ExoTrackSelection.Definition
The type that will be returned from TrackSelection.getType().
type - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
 
type - Variable in class com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackSelection
The type of fallback.
type - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
The type of the data.
TYPE - Static variable in class com.google.android.exoplayer2.testutil.FakeCryptoConfig
 
TYPE_AD - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when an ad failed to load.
TYPE_AD_GROUP - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when an ad group failed to load.
TYPE_ALAW - Static variable in class com.google.android.exoplayer2.audio.WavUtil
WAVE type value for 8-bit ITU-T G.711 A-law audio data.
TYPE_ALL_ADS - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when all ad groups failed to load.
TYPE_CLOSE - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
The error occurred in closing a HttpDataSource.
TYPE_CUSTOM_BASE - Static variable in interface com.google.android.exoplayer2.trackselection.TrackSelection
The first value that can be used for application specific track selection types.
TYPE_DASH - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for DASH manifests.
TYPE_FLOAT - Static variable in class com.google.android.exoplayer2.audio.WavUtil
WAVE type value for float PCM audio data.
TYPE_HLS - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for HLS manifests.
TYPE_IMA_ADPCM - Static variable in class com.google.android.exoplayer2.audio.WavUtil
WAVE type value for IMA ADPCM audio data.
TYPE_MLAW - Static variable in class com.google.android.exoplayer2.audio.WavUtil
WAVE type value for 8-bit ITU-T G.711 mu-law audio data.
TYPE_NO_TIMESTAMP - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
The search didn't find any timestamps.
TYPE_OPEN - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
The error occurred reading data from a HttpDataSource.
TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
TYPE_PCM - Static variable in class com.google.android.exoplayer2.audio.WavUtil
WAVE type value for integer PCM audio data.
TYPE_POSITION_OVERESTIMATED - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
The search found only timestamps larger than the target timestamp.
TYPE_POSITION_UNDERESTIMATED - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
The search found only timestamps smaller than the target timestamp.
TYPE_READ - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
The error occurred in opening a HttpDataSource.
TYPE_REMOTE - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error occurred in a remote component.
TYPE_RENDERER - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error occurred in a Renderer.
TYPE_RTSP - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for RTSP.
TYPE_SOURCE - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error occurred loading data from a MediaSource.
TYPE_SS - Static variable in class com.google.android.exoplayer2.C
Value returned by Util.inferContentType(String) for Smooth Streaming manifests.
TYPE_TARGET_TIMESTAMP_FOUND - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
The search found a timestamp that it deems close enough to the given target.
TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
The error was an unexpected RuntimeException.
TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
Type for when an unexpected error occurred while loading ads.
TYPE_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
An unset anchor, line, text size or vertical type value.
TYPE_UNSET - Static variable in interface com.google.android.exoplayer2.trackselection.TrackSelection
An unspecified track selection type.
TYPE_WAVE_FORMAT_EXTENSIBLE - Static variable in class com.google.android.exoplayer2.audio.WavUtil
WAVE type value for extended WAVE format.
typeface - Variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
The preferred typeface, or null if unspecified.
typeIndicator - Variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
The four byte type indicator.

U

UDP_PORT_UNSET - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
 
UdpDataSource - Class in com.google.android.exoplayer2.upstream
A UDP DataSource.
UdpDataSource() - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
 
UdpDataSource(int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
Constructs a new instance.
UdpDataSource(int, int) - Constructor for class com.google.android.exoplayer2.upstream.UdpDataSource
Constructs a new instance.
UdpDataSource.UdpDataSourceException - Exception in com.google.android.exoplayer2.upstream
Thrown when an error is encountered when trying to read from a UdpDataSource.
UdpDataSourceException(Throwable, @com.google.android.exoplayer2.PlaybackException.ErrorCode int) - Constructor for exception com.google.android.exoplayer2.upstream.UdpDataSource.UdpDataSourceException
Creates a UdpDataSourceException.
uid - Variable in class com.google.android.exoplayer2.Timeline.Period
A unique identifier for the period.
uid - Variable in class com.google.android.exoplayer2.Timeline.Window
A unique identifier for the window.
UID_UNSET - Static variable in interface com.google.android.exoplayer2.upstream.cache.Cache
Returned by Cache.getUid() if initialization failed before the unique identifier was read or generated.
unappliedRotationDegrees - Variable in class com.google.android.exoplayer2.video.VideoSize
Clockwise rotation in degrees that the application should apply for the video for it to be rendered in the correct orientation.
unboundedDataSpec_readUntilEnd() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
 
unboundedDataSpecWithGzipFlag_readUntilEnd() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
DataSpec.FLAG_ALLOW_GZIP should either be ignored by DataSource implementations, or correctly handled (i.e.
unboundedReadsAreIndefinite() - Method in class com.google.android.exoplayer2.testutil.DataSourceContractTest
Returns whether the DataSource will continue reading indefinitely for unbounded DataSpecs.
underestimatedResult(long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
Returns a result to signal that the current position in the input stream underestimates the true position of the target frame, and the BinarySearchSeeker should modify its BinarySearchSeeker.SeekOperationParams's floor timestamp and byte position using the given values.
underrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
unescapeFileName(String) - Static method in class com.google.android.exoplayer2.util.Util
Unescapes an escaped file or directory name back to its original value.
unescapeStream(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
Unescapes data up to the specified limit, replacing occurrences of [0, 0, 3] with [0, 0].
UnexpectedDiscontinuityException(long, long) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.UnexpectedDiscontinuityException
Creates an instance.
UnexpectedLoaderException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.Loader.UnexpectedLoaderException
 
UnhandledAudioFormatException(AudioProcessor.AudioFormat) - Constructor for exception com.google.android.exoplayer2.audio.AudioProcessor.UnhandledAudioFormatException
 
Uniform(String, int, int) - Constructor for class com.google.android.exoplayer2.util.GlUtil.Uniform
Creates a new uniform.
uniqueProgramId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
The unique program id as defined in SCTE35, Section 9.3.3.
uniqueProgramId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
The unique program id as defined in SCTE35, Section 9.3.2.
UNKNOWN - Static variable in class com.google.android.exoplayer2.DeviceInfo
Unknown DeviceInfo.
UNKNOWN - Static variable in class com.google.android.exoplayer2.util.FileTypes
Unknown file type.
UNKNOWN - Static variable in class com.google.android.exoplayer2.video.VideoSize
 
UnknownNull - Annotation Type in com.google.android.exoplayer2.util
Annotation for specifying unknown nullness.
UnrecognizedInputFormatException - Exception in com.google.android.exoplayer2.source
Thrown if the input format was not recognized.
UnrecognizedInputFormatException(String, Uri) - Constructor for exception com.google.android.exoplayer2.source.UnrecognizedInputFormatException
 
unregister() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
Unregisters the receiver, meaning it will no longer notify the listener when audio capability changes occur.
unregisterCustomCommandReceiver(MediaSessionConnector.CommandReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
Unregisters a previously registered custom command receiver.
Unseekable(long) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
Unseekable(long, long) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
 
UNSET - Static variable in class com.google.android.exoplayer2.MediaItem.ClippingConfiguration
A clipping configuration with default values.
UNSET - Static variable in class com.google.android.exoplayer2.MediaItem.ClippingProperties
Deprecated.
 
UNSET - Static variable in class com.google.android.exoplayer2.MediaItem.LiveConfiguration
A live playback configuration with unset values, meaning media-defined default values will be used.
UNSET_LOOKAHEAD - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
 
UnshuffledShuffleOrder(int) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
Creates an instance with a specified length.
UNSPECIFIED - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
UNSUPPORTED - Static variable in interface com.google.android.exoplayer2.source.MediaSourceFactory
UnsupportedDrmException - Exception in com.google.android.exoplayer2.drm
Thrown when the requested DRM scheme is not supported.
UnsupportedDrmException(int) - Constructor for exception com.google.android.exoplayer2.drm.UnsupportedDrmException
 
UnsupportedDrmException(int, Exception) - Constructor for exception com.google.android.exoplayer2.drm.UnsupportedDrmException
 
UnsupportedDrmException.Reason - Annotation Type in com.google.android.exoplayer2.drm
The reason for the exception.
UnsupportedEglVersionException() - Constructor for exception com.google.android.exoplayer2.util.GlUtil.UnsupportedEglVersionException
 
UnsupportedRequestException() - Constructor for exception com.google.android.exoplayer2.offline.DownloadRequest.UnsupportedRequestException
 
update(byte[], int, int, byte[], int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
 
update(Uri, ContentValues, String, String[]) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
updateAndPost() - Method in class com.google.android.exoplayer2.util.DebugTextViewHelper
 
updateClipping(long, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
Updates the clipping start/end times for this period, in microseconds.
updateCodecOperatingRate() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Updates the codec operating rate, or triggers codec release and re-initialization if a previously set operating rate needs to be cleared.
updateDroppedBufferCounters(int) - Method in class com.google.android.exoplayer2.video.DecoderVideoRenderer
Updates decoder counters to reflect that droppedBufferCount additional buffers were dropped.
updateDroppedBufferCounters(int) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Updates local counters and DecoderCounters to reflect that droppedBufferCount additional buffers were dropped.
updateInPlace(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
 
updateManifest(DashManifest) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
Updates the DashManifest that this handler works on.
updateManifest(DashManifest, int) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource
Updates the manifest.
updateManifest(DashManifest, int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
updateManifest(SsManifest) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
updateManifest(SsManifest) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource
Updates the manifest.
updateMediaPeriodQueueInfo(List<MediaSource.MediaPeriodId>, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
Updates the playback queue information used for event association.
updateOutputFormatForTime(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
Updates the output formats for the specified output buffer timestamp, calling MediaCodecRenderer.onOutputFormatChanged(com.google.android.exoplayer2.Format, android.media.MediaFormat) if a change has occurred.
updateParametersWithOverride(DefaultTrackSelector.Parameters, int, TrackGroupArray, boolean, DefaultTrackSelector.SelectionOverride) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
Updates DefaultTrackSelector.Parameters with an override.
updatePlaylistMetadata(MediaMetadata) - Method in class com.google.android.exoplayer2.ext.media2.SessionPlayerConnector
 
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
 
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
 
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in interface com.google.android.exoplayer2.trackselection.ExoTrackSelection
Updates the selected track for sources that load media in discrete MediaChunks.
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
 
updateSelectedTrack(long, long, long, List<? extends MediaChunk>, MediaChunkIterator[]) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
 
updateSessions(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
updateSessions(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Updates or creates sessions based on a player AnalyticsListener.EventTime.
updateSessionsWithDiscontinuity(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
updateSessionsWithDiscontinuity(AnalyticsListener.EventTime, @com.google.android.exoplayer2.Player.DiscontinuityReason int) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Updates or creates sessions based on a position discontinuity at AnalyticsListener.EventTime.
updateSessionsWithTimelineChange(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
 
updateSessionsWithTimelineChange(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
Updates or creates sessions based on a Timeline change at AnalyticsListener.EventTime.
updateTimeMs - Variable in class com.google.android.exoplayer2.offline.Download
The last update time.
updateTrackSelection(ExoTrackSelection) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource
Updates the track selection.
updateTrackSelection(ExoTrackSelection) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
 
updateTrackSelection(ExoTrackSelection) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
 
updateTrackSelection(ExoTrackSelection) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource
Updates the track selection.
updateVideoFrameProcessingOffsetCounters(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
Updates local counters and DecoderCounters with a new video frame processing offset.
upgradeAndDelete(File, ActionFileUpgradeUtil.DownloadIdProvider, DefaultDownloadIndex, boolean, boolean) - Static method in class com.google.android.exoplayer2.offline.ActionFileUpgradeUtil
Merges DownloadRequests contained in a legacy action file into a DefaultDownloadIndex, deleting the action file if the merge is successful or if deleteOnFailure is true.
upstreamDiscarded(int, long, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
upstreamDiscarded(MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
uptimeMillis() - Method in class com.google.android.exoplayer2.testutil.FakeClock
 
uptimeMillis() - Method in interface com.google.android.exoplayer2.util.Clock
 
uptimeMillis() - Method in class com.google.android.exoplayer2.util.SystemClock
 
uri - Variable in class com.google.android.exoplayer2.MediaItem.LocalConfiguration
The Uri.
uri - Variable in class com.google.android.exoplayer2.MediaItem.SubtitleConfiguration
The Uri to the subtitle file.
uri - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
The uri being downloaded.
uri - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
The uri of the single segment.
uri - Variable in class com.google.android.exoplayer2.source.LoadEventInfo
The Uri from which data is being read.
uri - Variable in exception com.google.android.exoplayer2.source.UnrecognizedInputFormatException
The Uri from which the unrecognized data was read.
uri - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
Uri of the data or null if this is the default FakeData.
uri - Variable in class com.google.android.exoplayer2.upstream.DataSpec
A Uri from which data belonging to the resource can be read.
uriAfterRedirects - Variable in exception com.google.android.exoplayer2.drm.MediaDrmCallbackException
The Uri after redirections, or dataSpec.uri if no redirection occurred.
uriPositionOffset - Variable in class com.google.android.exoplayer2.upstream.DataSpec
The offset of the data located at DataSpec.uri within the resource.
uris - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
The URI of each ad in the ad group.
UriUtil - Class in com.google.android.exoplayer2.util
Utility methods for manipulating URIs.
url - Variable in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
url - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
The URL of the radio station (icy-url).
url - Variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
The stream URL if present and decodable, or null.
url - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
url - Variable in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
The URL.
url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
The rendition's url, or null if the tag does not have a URI attribute.
url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
The variant's url.
url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.SegmentBase
The url of the segment.
url - Variable in exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
The url of the reset playlist.
url - Variable in exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistStuckException
The url of the stuck playlist.
UrlLinkFrame - Class in com.google.android.exoplayer2.metadata.id3
Url link ID3 frame.
UrlLinkFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
UrlTemplate - Class in com.google.android.exoplayer2.source.dash.manifest
A template from which URLs can be built.
usage - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
 
USAGE_ALARM - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANCE_ACCESSIBILITY - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANCE_NAVIGATION_GUIDANCE - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANCE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
 
USAGE_ASSISTANT - Static variable in class com.google.android.exoplayer2.C
 
USAGE_GAME - Static variable in class com.google.android.exoplayer2.C
 
USAGE_MEDIA - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_COMMUNICATION_DELAYED - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_COMMUNICATION_INSTANT - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_COMMUNICATION_REQUEST - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_EVENT - Static variable in class com.google.android.exoplayer2.C
 
USAGE_NOTIFICATION_RINGTONE - Static variable in class com.google.android.exoplayer2.C
 
USAGE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
 
USAGE_VOICE_COMMUNICATION - Static variable in class com.google.android.exoplayer2.C
 
USAGE_VOICE_COMMUNICATION_SIGNALLING - Static variable in class com.google.android.exoplayer2.C
 
use() - Method in class com.google.android.exoplayer2.util.GlUtil.Program
Uses the program.
USE_TRACK_COLOR_SETTINGS - Static variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
Use color setting specified by the track and fallback to default caption style.
useBoundedDataSpecFor(String) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
 
USER_DATA_IDENTIFIER_GA94 - Static variable in class com.google.android.exoplayer2.extractor.CeaUtil
 
USER_DATA_TYPE_CODE_MPEG_CC - Static variable in class com.google.android.exoplayer2.extractor.CeaUtil
 
userRating - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional user Rating.
usToMs(long) - Static method in class com.google.android.exoplayer2.C
Deprecated.
usToMs(long) - Static method in class com.google.android.exoplayer2.util.Util
Converts a time in microseconds to the corresponding time in milliseconds, preserving C.TIME_UNSET and C.TIME_END_OF_SOURCE values.
usToNonWrappedPts(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
Converts a timestamp in microseconds to a 90 kHz clock timestamp.
usToWrappedPts(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
Converts a timestamp in microseconds to a 90 kHz clock timestamp, performing wraparound to keep the result within 33-bits.
utcSpliceTime - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
 
utcSpliceTime - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
Represents the time of the signaled splice event as the number of seconds since 00 hours UTC, January 6th, 1980, with the count of intervening leap seconds included.
utcTiming - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
The UtcTimingElement, or null if not present.
UtcTimingElement - Class in com.google.android.exoplayer2.source.dash.manifest
Represents a UTCTiming element.
UtcTimingElement(String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
UTF16_NAME - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Use StandardCharsets or Charsets instead.
UTF16LE_NAME - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Use StandardCharsets or Charsets instead.
UTF8_NAME - Static variable in class com.google.android.exoplayer2.C
Deprecated.
Use StandardCharsets or Charsets instead.
Util - Class in com.google.android.exoplayer2.util
Miscellaneous utility methods.
uuid - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
The UUID of the DRM scheme, or C.UUID_NIL if the data is universal (i.e.
uuid - Variable in class com.google.android.exoplayer2.drm.FrameworkCryptoConfig
The DRM scheme UUID.
uuid - Variable in class com.google.android.exoplayer2.MediaItem.DrmConfiguration
Deprecated.
uuid - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
 
UUID_NIL - Static variable in class com.google.android.exoplayer2.C
The Nil UUID as defined by RFC4122.

V

VALID_PROVISION_RESPONSE - Static variable in class com.google.android.exoplayer2.testutil.FakeExoMediaDrm
 
validateWebvttHeaderLine(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
Reads and validates the first line of a WebVTT file.
validJoinTimeCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The number of playbacks with a valid join time as documented in PlaybackStats.totalValidJoinTimeMs.
value - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
The value for the event.
value - Variable in class com.google.android.exoplayer2.metadata.flac.VorbisComment
The value.
value - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
value - Variable in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
The payload.
value - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
The value, or null.
value - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
The value of the event stream.
value - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
 
variableDefinitions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Contains variable definitions, as defined by the #EXT-X-DEFINE tag.
Variant(Uri, Format, String, String, String, String) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
 
VariantInfo(int, int, String, String, String, String) - Constructor for class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
Creates an instance.
variantInfos - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
The EXT-X-STREAM-INF tags attributes associated with this track.
variants - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The variants declared by the playlist.
vendor - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
 
vendor - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
Whether the codec is from the vendor.
verifyVorbisHeaderCapturePattern(int, ParsableByteArray, boolean) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
Verifies whether the next bytes in header are a Vorbis header of the given headerType.
version - Variable in class com.google.android.exoplayer2.audio.MpegAudioUtil.Header
MPEG audio header version.
version - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
The vorbis_version field.
version - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The compatibility version, as defined by #EXT-X-VERSION.
version - Variable in class com.google.android.exoplayer2.source.rtsp.RtpPacket
The RTP version field (Word 0, bits 0-1), should always be 2.
VERSION - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
The version of the library expressed as a string, for example "1.2.3".
VERSION_INT - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
The version of the library expressed as an integer, for example 1002003.
VERSION_SLASHY - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
The version of the library expressed as TAG + "/" + VERSION.
VERSION_UNSET - Static variable in class com.google.android.exoplayer2.database.VersionTable
Returned by VersionTable.getVersion(SQLiteDatabase, int, String) if the version is unset.
VersionTable - Class in com.google.android.exoplayer2.database
Utility methods for accessing versions of media library database components.
VERTICAL_TYPE_LR - Static variable in class com.google.android.exoplayer2.text.Cue
Vertical left-to-right (e.g.
VERTICAL_TYPE_RL - Static variable in class com.google.android.exoplayer2.text.Cue
Vertical right-to-left (e.g.
verticalType - Variable in class com.google.android.exoplayer2.text.Cue
The vertical formatting of this Cue, or Cue.TYPE_UNSET if the cue has no vertical setting (and so should be horizontal).
VIDEO_AV1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_CHANGE_FRAME_RATE_STRATEGY_OFF - Static variable in class com.google.android.exoplayer2.C
VIDEO_CHANGE_FRAME_RATE_STRATEGY_ONLY_IF_SEAMLESS - Static variable in class com.google.android.exoplayer2.C
Strategy to call Surface.setFrameRate(float, int, int) with Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS when the output frame rate is known.
VIDEO_DIVX - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_DOLBY_VISION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_FLV - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_FORMAT - Static variable in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
A generic video Format which can be used to set up a FakeMediaSource.
VIDEO_H263 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_H264 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_H265 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MATROSKA - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MP2T - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MP4V - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_MPEG2 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_OGG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_OUTPUT_MODE_NONE - Static variable in class com.google.android.exoplayer2.C
Video decoder output mode is not set.
VIDEO_OUTPUT_MODE_SURFACE_YUV - Static variable in class com.google.android.exoplayer2.C
Video decoder output mode that renders 4:2:0 YUV planes directly to a surface.
VIDEO_OUTPUT_MODE_YUV - Static variable in class com.google.android.exoplayer2.C
Video decoder output mode that outputs raw 4:2:0 YUV planes.
VIDEO_PS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_SCALING_MODE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
A default video scaling mode for MediaCodec-based renderers.
VIDEO_SCALING_MODE_SCALE_TO_FIT - Static variable in class com.google.android.exoplayer2.C
VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING - Static variable in class com.google.android.exoplayer2.C
VIDEO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
VIDEO_STREAM_MASK - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
 
VIDEO_UNKNOWN - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_VC1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_VP8 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_VP9 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
VIDEO_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
 
videoCodecError(Exception) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
VideoDecoderGLSurfaceView - Class in com.google.android.exoplayer2.video
GLSurfaceView implementing VideoDecoderOutputBufferRenderer for rendering VideoDecoderOutputBuffers.
VideoDecoderGLSurfaceView(Context) - Constructor for class com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView
 
VideoDecoderGLSurfaceView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView
 
VideoDecoderOutputBuffer - Class in com.google.android.exoplayer2.decoder
Video decoder output buffer containing video frame data.
VideoDecoderOutputBuffer(DecoderOutputBuffer.Owner<VideoDecoderOutputBuffer>) - Constructor for class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
Creates VideoDecoderOutputBuffer.
VideoDecoderOutputBufferRenderer - Interface in com.google.android.exoplayer2.video
videoFormatHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
The video format history as EventTimeAndFormats ordered by EventTime.realTimeMs.
VideoFrameMetadataListener - Interface in com.google.android.exoplayer2.video
A listener for metadata corresponding to video frames being rendered.
videoFrameProcessingOffsetCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
The number of video frame processing offsets added.
VideoFrameReleaseHelper - Class in com.google.android.exoplayer2.video
Helps a video Renderer release frames to a Surface.
VideoFrameReleaseHelper(Context) - Constructor for class com.google.android.exoplayer2.video.VideoFrameReleaseHelper
Constructs an instance.
videoGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
The VIDEO value as defined in the EXT-X-STREAM-INF tag, or null if the VIDEO attribute is not present.
videoGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
The video rendition group referenced by this variant, or null.
VideoRendererEventListener - Interface in com.google.android.exoplayer2.video
Listener of video Renderer events.
VideoRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.video
Dispatches events to a VideoRendererEventListener.
videos - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The video renditions declared by the playlist.
videoSize - Variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
The size of the video data, in bytes.
VideoSize - Class in com.google.android.exoplayer2.video
Represents the video size.
VideoSize(int, int) - Constructor for class com.google.android.exoplayer2.video.VideoSize
Creates a VideoSize without unapplied rotation or anamorphic content.
VideoSize(int, int, int, float) - Constructor for class com.google.android.exoplayer2.video.VideoSize
Creates a VideoSize.
videoSizeChanged(VideoSize) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
videoStartPosition - Variable in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
The start offset of the video data, in bytes.
VideoTrackScore(Format, DefaultTrackSelector.Parameters, int, boolean) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.VideoTrackScore
 
view - Variable in class com.google.android.exoplayer2.ui.AdOverlayInfo
The overlay view.
VIEW_TYPE_CANVAS - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
Indicates subtitles should be displayed using a Canvas.
VIEW_TYPE_WEB - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
Indicates subtitles should be displayed using a WebView.
viewportHeight - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Viewport height in pixels.
viewportOrientationMayChange - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Whether the viewport orientation may change during playback.
viewportWidth - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
Viewport width in pixels.
VorbisBitArray - Class in com.google.android.exoplayer2.extractor
Wraps a byte array, providing methods that allow it to be read as a Vorbis bitstream.
VorbisBitArray(byte[]) - Constructor for class com.google.android.exoplayer2.extractor.VorbisBitArray
Creates a new instance that wraps an existing array.
VorbisComment - Class in com.google.android.exoplayer2.metadata.flac
A vorbis comment.
VorbisComment(String, String) - Constructor for class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
VorbisIdHeader(int, int, int, int, int, int, int, int, boolean, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
 
VorbisUtil - Class in com.google.android.exoplayer2.extractor
Utility methods for parsing Vorbis streams.
VorbisUtil.CommentHeader - Class in com.google.android.exoplayer2.extractor
Vorbis comment header.
VorbisUtil.Mode - Class in com.google.android.exoplayer2.extractor
Vorbis setup header modes.
VorbisUtil.VorbisIdHeader - Class in com.google.android.exoplayer2.extractor
Vorbis identification header.
VpxDecoder - Class in com.google.android.exoplayer2.ext.vp9
Vpx decoder.
VpxDecoder(int, int, int, CryptoConfig, int) - Constructor for class com.google.android.exoplayer2.ext.vp9.VpxDecoder
Creates a VP9 decoder.
VpxDecoderException - Exception in com.google.android.exoplayer2.ext.vp9
Thrown when a libvpx decoder error occurs.
vpxIsSecureDecodeSupported() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
 
VpxLibrary - Class in com.google.android.exoplayer2.ext.vp9
Configures and queries the underlying native library.

W

w(String, String) - Static method in class com.google.android.exoplayer2.util.Log
 
w(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
 
waitForIsLoading(boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until player.isLoading() changes to the specified value.
WaitForIsLoading(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForIsLoading
 
waitForMessage(ActionSchedule.PlayerTarget) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until a message arrives at the PlayerMessage.Target.
WaitForMessage(String, ActionSchedule.PlayerTarget) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForMessage
 
waitForPendingPlayerCommands() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until all pending player commands have been handled.
WaitForPendingPlayerCommands(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForPendingPlayerCommands
 
waitForPlaybackState(@com.google.android.exoplayer2.Player.State int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until the playback state changed to the specified state.
WaitForPlaybackState(String, @com.google.android.exoplayer2.Player.State int) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForPlaybackState
 
waitForPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until playWhenReady has the specified value.
WaitForPlayWhenReady(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForPlayWhenReady
 
waitForPositionDiscontinuity() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until the next position discontinuity.
WaitForPositionDiscontinuity(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForPositionDiscontinuity
 
waitForTimelineChanged() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until any timeline change.
waitForTimelineChanged(Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
Schedules a delay until the timeline changed to a specified expected timeline.
WaitForTimelineChanged(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForTimelineChanged
Creates action waiting for any timeline change for any reason.
WaitForTimelineChanged(String, Timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int) - Constructor for class com.google.android.exoplayer2.testutil.Action.WaitForTimelineChanged
Creates action waiting for a timeline change for a given reason.
waitingForKeys - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
Whether the last attempt to read a sample into this buffer failed due to not yet having the DRM keys associated with the next sample.
WAKE_MODE_LOCAL - Static variable in class com.google.android.exoplayer2.C
A wake mode that will cause the player to hold a PowerManager.WakeLock during playback.
WAKE_MODE_NETWORK - Static variable in class com.google.android.exoplayer2.C
A wake mode that will cause the player to hold a PowerManager.WakeLock and a WifiManager.WifiLock during playback.
WAKE_MODE_NONE - Static variable in class com.google.android.exoplayer2.C
A wake mode that will not cause the player to hold any locks.
warmDecoderInfoCache(String, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
Optional call to warm the codec cache for a given mime type.
WAV - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the WAV format.
WAVE_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
Four character code for "WAVE".
WavExtractor - Class in com.google.android.exoplayer2.extractor.wav
Extracts data from WAV byte streams.
WavExtractor() - Constructor for class com.google.android.exoplayer2.extractor.wav.WavExtractor
 
WavFileAudioBufferSink(String) - Constructor for class com.google.android.exoplayer2.audio.TeeAudioProcessor.WavFileAudioBufferSink
Creates a new audio buffer sink that writes to .wav files with the given prefix.
WavUtil - Class in com.google.android.exoplayer2.audio
Utilities for handling WAVE files.
WebServerDispatcher - Class in com.google.android.exoplayer2.testutil
A Dispatcher for MockWebServer that allows per-path customisation of the static data served.
WebServerDispatcher.Resource - Class in com.google.android.exoplayer2.testutil
A resource served by WebServerDispatcher.
WebServerDispatcher.Resource.Builder - Class in com.google.android.exoplayer2.testutil
WEBVTT - Static variable in class com.google.android.exoplayer2.util.FileTypes
File type for the WebVTT format.
WebvttCssStyle - Class in com.google.android.exoplayer2.text.webvtt
Style object of a Css style block in a Webvtt file.
WebvttCssStyle() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
 
WebvttCssStyle.FontSizeUnit - Annotation Type in com.google.android.exoplayer2.text.webvtt
Font size unit enum.
WebvttCssStyle.StyleFlags - Annotation Type in com.google.android.exoplayer2.text.webvtt
Style flag enum.
WebvttCueInfo - Class in com.google.android.exoplayer2.text.webvtt
A representation of a WebVTT cue.
WebvttCueInfo(Cue, long, long) - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCueInfo
 
WebvttCueParser - Class in com.google.android.exoplayer2.text.webvtt
Parser for WebVTT cues.
WebvttCueParser() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
 
WebvttDecoder - Class in com.google.android.exoplayer2.text.webvtt
A SimpleSubtitleDecoder for WebVTT.
WebvttDecoder() - Constructor for class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
 
WebvttExtractor - Class in com.google.android.exoplayer2.source.hls
A special purpose extractor for WebVTT content in HLS.
WebvttExtractor(String, TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
WebvttParserUtil - Class in com.google.android.exoplayer2.text.webvtt
Utility methods for parsing WebVTT data.
weight - Variable in class com.google.android.exoplayer2.source.dash.manifest.BaseUrl
The weight.
WIDEVINE_UUID - Static variable in class com.google.android.exoplayer2.C
UUID for the Widevine DRM scheme.
WidevineUtil - Class in com.google.android.exoplayer2.drm
Utility methods for Widevine.
width - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
width - Variable in class com.google.android.exoplayer2.Format
The width of the video in pixels, or Format.NO_VALUE if unknown or not applicable.
width - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
The width of the picture in pixels.
width - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.H265SpsData
 
width - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
 
width - Variable in class com.google.android.exoplayer2.video.AvcConfig
The width of each decoded frame, or Format.NO_VALUE if unknown.
width - Variable in class com.google.android.exoplayer2.video.HevcConfig
The width of each decoded frame, or Format.NO_VALUE if unknown.
width - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
 
width - Variable in class com.google.android.exoplayer2.video.VideoSize
The video width in pixels, 0 when unknown.
window - Variable in class com.google.android.exoplayer2.BasePlayer
 
Window() - Constructor for class com.google.android.exoplayer2.Timeline.Window
Creates window.
windowColor - Variable in class com.google.android.exoplayer2.text.Cue
The fill color of the window.
windowColor - Variable in class com.google.android.exoplayer2.ui.CaptionStyleCompat
The preferred window color.
windowColorSet - Variable in class com.google.android.exoplayer2.text.Cue
Specifies whether or not the Cue.windowColor property is set.
windowIndex - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
Window index in the AnalyticsListener.EventTime.timeline this event belongs to, or the prospective window index if the timeline is not yet known and empty.
windowIndex - Variable in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
The timeline window index reported with the events.
windowIndex - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
The index of the window being seeked to.
windowIndex - Variable in class com.google.android.exoplayer2.Player.PositionInfo
Deprecated.
windowIndex - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
The timeline window index reported with the events.
windowIndex - Variable in class com.google.android.exoplayer2.Timeline.Period
The index of the window to which this period belongs.
windowOffsetInFirstPeriodUs - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
 
windowSequenceNumber - Variable in class com.google.android.exoplayer2.source.MediaPeriodId
The sequence number of the window in the buffered sequence of windows this media period is part of.
windowStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
The window's start time in milliseconds since the Unix epoch, or C.TIME_UNSET if unknown or not applicable.
windowType - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
 
windowUid - Variable in class com.google.android.exoplayer2.Player.PositionInfo
The UID of the window, or null if the timeline is empty.
withAbsoluteSize(int) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.AbsoluteSized
Checks that at least one of the matched spans has the expected size.
withAdCount(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the ad count set to count.
withAdCount(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the number of ads in adGroupIndex resolved to adCount.
withAdditionalHeaders(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a copy this data spec with additional HTTP request headers.
withAdDurationsUs(int, long...) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad durations, in microseconds, in the specified ad group.
withAdDurationsUs(long[]) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the specified ad durations, in microseconds.
withAdDurationsUs(long[][]) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad durations, in microseconds.
withAdGroupTimeUs(int, long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad group time.
withAdLoadError(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad marked as having a load error.
withAdResumePositionUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad resume position, in microseconds, relative to the start of the current ad.
withAdState(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the specified ad set to the specified state.
withAdUri(int, int, Uri) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad URI.
withAdUri(Uri, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the specified uri set for the specified ad, and the ad marked as AdPlaybackState.AD_STATE_AVAILABLE.
withAlignment(Layout.Alignment) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.Aligned
Checks that at least one of the matched spans has the expected alignment.
withAllAdsSkipped() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns an instance with all unavailable and available ads marked as skipped.
withColor(int) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.Colored
Checks that at least one of the matched spans has the expected color.
withContentDurationUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified content duration, in microseconds.
withContentResumeOffsetUs(int, long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified AdPlaybackState.AdGroup.contentResumeOffsetUs, in microseconds, for the specified ad group.
withContentResumeOffsetUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns an instance with the specified AdPlaybackState.AdGroup.contentResumeOffsetUs.
withFamily(String) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.Typefaced
Checks that at least one of the matched spans has the expected fontFamily.
withFlags(int) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.WithSpanFlags
Checks that one of the matched spans has the expected flags.
withIsServerSideInserted(boolean) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns an instance with the specified value for AdPlaybackState.AdGroup.isServerSideInserted.
withIsServerSideInserted(int, boolean) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified value for AdPlaybackState.AdGroup.isServerSideInserted in the specified ad group.
withManifestFormatInfo(Format) - Method in class com.google.android.exoplayer2.Format
 
withMarkAndPosition(int, int, int) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.EmphasizedText
Checks that at least one of the matched spans has the expected mark and position.
withNewAdGroup(int, long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with a new ad group.
withParameters(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher
Creates a view of the event dispatcher with the provided window index and media period id.
withParameters(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
Creates a view of the event dispatcher with pre-configured window index, media period id, and media time offset.
withPlayedAd(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad marked as played.
withRemovedAdGroupCount(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified number of removed ad groups.
withRequestHeaders(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a copy of this data spec with the specified HTTP request headers.
withSizeChange(float) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.RelativeSized
Checks that at least one of the matched spans has the expected sizeChange.
withSkippedAd(int, int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with the specified ad marked as skipped.
withSkippedAdGroup(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
Returns an instance with all ads in the specified ad group skipped (except for those already marked as played or in the error state).
withSpeed(float) - Method in class com.google.android.exoplayer2.PlaybackParameters
Returns a copy with the given speed.
withTextAndPosition(String, int) - Method in interface com.google.android.exoplayer2.testutil.truth.SpannedSubject.RubyText
Checks that at least one of the matched spans has the expected text.
withTimeUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
Returns a new instance with the AdPlaybackState.AdGroup.timeUs set to the specified value.
withUri(Uri) - Method in class com.google.android.exoplayer2.upstream.DataSpec
Returns a copy of this data spec with the specified Uri.
WORKAROUND_DEVICE_NEEDS_KEYS_TO_CONFIGURE_CODEC - Static variable in class com.google.android.exoplayer2.drm.FrameworkCryptoConfig
Whether the device needs keys to have been loaded into the DrmSession before codec configuration.
WorkManagerScheduler - Class in com.google.android.exoplayer2.ext.workmanager
A Scheduler that uses WorkManager.
WorkManagerScheduler(Context, String) - Constructor for class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
 
WorkManagerScheduler(String) - Constructor for class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
Deprecated.
WorkManagerScheduler.SchedulerWorker - Class in com.google.android.exoplayer2.ext.workmanager
A Worker that starts the target service if the requirements are met.
WritableDownloadIndex - Interface in com.google.android.exoplayer2.offline
A writable index of Downloads.
write(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FailOnCloseDataSink
 
write(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
 
write(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
 
write(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
 
write(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.DataSink
Consumes the provided data.
writeBoolean(Parcel, boolean) - Static method in class com.google.android.exoplayer2.util.Util
Writes a boolean to a Parcel.
writeData(long) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
Writes all not yet written sample stream items to the sample queue starting at the given position.
writeDataToPipe(ParcelFileDescriptor, Uri, String, Bundle, Object) - Method in class com.google.android.exoplayer2.testutil.AssetContentProvider
 
WriteException(int, Format, boolean) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.WriteException
Creates an instance.
writer - Variable in class com.google.android.exoplayer2.MediaMetadata
Optional writer.
writeToBuffer(byte[], int, int) - Method in class com.google.android.exoplayer2.source.rtsp.RtpPacket
Writes the data in an RTP packet to a target buffer.
writeToParcel(Parcel) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.drm.DrmInitData
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.Metadata
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.mp4.SlowMotionData
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.offline.StreamKey
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.scheduler.Requirements
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
 
writeToParcel(Parcel, int) - Method in class com.google.android.exoplayer2.testutil.FakeMetadataEntry
 

X

XmlPullParserUtil - Class in com.google.android.exoplayer2.util
XmlPullParser utility methods.

Y

year - Variable in class com.google.android.exoplayer2.MediaMetadata
Deprecated.
yuvPlanes - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
YUV planes for YUV mode.
yuvStrides - Variable in class com.google.android.exoplayer2.decoder.VideoDecoderOutputBuffer
 
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