Asset

data class Asset(val mediaSource: MediaSource, val trackersData: MediaItemTrackerData = MutableMediaItemTrackerData.EMPTY.toMediaItemTrackerData(), val mediaMetadata: MediaMetadata = MediaMetadata.EMPTY, val blockedTimeRanges: List<BlockedTimeRange> = emptyList())

Assets

Constructors

Link copied to clipboard
constructor(mediaSource: MediaSource, trackersData: MediaItemTrackerData = MutableMediaItemTrackerData.EMPTY.toMediaItemTrackerData(), mediaMetadata: MediaMetadata = MediaMetadata.EMPTY, blockedTimeRanges: List<BlockedTimeRange> = emptyList())

Properties

Link copied to clipboard

The MediaMetadata to set to the player media item.

Link copied to clipboard

The MediaSource used by the player to play something.