setPlayer

fun setPlayer(player: PillarboxExoPlayer, callback: PillarboxMediaLibrarySession.Callback, sessionId: String? = null)

Set player to use with this Service.

Parameters

player

PillarboxExoPlayer to link to this service.

sessionId

The ID. Must be unique among all sessions per package.