Package-level declarations
Types
Link copied to clipboard
interface ControllerInfo
Information of a controller for media sessions.
Link copied to clipboard
data class MediaMetadata(val artist: String? = null, val albumTitle: String? = null, val albumArtist: String? = null, val displayTitle: String? = null, val subtitle: String? = null, val duration: Long? = null, val userRating: Rating? = null, val overallRating: Rating? = null, val trackNumber: Int? = null, val totalTrackCount: Int? = null, val isBrowsable: Boolean? = null, val isPlayable: Boolean? = null, val recordingYear: Int? = null, val recordingMonth: Int? = null, val recordingDay: Int? = null, val releaseYear: Int? = null, val releaseMonth: Int? = null, val releaseDay: Int? = null, val writer: String? = null, val author: String? = null, val composer: String? = null, val conductor: String? = null, val discNumber: Int? = null, val totalDiscCount: Int? = null, val genre: String? = null, val compilation: String? = null, val station: String? = null, val mediaType: MediaMetadata.MediaType? = MediaType.Video)
Additional structured metadata broadcasted through Media Session for a Source.
Link copied to clipboard
interface MediaSession
Allows to advertise media playback for a Player instance externally and to receive playback commands from external sources. See MediaSessionService for more details.
Link copied to clipboard
Creates and configures a MediaSession instance.
Link copied to clipboard
Advertises media playback for a Player instance, through a MediaSession, by displaying media controls on the lock screen and in the notification area.
Link copied to clipboard
Source rating for MediaSession.
Functions
Link copied to clipboard
Creates and configures a MediaSession instance.