BufferLevel

data class BufferLevel(level: Double, targetLevel: Double, media: MediaType, type: BufferType)

Contains buffer information relative to the current time of the Player.

Constructors

Link copied to clipboard
fun BufferLevel(level: Double = -1.0, targetLevel: Double = -1.0, media: MediaType, type: BufferType)

Properties

Link copied to clipboard
val level: Double

The amount of seconds currently buffered for the media type and buffer type.

Link copied to clipboard
val media: MediaType

The MediaType the level and targetLevel applies to.

Link copied to clipboard
val targetLevel: Double

The target buffer level for the media type and buffer type.

Link copied to clipboard
val type: BufferType

The BufferType the level and targetLevel applies to.