Builder

Builder for the SRG.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun addAssetLoader(assetLoader: AssetLoader)
Link copied to clipboard
fun clock(clock: Clock)
Link copied to clipboard
fun coroutineContext(coroutineContext: CoroutineContext)
Link copied to clipboard
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, httpClient: HttpClient?, coroutineScope: CoroutineScope?)
Link copied to clipboard
fun playbackLooper(playbackLooper: Looper)
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)

Configure a SRGAssetLoader.

Link copied to clipboard
operator fun AssetLoader.unaryPlus()