Android APIs
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

Class Overview

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

Summary

Fields
public static int ALL Action index for the repeat-all icon.
public static int NONE Action index for the repeat-none icon.
public static int ONE Action index for the repeat-one icon.
Public Constructors
PlaybackControlsRow.RepeatAction(Context context)
Constructor
PlaybackControlsRow.RepeatAction(Context context, int highlightColor)
Constructor
PlaybackControlsRow.RepeatAction(Context context, int repeatAllColor, int repeatOneColor)
Constructor
[Expand]
Inherited Methods
From class android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
From class android.support.v17.leanback.widget.Action
From class java.lang.Object

Fields

public static int ALL

Action index for the repeat-all icon.

public static int NONE

Action index for the repeat-none icon.

public static int ONE

Action index for the repeat-one icon.

Public Constructors

public PlaybackControlsRow.RepeatAction (Context context)

Constructor

Parameters
context Context used for loading resources.

public PlaybackControlsRow.RepeatAction (Context context, int highlightColor)

Constructor

Parameters
context Context used for loading resources
highlightColor Color to display the repeat-all and repeat0one icons.

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

Constructor

Parameters
context Context used for loading resources
repeatAllColor Color to display the repeat-all icon.
repeatOneColor Color to display the repeat-one icon.