Package com.google.android.exoplayer2
-
Interface Summary Interface Description Bundleable Deprecated. com.google.android.exoplayer2 is deprecated.Bundleable.Creator<T extends Bundleable> Interface for the staticCREATOR
field ofBundleable
classes.ExoPlayer Deprecated. com.google.android.exoplayer2 is deprecated.ExoPlayer.AudioComponent Deprecated. UseExoPlayer
, as theExoPlayer.AudioComponent
methods are defined by that interface.ExoPlayer.AudioOffloadListener A listener for audio offload events.ExoPlayer.DeviceComponent Deprecated. UsePlayer
, as theExoPlayer.DeviceComponent
methods are defined by that interface.ExoPlayer.TextComponent Deprecated. UsePlayer
, as theExoPlayer.TextComponent
methods are defined by that interface.ExoPlayer.VideoComponent Deprecated. UseExoPlayer
, as theExoPlayer.VideoComponent
methods are defined by that interface.LivePlaybackSpeedControl Deprecated. com.google.android.exoplayer2 is deprecated.LoadControl Deprecated. com.google.android.exoplayer2 is deprecated.Player Deprecated. com.google.android.exoplayer2 is deprecated.Player.Listener Listener for changes in aPlayer
.PlayerMessage.Sender A sender for messages.PlayerMessage.Target A target for messages.Renderer Deprecated. com.google.android.exoplayer2 is deprecated.Renderer.WakeupListener Some renderers can signal whenRenderer.render(long, long)
should be called.RendererCapabilities Deprecated. com.google.android.exoplayer2 is deprecated.RendererCapabilities.Listener Listener for renderer capabilities events.RenderersFactory Deprecated. com.google.android.exoplayer2 is deprecated.SimpleBasePlayer.PositionSupplier A supplier for a position. -
Class Summary Class Description AbstractConcatenatedTimeline Deprecated. com.google.android.exoplayer2 is deprecated.BasePlayer Deprecated. com.google.android.exoplayer2 is deprecated.BaseRenderer Deprecated. com.google.android.exoplayer2 is deprecated.BundleListRetriever Deprecated. com.google.android.exoplayer2 is deprecated.C Deprecated. com.google.android.exoplayer2 is deprecated.DefaultLivePlaybackSpeedControl Deprecated. com.google.android.exoplayer2 is deprecated.DefaultLivePlaybackSpeedControl.Builder Builder for aDefaultLivePlaybackSpeedControl
.DefaultLoadControl Deprecated. com.google.android.exoplayer2 is deprecated.DefaultLoadControl.Builder Builder forDefaultLoadControl
.DefaultRenderersFactory Deprecated. com.google.android.exoplayer2 is deprecated.DeviceInfo Deprecated. com.google.android.exoplayer2 is deprecated.DeviceInfo.Builder Builder forDeviceInfo
.ExoPlayer.Builder A builder forExoPlayer
instances.ExoPlayerLibraryInfo Deprecated. com.google.android.exoplayer2 is deprecated.Format Deprecated. com.google.android.exoplayer2 is deprecated.Format.Builder BuildsFormat
instances.FormatHolder Deprecated. com.google.android.exoplayer2 is deprecated.ForwardingPlayer Deprecated. com.google.android.exoplayer2 is deprecated.HeartRating Deprecated. com.google.android.exoplayer2 is deprecated.MediaItem Deprecated. com.google.android.exoplayer2 is deprecated.MediaItem.AdsConfiguration Configuration for playing back linear ads with a media item.MediaItem.AdsConfiguration.Builder Builder forMediaItem.AdsConfiguration
instances.MediaItem.Builder A builder forMediaItem
instances.MediaItem.ClippingConfiguration Optionally clips the media item to a custom start and end position.MediaItem.ClippingConfiguration.Builder Builder forMediaItem.ClippingConfiguration
instances.MediaItem.ClippingProperties Deprecated. UseMediaItem.ClippingConfiguration
instead.MediaItem.DrmConfiguration DRM configuration for a media item.MediaItem.DrmConfiguration.Builder Builder forMediaItem.DrmConfiguration
.MediaItem.LiveConfiguration Live playback configuration.MediaItem.LiveConfiguration.Builder Builder forMediaItem.LiveConfiguration
instances.MediaItem.LocalConfiguration Properties for local playback.MediaItem.RequestMetadata Metadata that helps the player to understand a playback request represented by aMediaItem
.MediaItem.RequestMetadata.Builder Builder forMediaItem.RequestMetadata
instances.MediaItem.Subtitle Deprecated. UseMediaItem.SubtitleConfiguration
insteadMediaItem.SubtitleConfiguration Properties for a text track.MediaItem.SubtitleConfiguration.Builder Builder forMediaItem.SubtitleConfiguration
instances.MediaMetadata Deprecated. com.google.android.exoplayer2 is deprecated.MediaMetadata.Builder A builder forMediaMetadata
instances.MetadataRetriever Deprecated. com.google.android.exoplayer2 is deprecated.NoSampleRenderer Deprecated. com.google.android.exoplayer2 is deprecated.PercentageRating Deprecated. com.google.android.exoplayer2 is deprecated.PlaybackParameters Deprecated. com.google.android.exoplayer2 is deprecated.Player.Commands A set of commands.Player.Commands.Builder A builder forPlayer.Commands
instances.Player.Events A set of events.Player.PositionInfo Position info describing a playback position involved in a discontinuity.PlayerMessage Deprecated. com.google.android.exoplayer2 is deprecated.Rating Deprecated. com.google.android.exoplayer2 is deprecated.RendererConfiguration Deprecated. com.google.android.exoplayer2 is deprecated.SeekParameters Deprecated. com.google.android.exoplayer2 is deprecated.SimpleBasePlayer Deprecated. com.google.android.exoplayer2 is deprecated.SimpleBasePlayer.MediaItemData An immutable description of an item in the playlist, containing both static setup information likeMediaItem
and dynamic data that is generally read from the media like the duration.SimpleBasePlayer.MediaItemData.Builder A builder forSimpleBasePlayer.MediaItemData
objects.SimpleBasePlayer.PeriodData Data describing the properties of a period inside aSimpleBasePlayer.MediaItemData
.SimpleBasePlayer.PeriodData.Builder A builder forSimpleBasePlayer.PeriodData
objects.SimpleBasePlayer.State An immutable state description of the player.SimpleBasePlayer.State.Builder A builder forSimpleBasePlayer.State
objects.SimpleExoPlayer Deprecated. UseExoPlayer
instead.SimpleExoPlayer.Builder Deprecated. UseExoPlayer.Builder
instead.StarRating Deprecated. com.google.android.exoplayer2 is deprecated.ThumbRating Deprecated. com.google.android.exoplayer2 is deprecated.Timeline Deprecated. com.google.android.exoplayer2 is deprecated.Timeline.Period Holds information about a period in aTimeline
.Timeline.RemotableTimeline Timeline.Window Holds information about a window in aTimeline
.Tracks Deprecated. com.google.android.exoplayer2 is deprecated.Tracks.Group Information about a single group of tracks, including the underlyingTrackGroup
, the level to which each track is supported by the player, and whether any of the tracks are selected. -
Exception Summary Exception Description ExoPlaybackException Deprecated. com.google.android.exoplayer2 is deprecated.ExoTimeoutException Deprecated. com.google.android.exoplayer2 is deprecated.IllegalSeekPositionException Deprecated. com.google.android.exoplayer2 is deprecated.ParserException Deprecated. com.google.android.exoplayer2 is deprecated.PlaybackException Deprecated. com.google.android.exoplayer2 is deprecated. -
Annotation Types Summary Annotation Type Description C.AudioAllowedCapturePolicy Capture policies for audio attributes.C.AudioContentType Content types for audio attributes.C.AudioFlags Flags for audio attributes.C.AudioUsage Usage types for audio attributes.C.BufferFlags Flags which can apply to a buffer containing a media sample.C.ColorRange Video color range.C.ColorSpace Video color spaces, also referred to as color standards.C.ColorTransfer Video/image color transfer characteristics.C.ContentType Represents a streaming or other media type.C.CryptoMode Crypto modes for a codec.C.CryptoType Types of crypto implementation.C.DataType Represents a type of data.C.Encoding Represents an audio encoding, or an invalid or unset value.C.FormatSupport Level of renderer support for a format.C.NetworkType Network connection type.C.PcmEncoding Represents a PCM audio encoding, or an invalid or unset value.C.Projection Video projection types.C.RoleFlags Track role flags.C.SelectionFlags Track selection flags.C.SelectionReason Represents a reason for selection.C.SpatializationBehavior Represents the behavior affecting whether spatialization will be used.C.StereoMode The stereo mode for 360/3D/VR videos.C.StreamType Stream types for anAudioTrack
.C.TrackType Represents a type of media track.C.VideoChangeFrameRateStrategy Strategies for callingSurface.setFrameRate(float, int, int)
.C.VideoOutputMode Video decoder output modes.C.VideoScalingMode Video scaling modes forMediaCodec
-based renderers.C.VolumeFlags Volume flags to be used when setting or adjusting device volume.C.WakeMode Mode specifying whether the player should hold a WakeLock and a WifiLock.DefaultRenderersFactory.ExtensionRendererMode Modes for using extension renderers.DeviceInfo.PlaybackType Types of playback.ExoPlaybackException.Type The type of source that produced the error.ExoTimeoutException.TimeoutOperation The operation which produced the timeout error.MediaMetadata.FolderType Deprecated. UseMediaMetadata.isBrowsable
to indicate if an item is a browsable folder and useMediaMetadata.mediaType
to indicate the type of the folder.MediaMetadata.MediaType The type of content described by the media item.MediaMetadata.PictureType The picture type of the artwork.PlaybackException.ErrorCode Codes that identify causes of player errors.Player.Command Commands that indicate which method calls are currently permitted on a particularPlayer
instance.Player.DiscontinuityReason Reasons for position discontinuities.Player.Event Events that can be reported viaPlayer.Listener.onEvents(Player, Events)
.Player.MediaItemTransitionReason Reasons for media item transitions.Player.PlaybackSuppressionReason Reason why playback is suppressed even thoughPlayer.getPlayWhenReady()
istrue
.Player.PlayWhenReadyChangeReason Reasons forplayWhenReady
changes.Player.RepeatMode Repeat modes for playback.Player.State Playback state.Player.TimelineChangeReason Reasons for timeline changes.Renderer.MessageType Represents a type of message that can be passed to a renderer.Renderer.State The renderer states.RendererCapabilities.AdaptiveSupport Level of renderer support for adaptive format switches.RendererCapabilities.Capabilities Combined renderer capabilities.RendererCapabilities.DecoderSupport Level of decoder support.RendererCapabilities.FormatSupport Deprecated. UseC.FormatSupport
instead.RendererCapabilities.HardwareAccelerationSupport Level of renderer support for hardware acceleration.RendererCapabilities.TunnelingSupport Level of renderer support for tunneling.