DefaultPlayableMedia

Default implementation of PlayableMedia

Parameters

source

the MediaSource on which the media is found

mediaPlayer

the android.media.MediaPlayer playing the media

Default implementation of PlayableMedia

Default implementation of PlayableMedia

Parameters

source

the MediaSource on which the media is found

avPlayerItem

the AVPlayerItem associated with the media

Default implementation of PlayableMedia

Parameters

source

the MediaSource on which the media is found

Default implementation of PlayableMedia

Parameters

source

the MediaSource on which the media is found

Constructors

Link copied to clipboard
constructor(source: MediaSource, mediaPlayer: AndroidMediaPlayer)
constructor(source: MediaSource, avPlayerItem: <Error class: unknown class>)
constructor(source: MediaSource)
constructor(source: MediaSource)

Properties

Link copied to clipboard
open override val currentPlayTime: Duration

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

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

open val currentPlayTime: <Error class: unknown class>
open override val currentPlayTime: Duration

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

open override val currentPlayTime: Duration

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

Link copied to clipboard
open override val duration: Duration

the Duration of the media

abstract val duration: Duration

the Duration of the media

open val duration: <Error class: unknown class>
open override val duration: Duration

the Duration of the media

open override val duration: Duration

the Duration of the media

Link copied to clipboard

If true this PlayableMedia has a video component

Link copied to clipboard
open override 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

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

open val resolution: <Error class: unknown class><<Error class: unknown class>>
open override 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

open override 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
open override val source: MediaSource
abstract val source: MediaSource

the MediaSource on which the media is found

open override val source: MediaSource
open override val source: MediaSource
Link copied to clipboard
open override val tracks: List<TrackInfo>

a list of TrackInfo of the media

abstract val tracks: List<TrackInfo>

a list of TrackInfo of the media

open val tracks: List<<Error class: unknown class>>
open override val tracks: List<TrackInfo>

a list of TrackInfo of the media

open override val tracks: List<TrackInfo>

a list of TrackInfo of the media