added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackControlsRow.ShuffleAction

public static class PlaybackControlsRow.ShuffleAction
extends PlaybackControlsRow.MultiAction

java.lang.Object
   ↳ android.support.v17.leanback.widget.Action
     ↳ android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
       ↳ android.support.v17.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 was deprecated in API level 26.1.0. Use INDEX_OFF

int ON

This constant was deprecated in API level 26.1.0. Use INDEX_ON

Inherited constants

From class android.support.v17.leanback.widget.Action

Public constructors

PlaybackControlsRow.ShuffleAction(Context context)

Constructor

PlaybackControlsRow.ShuffleAction(Context context, int highlightColor)

Constructor

Inherited methods

From class android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
From class android.support.v17.leanback.widget.Action
From class java.lang.Object

Constants

INDEX_OFF

added in version 26.1.0
int INDEX_OFF

Action index for shuffle is off

Constant Value: 0 (0x00000000)

INDEX_ON

added in version 26.1.0
int INDEX_ON

Action index for shuffle is on.

Constant Value: 1 (0x00000001)

OFF

added in version 22.1.0
int OFF

This constant was deprecated in API level 26.1.0.
Use INDEX_OFF

Action index for shuffle is off.

Constant Value: 0 (0x00000000)

ON

added in version 22.1.0
int ON

This constant was deprecated in API level 26.1.0.
Use INDEX_ON

Action index for shuffle is on.

Constant Value: 1 (0x00000001)

Public constructors

PlaybackControlsRow.ShuffleAction

added in version 22.1.0
PlaybackControlsRow.ShuffleAction (Context context)

Constructor

Parameters
context Context: Context used for loading resources.

PlaybackControlsRow.ShuffleAction

added in version 22.1.0
PlaybackControlsRow.ShuffleAction (Context context, 
                int highlightColor)

Constructor

Parameters
context Context: Context used for loading resources.

highlightColor int: Color for the highlighted icon state.