com.bitmovin.player.api.media.session

com.bitmovin.player.api.media.session

Types

NameSummary
ControllerInfointerface ControllerInfo
Information of a controller for media sessions.
MediaMetadatadata 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.
MediaSessioninterface MediaSession
Allows to advertise media playback for a Player instance externally and to receive playback commands from external sources. See MediaSessionService for more details.
MediaSessionBuilderclass MediaSessionBuilder(context: Context, applicationLooper: Looper, player: Player)
Creates and configures a MediaSession instance.
MediaSessionServiceabstract 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.
Ratingsealed interface Rating
Source rating for MediaSession.

Functions

NameSummary
MediaSessionfun MediaSession(context: Context, applicationLooper: Looper, player: Player): MediaSession
Creates and configures a MediaSession instance.