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.
|
[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
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
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)
Parameters
context
| Context used for loading resources.
|
public
PlaybackControlsRow.RepeatAction
(Context context, int highlightColor)
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)
Parameters
context
| Context used for loading resources |
repeatAllColor
| Color to display the repeat-all icon. |
repeatOneColor
| Color to display the repeat-one icon.
|