com.bitmovin.player.api.media.session
Types
| Name | Summary |
|---|---|
| ControllerInfo | interface ControllerInfo Information of a controller for media sessions. |
| MediaMetadata | 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. |
| MediaSession | 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. |
| MediaSessionBuilder | class MediaSessionBuilder(context: Context, applicationLooper: Looper, player: Player) Creates and configures a MediaSession instance. |
| MediaSessionService | abstract class MediaSessionService : MediaSessionService Advertises media playback for a Player instance, through a MediaSession, by displaying media controls on the lock screen and in the notification area. |
| Rating | sealed interface Rating Source rating for MediaSession. |
Functions
| Name | Summary |
|---|---|
| MediaSession | fun MediaSession(context: Context, applicationLooper: Looper, player: Player): MediaSession Creates and configures a MediaSession instance. |