BufferLevel

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

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

Constructors

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

Properties

level
Link copied to clipboard
val level: Double
The amount of seconds currently buffered for the media type and buffer type.
media
Link copied to clipboard
val media: MediaType
The MediaType the level and targetLevel applies to.
targetLevel
Link copied to clipboard
val targetLevel: Double
The target buffer level for the media type and buffer type.
type
Link copied to clipboard
val type: BufferType
The BufferType the level and targetLevel applies to.