Builder

Default implementation used to create simple PillarboxExoPlayer.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard

Set the internal Clock used by the player.

Link copied to clipboard
fun coroutineContext(coroutineContext: CoroutineContext)

Set the coroutine context used by the player.

Link copied to clipboard

Create a new instance of PillarboxExoPlayer.

Link copied to clipboard

Disable the monitoring for this player

Link copied to clipboard
fun loadControl(loadControl: LoadControl)

Set the load control used by the player.

Link copied to clipboard
fun maxSeekToPreviousPosition(maxSeekToPreviousPosition: Duration)
Link copied to clipboard
fun monitoring(type: Logcat)

Make the monitoring logs all events to Logcat, using the default config.

Configure the monitoring for this player.

fun monitoring(endpointUrl: String, httpClient: HttpClient? = null, coroutineScope: CoroutineScope? = null)

Make the monitoring sends all events to a remote server.

Link copied to clipboard
fun playbackLooper(playbackLooper: Looper)

Set the Looper to use for playback.

Link copied to clipboard
fun seekBackwardIncrement(seekBackwardIncrement: Duration)

Set the seek back increment duration.

Link copied to clipboard
fun seekForwardIncrement(seekForwardIncrement: Duration)

Set the seek forward increment duration.

Link copied to clipboard