PillarboxExoPlayer

Create a new instance of PillarboxExoPlayer.

Usage

val player = PillarboxExoPlayer(context, Default) {
addAssetLoader(MyAssetLoader())
coroutineContext(Dispatchers.Main)
}

Return

A new instance of PillarboxExoPlayer.

Parameters

Builder

The type of the PillarboxBuilder.

context

The Context.

type
builder

The builder.