setSessionActivity

fun setSessionActivity(pendingIntent: PendingIntent): PillarboxMediaSession.Builder

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

Return

this builder for convenience.

Parameters

pendingIntent

The PendingIntent.

See also