PlaybackControlsRow.ShuffleAction
public
static
class
PlaybackControlsRow.ShuffleAction
extends PlaybackControlsRow.MultiAction
| java.lang.Object | |||
| ↳ | androidx.leanback.widget.Action | ||
| ↳ | androidx.leanback.widget.PlaybackControlsRow.MultiAction | ||
| ↳ | androidx.leanback.widget.PlaybackControlsRow.ShuffleAction | ||
An action for displaying a shuffle icon.
Summary
Constants | |
|---|---|
int |
INDEX_OFF
Action index for shuffle is off |
int |
INDEX_ON
Action index for shuffle is on. |
int |
OFF
This constant is deprecated.
Use |
int |
ON
This constant is deprecated.
Use |
Inherited constants |
|---|
Public constructors | |
|---|---|
PlaybackControlsRow.ShuffleAction(Context context)
Constructor |
|
PlaybackControlsRow.ShuffleAction(Context context, int highlightColor)
Constructor |
|
Inherited methods | |
|---|---|
Constants
INDEX_OFF
public static final int INDEX_OFF
Action index for shuffle is off
Constant Value: 0 (0x00000000)
INDEX_ON
public static final int INDEX_ON
Action index for shuffle is on.
Constant Value: 1 (0x00000001)
OFF
public static final int OFF
This constant is deprecated.
Use INDEX_OFF
Action index for shuffle is off.
Constant Value: 0 (0x00000000)
ON
public static final int ON
This constant is deprecated.
Use INDEX_ON
Action index for shuffle is on.
Constant Value: 1 (0x00000001)
Public constructors
PlaybackControlsRow.ShuffleAction
public PlaybackControlsRow.ShuffleAction (Context context)
Constructor
| Parameters | |
|---|---|
context |
Context: Context used for loading resources.
|
PlaybackControlsRow.ShuffleAction
public PlaybackControlsRow.ShuffleAction (Context context, int highlightColor)
Constructor
| Parameters | |
|---|---|
context |
Context: Context used for loading resources. |
highlightColor |
int: Color for the highlighted icon state.
|