Builder

Builder for creating an SRG-flavored Pillarbox player.

Functions

Link copied to clipboard
fun addAssetLoader(assetLoader: AssetLoader)
Link copied to clipboard
Link copied to clipboard
fun coroutineContext(coroutineContext: CoroutineContext)
Link copied to clipboard
Link copied to clipboard
fun loadControl(loadControl: LoadControl)
Link copied to clipboard
fun maxSeekToPreviousPosition(maxSeekToPreviousPosition: Duration)
Link copied to clipboard
fun monitoring(type: Logcat)
fun monitoring(endpointUrl: String, okHttpClient: OkHttpClient?, coroutineScope: CoroutineScope?)
Link copied to clipboard
fun playbackLooper(playbackLooper: Looper)
Link copied to clipboard
Link copied to clipboard
fun seekBackwardIncrement(seekBackwardIncrement: Duration)
Link copied to clipboard
fun seekForwardIncrement(seekForwardIncrement: Duration)
Link copied to clipboard
fun srgAssetLoader(context: Context, block: SRGAssetLoaderConfig.() -> Unit)

Configures and adds an SRGAssetLoader to the player.

Link copied to clipboard
operator fun AssetLoader.unaryPlus()