public class

PlaybackControlsRow.ShuffleAction

extends PlaybackControlsRow.MultiAction

 java.lang.Object

androidx.leanback.widget.Action

androidx.leanback.widget.PlaybackControlsRow.MultiAction

↳androidx.leanback.widget.PlaybackControlsRow.ShuffleAction

Overview

An action for displaying a shuffle icon.

Summary

Fields
public static final intINDEX_OFF

Action index for shuffle is off

public static final intINDEX_ON

Action index for shuffle is on.

public static final intOFF

Action index for shuffle is off.

public static final intON

Action index for shuffle is on.

from ActionNO_ID
Constructors
publicShuffleAction(Context context)

Constructor

publicShuffleAction(Context context, int highlightColor)

Constructor

Methods
from PlaybackControlsRow.MultiActiongetActionCount, getDrawable, getIndex, getLabel, getSecondaryLabel, nextIndex, setDrawables, setIndex, setLabels, setSecondaryLabels
from ActionaddKeyCode, getIcon, getId, getLabel1, getLabel2, removeKeyCode, respondsToKeyCode, setIcon, setId, setLabel1, setLabel2, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public static final int OFF

Deprecated: Use PlaybackControlsRow.ShuffleAction.INDEX_OFF

Action index for shuffle is off.

public static final int ON

Deprecated: Use PlaybackControlsRow.ShuffleAction.INDEX_ON

Action index for shuffle is on.

public static final int INDEX_OFF

Action index for shuffle is off

public static final int INDEX_ON

Action index for shuffle is on.

Constructors

public ShuffleAction(Context context)

Constructor

Parameters:

context: Context used for loading resources.

public ShuffleAction(Context context, int highlightColor)

Constructor

Parameters:

context: Context used for loading resources.
highlightColor: Color for the highlighted icon state.