setPlayer

Sets the player to be used by this MediaSession for background playback.

Parameters

player

The PillarboxExoPlayer instance to be linked to the MediaSession.