Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.



Rating An interface to encapsulate rating information used as content metadata. 


CallbackMediaItem Structure for media item descriptor for DataSourceCallback
CallbackMediaItem.Builder This Builder class simplifies the creation of a CallbackMediaItem object. 
DataSourceCallback For supplying media data, implement this if your app has special requirements for the way media data is obtained. 
FileMediaItem Structure for media item for a file. 
FileMediaItem.Builder This Builder class simplifies the creation of a FileMediaItem object. 
HeartRating A class for rating with a single degree of rating, "heart" vs "no heart". 
MediaBrowser Browses media content offered by a MediaLibraryService
MediaBrowser.BrowserCallback Callback to listen events from MediaLibraryService
MediaBrowser.BrowserResult Result class to be used with ListenableFuture for asynchronous calls. 
MediaController Allows an app to interact with an active MediaSession or a MediaSessionService which would provide MediaSession
MediaController.ControllerCallback Interface for listening to change in activeness of the MediaSession
MediaController.ControllerResult Result class to be used with ListenableFuture for asynchronous calls. 
MediaController.PlaybackInfo Holds information about the the way volume is handled for this session. 
MediaItem A class with information on a single media item with the metadata information. 
MediaItem.Builder Builder for MediaItem
MediaLibraryService Base class for media library services, which is the service containing MediaLibraryService.MediaLibrarySession
MediaLibraryService.LibraryParams Contains information that the library service needs to send to the client. 
MediaLibraryService.LibraryParams.Builder Builds MediaLibraryService.LibraryParams
MediaLibraryService.LibraryResult Result class to be used with ListenableFuture for asynchronous calls. 
MediaLibraryService.MediaLibrarySession Session for the MediaLibraryService
MediaLibraryService.MediaLibrarySession.Builder Builder for MediaLibraryService.MediaLibrarySession
MediaLibraryService.MediaLibrarySession.MediaLibrarySessionCallback Callback for the MediaLibraryService.MediaLibrarySession
MediaMetadata Contains metadata about an item, such as the title, artist, etc. 
MediaMetadata.Builder Use to build MediaMetadatax objects. 
MediaPlayer A media player which plays MediaItems. 
MediaPlayer.PlayerCallback Interface definition for callbacks to be invoked when the player has the corresponding events. 
MediaPlayer.TrackInfo Class for the player to return each audio/video/subtitle track's metadata. 
MediaSession Allows a media app to expose its transport controls and playback information in a process to other processes including the Android framework and other apps. 
MediaSession.Builder Builder for MediaSession
MediaSession.CommandButton Button for a SessionCommand that will be shown by the controller. 
MediaSession.CommandButton.Builder Builder for MediaSession.CommandButton
MediaSession.ControllerInfo Information of a controller. 
MediaSession.SessionCallback Callback to be called for all incoming commands from MediaControllers. 
MediaSession.SessionResult Result class to be used with ListenableFuture for asynchronous calls. 
MediaSessionManager Provides support for interacting with media sessions that applications have published in order to express their ongoing media playback state. 
MediaSessionService Base class for media session services, which is the service containing MediaSession
MediaSessionService.MediaNotification Returned by MediaSessionService.onUpdateNotification(MediaSession) for making session service foreground service to keep playback running in the background. 
MediaTimestamp An immutable object that represents the linear correlation between the media time and the system time. 
PercentageRating A class for rating expressed as a percentage. 
PlaybackParams Structure for common playback params. 
PlaybackParams.Builder The builder class that makes it easy to chain setters to create a PlaybackParams object. 
SessionCommand Define a command that a MediaController can send to a MediaSession
SessionCommandGroup A set of SessionCommand which represents a command group. 
SessionCommandGroup.Builder Builds a SessionCommandGroup object. 
SessionPlayer Base interface for all media players that want media session. 
SessionPlayer.PlayerCallback A callback class to receive notifications for events on the session player. 
SessionPlayer.PlayerResult Result class of the asynchronous APIs. 
SessionToken Represents an ongoing MediaSession or a MediaSessionService
StarRating A class for rating expressed as the number of stars. 
SubtitleData Class encapsulating subtitle data, as received through the MediaPlayer.PlayerCallback.onSubtitleData(MediaPlayer, MediaItem, SubtitleData) interface. 
ThumbRating A class for rating with a single degree of rating, "thumb up" vs "thumb down". 
TimedMetaData Class that embodies one timed metadata access unit, including
  • a time stamp, and
  • raw uninterpreted byte-array extracted directly from the container. 
UriMediaItem Structure for media item descriptor for Uri
UriMediaItem.Builder This Builder class simplifies the creation of a UriMediaItem object. 
VideoSize Immutable class for describing video size.