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

PlaybackControlsRow.RepeatAction

public static class PlaybackControlsRow.RepeatAction
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.RepeatAction


An action for displaying three repeat states: none, one, or all.

Summary

Constants

int ALL

This constant was deprecated in API level 26.1.0. Use INDEX_ALL

int INDEX_ALL

Action index for the repeat-all icon.

int INDEX_NONE

Action index for the repeat-none icon.

int INDEX_ONE

Action index for the repeat-one icon.

int NONE

This constant was deprecated in API level 26.1.0. Use INDEX_NONE

int ONE

This constant was deprecated in API level 26.1.0. Use INDEX_ONE

Inherited constants

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

Public constructors

PlaybackControlsRow.RepeatAction(Context context)

Constructor

PlaybackControlsRow.RepeatAction(Context context, int highlightColor)

Constructor

PlaybackControlsRow.RepeatAction(Context context, int repeatAllColor, int repeatOneColor)

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

ALL

added in version 22.1.0
int ALL

This constant was deprecated in API level 26.1.0.
Use INDEX_ALL

Action index for the repeat-all icon.

Constant Value: 1 (0x00000001)

INDEX_ALL

added in version 26.1.0
int INDEX_ALL

Action index for the repeat-all icon.

Constant Value: 1 (0x00000001)

INDEX_NONE

added in version 26.1.0
int INDEX_NONE

Action index for the repeat-none icon.

Constant Value: 0 (0x00000000)

INDEX_ONE

added in version 26.1.0
int INDEX_ONE

Action index for the repeat-one icon.

Constant Value: 2 (0x00000002)

NONE

added in version 22.1.0
int NONE

This constant was deprecated in API level 26.1.0.
Use INDEX_NONE

Action index for the repeat-none icon.

Constant Value: 0 (0x00000000)

ONE

added in version 22.1.0
int ONE

This constant was deprecated in API level 26.1.0.
Use INDEX_ONE

Action index for the repeat-one icon.

Constant Value: 2 (0x00000002)

Public constructors

PlaybackControlsRow.RepeatAction

added in version 22.1.0
PlaybackControlsRow.RepeatAction (Context context)

Constructor

Parameters
context Context: Context used for loading resources.

PlaybackControlsRow.RepeatAction

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

Constructor

Parameters
context Context: Context used for loading resources

highlightColor int: Color to display the repeat-all and repeat0one icons.

PlaybackControlsRow.RepeatAction

added in version 22.1.0
PlaybackControlsRow.RepeatAction (Context context, 
                int repeatAllColor, 
                int repeatOneColor)

Constructor

Parameters
context Context: Context used for loading resources

repeatAllColor int: Color to display the repeat-all icon.

repeatOneColor int: Color to display the repeat-one icon.