Builder

class Builder(context: Context, player: PillarboxPlayer)

Builder

Parameters

context
player

Constructors

Link copied to clipboard
constructor(context: Context, player: PillarboxPlayer)

Functions

Link copied to clipboard
Link copied to clipboard

Set callback

Link copied to clipboard

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.

Link copied to clipboard

Sets a PendingIntent to launch an Activity for the MediaSession. This can be used as a quick link to an ongoing media screen.