MediaNotificationAction

data class MediaNotificationAction(val id: String, val label: CharSequence, val icon: Int)

A button of the application's own, in the media notification and in the system media controls. Give them to KitePlayerMediaSession.setCustomActions. The notification shows five buttons at most.

Constructors

Link copied to clipboard
constructor(id: String, label: CharSequence, icon: Int)

Properties

Link copied to clipboard
val icon: Int

A drawable resource id.

Link copied to clipboard
val id: String

What a press hands back to the handler given to KitePlayerMediaSession.setCustomActions.

Link copied to clipboard

What a screen reader says for the button.