setId

Sets an ID of the PillarboxMediaSession. If not set, an empty string will be used. Use this if and only if your app supports multiple playback at the same time and also wants to provide external apps to have finer-grained controls.

Return

this builder for convenience.

Parameters

id

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

See also