PlayableMedia

interface PlayableMedia

A media that can be played by a MediaPlayer

Inheritors

Properties

Link copied to clipboard

gets the Duration of playtime at the time this property is requested

Link copied to clipboard
abstract val duration: Duration

the Duration of the media

Link copied to clipboard

If true this PlayableMedia has a video component

Link copied to clipboard
abstract val resolution: Flow<Resolution>

a Flow of the Resolution of the media. Note that if no MediaSurface has been bound to the media, this will be Resolution.ZERO

Link copied to clipboard
abstract val source: MediaSource

the MediaSource on which the media is found

Link copied to clipboard
abstract val tracks: List<TrackInfo>

a list of TrackInfo of the media