Package com.google.android.exoplayer2
-
Interface Summary Interface Description Bundleable Interface for classes whose instance can be stored in aBundle
byBundleable.toBundle()
and can be restored from theBundle
by using the staticCREATOR
field that implementsBundleable.Creator
.Bundleable.Creator<T extends Bundleable> Interface for the staticCREATOR
field ofBundleable
classes.ControlDispatcher Dispatches operations to thePlayer
.ExoPlayer An extensible media player that playsMediaSource
s.ExoPlayer.AudioComponent The audio component of anExoPlayer
.ExoPlayer.AudioOffloadListener A listener for audio offload events.ExoPlayer.DeviceComponent The device component of anExoPlayer
.ExoPlayer.MetadataComponent The metadata component of anExoPlayer
.ExoPlayer.TextComponent The text component of anExoPlayer
.ExoPlayer.VideoComponent The video component of anExoPlayer
.LivePlaybackSpeedControl Controls the playback speed while playing live content in order to maintain a steady target live offset.LoadControl Controls buffering of media.PlaybackPreparer Deprecated. UseControlDispatcher
instead.Player 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.EventListener Deprecated. UsePlayer.Listener
.Player.Listener Listener of all changes in the Player.PlayerMessage.Sender A sender for messages.PlayerMessage.Target A target for messages.Renderer Renders media read from aSampleStream
.Renderer.WakeupListener Some renderers can signal whenRenderer.render(long, long)
should be called.RendererCapabilities Defines the capabilities of aRenderer
.RenderersFactory BuildsRenderer
instances for use by aSimpleExoPlayer
. -
Class Summary Class Description AbstractConcatenatedTimeline Abstract base class for the concatenation of one or moreTimeline
s.BasePlayer Abstract basePlayer
which implements common implementation independent methods.BaseRenderer An abstract base class suitable for mostRenderer
implementations.BundleListRetriever C Defines constants used by the library.DefaultControlDispatcher DefaultControlDispatcher
.DefaultLivePlaybackSpeedControl ALivePlaybackSpeedControl
that adjusts the playback speed using a proportional controller.DefaultLivePlaybackSpeedControl.Builder Builder for aDefaultLivePlaybackSpeedControl
.DefaultLoadControl The defaultLoadControl
implementation.DefaultLoadControl.Builder Builder forDefaultLoadControl
.DefaultRenderersFactory DefaultRenderersFactory
implementation.ExoPlayer.Builder Deprecated. UseSimpleExoPlayer.Builder
instead.ExoPlayerLibraryInfo Information about the ExoPlayer library.Format Represents a media format.Format.Builder BuildsFormat
instances.FormatHolder Holds aFormat
.HeartRating A rating expressed as "heart" or "no heart".MediaItem Representation of a media item.MediaItem.AdsConfiguration Configuration for playing back linear ads with a media item.MediaItem.Builder A builder forMediaItem
instances.MediaItem.ClippingProperties Optionally clips the media item to a custom start and end position.MediaItem.DrmConfiguration DRM configuration for a media item.MediaItem.LiveConfiguration Live playback configuration.MediaItem.PlaybackProperties Properties for local playback.MediaItem.Subtitle Properties for a text track.MediaMetadata MediaMetadata.Builder A builder forMediaMetadata
instances.MetadataRetriever Retrieves the static metadata ofMediaItems
.NoSampleRenderer ARenderer
implementation whose track type isC.TRACK_TYPE_NONE
and does not consume data from itsSampleStream
.PercentageRating A rating expressed as a percentage.PlaybackParameters Parameters that apply to playback, including speed setting.Player.Commands A set ofcommands
.Player.Commands.Builder A builder forPlayer.Commands
instances.Player.Events A set ofPlayer.EventFlags
.Player.PositionInfo Position info describing a playback position involved in a discontinuity.PlayerMessage Defines a player message which can be sent with aPlayerMessage.Sender
and received by aPlayerMessage.Target
.Rating A rating for media content.RendererConfiguration The configuration of aRenderer
.SeekParameters Parameters that apply to seeking.SimpleExoPlayer SimpleExoPlayer.Builder A builder forSimpleExoPlayer
instances.StarRating A rating expressed as a fractional number of stars.ThumbRating A rating expressed as "thumbs up" or "thumbs down".Timeline A flexible representation of the structure of media.Timeline.Period Holds information about a period in aTimeline
.Timeline.Window Holds information about a window in aTimeline
. -
Exception Summary Exception Description ExoPlaybackException Thrown when a non locally recoverable playback failure occurs.ExoTimeoutException A timeout of an operation on the ExoPlayer playback thread.IllegalSeekPositionException Thrown when an attempt is made to seek to a position that does not exist in the player'sTimeline
.ParserException Thrown when an error occurs parsing media data and metadata. -
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.AudioFocusGain Audio focus types.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 colorspaces.C.ColorTransfer Video color transfer characteristics.C.ContentType Represents a streaming or other media type.C.CryptoMode Crypto modes for a codec.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.StereoMode The stereo mode for 360/3D/VR videos.C.StreamType Stream types for anAudioTrack
.C.VideoOutputMode Video decoder output modes.C.VideoScalingMode Video scaling modes forMediaCodec
-based renderers.C.WakeMode Mode specifying whether the player should hold a WakeLock and a WifiLock.DefaultRenderersFactory.ExtensionRendererMode Modes for using extension renderers.ExoPlaybackException.Type The type of source that produced the error.ExoTimeoutException.TimeoutOperation The operation which produced the timeout error.Player.Command Commands that can be executed on aPlayer
.Player.DiscontinuityReason Reasons for position discontinuities.Player.EventFlags Events that can be reported viaPlayer.EventListener.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.State The renderer states.Renderer.VideoScalingMode Deprecated. UseC.VideoScalingMode
.RendererCapabilities.AdaptiveSupport Level of renderer support for adaptive format switches.RendererCapabilities.Capabilities Combined renderer capabilities.RendererCapabilities.FormatSupport Deprecated. UseC.FormatSupport
instead.RendererCapabilities.TunnelingSupport Level of renderer support for tunneling.