PlaybackControlsRow.FastForwardAction
public
static
class
PlaybackControlsRow.FastForwardAction
extends PlaybackControlsRow.MultiAction
An action displaying an icon for fast forward.
Summary
Inherited methods |
|
|
From class
androidx.leanback.widget.Action
final
void
|
addKeyCode(int keyCode)
Adds a keycode used to invoke this Action.
|
final
Drawable
|
getIcon()
Returns the icon drawable for this Action.
|
final
long
|
getId()
Returns the id for this Action.
|
final
CharSequence
|
getLabel1()
Returns the first line label for this Action.
|
final
CharSequence
|
getLabel2()
Returns the second line label for this Action.
|
final
void
|
removeKeyCode(int keyCode)
Removes a keycode used to invoke this Action.
|
final
boolean
|
respondsToKeyCode(int keyCode)
Returns true if the Action should respond to the given keycode.
|
final
void
|
setIcon(Drawable icon)
Sets the icon drawable for this Action.
|
final
void
|
setId(long id)
Sets the id for this Action.
|
final
void
|
setLabel1(CharSequence label)
Sets the first line label for this Action.
|
final
void
|
setLabel2(CharSequence label)
Sets the second line label for this Action.
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
FastForwardAction
public FastForwardAction (Context context)
Constructor
| Parameters |
context |
Context: Context used for loading resources.
|
FastForwardAction
public FastForwardAction (Context context,
int numSpeeds)
Constructor
| Parameters |
context |
Context: Context used for loading resources. |
numSpeeds |
int: Number of supported fast forward speeds.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]