LoadDuration

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

Represents the timings spent in different stages of the loading process, 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

The time spent loading the asset.

Link copied to clipboard

The time spent loading the DRM.

Link copied to clipboard

The time spent loading the main manifest, if applicable.

Link copied to clipboard

The time spent loading the media source.

Link copied to clipboard

The total time elapsed from the moment the MediaItem became the current item until it was ready to play.