PlaybackControlsRow.PictureInPictureAction
public
static
class
PlaybackControlsRow.PictureInPictureAction
extends Action
An action displaying an icon for picture-in-picture.
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
PictureInPictureAction
public PictureInPictureAction (Context context)
Constructor
Parameters |
context |
Context : Context used for loading resources.
|