BufferApi
interface BufferApi
Provides the means to configure buffer settings and to query the current buffer state. Accessible through Player.buffer.
Functions
| Name | Summary |
|---|---|
| getLevel | abstract fun getLevel(type: BufferType, media: MediaType): BufferLevel Returns the BufferLevel for the chosen buffer type and media type of the active Source. |
| setTargetLevel | abstract fun setTargetLevel(type: BufferType, value: Double) Sets the target buffer level for the chosen buffer type across all MediaTypes. |