Android 12 Developer Preview is here! Try it out, and give us your feedback!

PlayPauseAction

open class PlayPauseAction : PlaybackControlsRow.MultiAction
kotlin.Any
   ↳ androidx.leanback.widget.Action
   ↳ androidx.leanback.widget.PlaybackControlsRow.MultiAction
   ↳ androidx.leanback.widget.PlaybackControlsRow.PlayPauseAction

An action displaying icons for play and pause.

Summary

Constants
static Int

Action index for the pause icon.

static Int

Action index for the play icon.

static Int

Action index for the pause icon.

static Int

Action index for the play icon.

Inherited constants
Public constructors
<init>(context: Context!)

Constructor

Inherited functions