Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

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 was deprecated in API level 0.0.0. Use INDEX_OFF

int ON

This constant was deprecated in API level 0.0.0. Use INDEX_ON

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 was deprecated in API level 0.0.0.
Use INDEX_OFF

Action index for shuffle is off.

Constant Value: 0 (0x00000000)

ON

public static final int ON

This constant was deprecated in API level 0.0.0.
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.