class MKPBufferLevel: Any
Fields
Name | Description |
---|---|
var level: Double
|
The amount of currently buffered data, e.g. audio or video buffer level. |
var targetLevel: Double
|
The target buffer level the player tries to maintain. |
var media: MKMediaType
|
The media type the buffer data applies to. |
var type: MKBufferType
|
The buffer type the buffer data applies to. |
Constructors
<init>
constructor(level: Double, targetLevel: Double, mType: MKMediaType, bType: MKBufferType)
Parameters
Name | Description |
---|---|
level: Double
|
The amount of currently buffered data |
targetLevel: Double
|
The target buffer level the player tries to maintain. |
mType: MKMediaType
|
The media type the buffer data applies to. |
bType: MKBufferType
|
The buffer type the buffer data applies to. |
Methods
createUnsetBufferLevel
fun createUnsetBufferLevel(mType: MKMediaType, bType: MKBufferType): MKPBufferLevel
Parameters
Name | Description |
---|---|
mType: MKMediaType
|
The media type the buffer data applies to. |
bType: MKBufferType
|
The buffer type the buffer data applies to. |
ReturnValue
Name | Description |
---|---|
MKPBufferLevel
|
BufferLevel |
Represents a buffer at a point in time.