LoadDuration

data class LoadDuration(val source: Duration? = null, val manifest: Duration? = null, val asset: Duration? = null, val drm: Duration? = null, val timeToReady: Duration? = null)

Load duration Represents the timings until the current media started to play.

Constructors

Link copied to clipboard
constructor(source: Duration? = null, manifest: Duration? = null, asset: Duration? = null, drm: Duration? = null, timeToReady: Duration? = null)

Properties

Link copied to clipboard
val asset: Duration? = null

The time spent to load the asset.

Link copied to clipboard
val drm: Duration? = null

The time spent to load the DRM.

Link copied to clipboard
val manifest: Duration? = null

The time spent to load the main manifest if applicable.

Link copied to clipboard
val source: Duration? = null

The time spent to load the media source.

Link copied to clipboard
val timeToReady: Duration? = null

The time spent to load from the moment the MediaItem became the current item until it started to play.