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.
Properties that already exist on com.bitmovin.player.api.source.SourceConfig, such as title, description, and posterSource, are intentionally not duplicated here.
Folders are not supported.
See https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.
Constructors
| MediaMetadata | constructor(artist: String? = null, albumTitle: String? = null, albumArtist: String? = null, displayTitle: String? = null, subtitle: String? = null, duration: Long? = null, userRating: Rating? = null, overallRating: Rating? = null, trackNumber: Int? = null, totalTrackCount: Int? = null, isBrowsable: Boolean? = null, isPlayable: Boolean? = null, recordingYear: Int? = null, recordingMonth: Int? = null, recordingDay: Int? = null, releaseYear: Int? = null, releaseMonth: Int? = null, releaseDay: Int? = null, writer: String? = null, author: String? = null, composer: String? = null, conductor: String? = null, discNumber: Int? = null, totalDiscCount: Int? = null, genre: String? = null, compilation: String? = null, station: String? = null, mediaType: MediaMetadata.MediaType? = MediaType.Video) |
Types
Properties
| Name | Summary |
|---|---|
| albumArtist | val albumArtist: String? |
| albumTitle | val albumTitle: String? |
| artist | val artist: String? |
| author | val author: String? |
| compilation | val compilation: String? |
| composer | val composer: String? |
| conductor | val conductor: String? |
| discNumber | val discNumber: Int? |
| displayTitle | val displayTitle: String? |
| duration | val duration: Long? |
| genre | val genre: String? |
| isBrowsable | val isBrowsable: Boolean? |
| isPlayable | val isPlayable: Boolean? |
| mediaType | val mediaType: MediaMetadata.MediaType? |
| overallRating | val overallRating: Rating? |
| recordingDay | val recordingDay: Int? |
| recordingMonth | val recordingMonth: Int? |
| recordingYear | val recordingYear: Int? |
| releaseDay | val releaseDay: Int? |
| releaseMonth | val releaseMonth: Int? |
| releaseYear | val releaseYear: Int? |
| station | val station: String? |
| subtitle | val subtitle: String? |
| totalDiscCount | val totalDiscCount: Int? |
| totalTrackCount | val totalTrackCount: Int? |
| trackNumber | val trackNumber: Int? |
| userRating | val userRating: Rating? |
| writer | val writer: String? |