PlaybackControlsRow.PlayPauseAction
public
static
class
PlaybackControlsRow.PlayPauseAction
extends PlaybackControlsRow.MultiAction
java.lang.Object | |||
↳ | androidx.leanback.widget.Action | ||
↳ | androidx.leanback.widget.PlaybackControlsRow.MultiAction | ||
↳ | androidx.leanback.widget.PlaybackControlsRow.PlayPauseAction |
An action displaying icons for play and pause.
Summary
Constants | |
---|---|
int |
INDEX_PAUSE
Action index for the pause icon. |
int |
INDEX_PLAY
Action index for the play icon. |
int |
PAUSE
This constant is deprecated.
Use |
int |
PLAY
This constant is deprecated.
Use |
Inherited constants |
---|
Public constructors | |
---|---|
PlaybackControlsRow.PlayPauseAction(Context context)
Constructor |
Inherited methods | |
---|---|
Constants
INDEX_PAUSE
public static final int INDEX_PAUSE
Action index for the pause icon.
Constant Value: 1 (0x00000001)
INDEX_PLAY
public static final int INDEX_PLAY
Action index for the play icon.
Constant Value: 0 (0x00000000)
PAUSE
public static final int PAUSE
This constant is deprecated.
Use INDEX_PAUSE
Action index for the pause icon.
Constant Value: 1 (0x00000001)
PLAY
public static final int PLAY
This constant is deprecated.
Use INDEX_PLAY
Action index for the play icon.
Constant Value: 0 (0x00000000)
Public constructors
PlaybackControlsRow.PlayPauseAction
public PlaybackControlsRow.PlayPauseAction (Context context)
Constructor
Parameters | |
---|---|
context |
Context : Context used for loading resources.
|