setPlayer

fun setPlayer(player: PillarboxExoPlayer, mediaSessionCallback: PillarboxMediaSession.Callback = PillarboxMediaSession.Callback.Default, sessionId: String? = null)

Set player to use with this Service.

Parameters

player

PillarboxExoPlayer to link to this service.

mediaSessionCallback
sessionId

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