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

Action

public class Action
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.Action
Known Direct Subclasses
Known Indirect Subclasses


An action contains one or two lines of text, an optional image and an optional id. It may also be invoked by one or more keycodes.

Summary

Constants

long NO_ID

Indicates that an id has not been set.

Public constructors

Action(long id)

Constructor for an Action.

Action(long id, CharSequence label)

Constructor for an Action.

Action(long id, CharSequence label1, CharSequence label2)

Constructor for an Action.

Action(long id, CharSequence label1, CharSequence label2, Drawable icon)

Constructor for an Action.

Public methods

final void <