public abstract class

PlaybackControlsRow.ThumbsAction

extends PlaybackControlsRow.MultiAction

 java.lang.Object

androidx.leanback.widget.Action

androidx.leanback.widget.PlaybackControlsRow.MultiAction

↳androidx.leanback.widget.PlaybackControlsRow.ThumbsAction

Subclasses:

PlaybackControlsRow.ThumbsUpAction, PlaybackControlsRow.ThumbsDownAction

Overview

A base class for displaying a thumbs action.

Summary

Fields
public static final intINDEX_OUTLINE

Action index for the outline thumb icon.

public static final intINDEX_SOLID

Action index for the solid thumb icon.

public static final intOUTLINE

Action index for the outline thumb icon.

public static final intSOLID

Action index for the solid thumb icon.

from ActionNO_ID
Constructors
publicThumbsAction(int id, Context context, int solidIconIndex, int outlineIconIndex)

Constructor

Methods
from PlaybackControlsRow.MultiActiongetActionCount, getDrawable, getIndex, getLabel, getSecondaryLabel, nextIndex, setDrawables, setIndex, setLabels, setSecondaryLabels
from ActionaddKeyCode, getIcon, getId, getLabel1, getLabel2, removeKeyCode, respondsToKeyCode, setIcon, setId, setLabel1, setLabel2, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public static final int SOLID

Deprecated: Use PlaybackControlsRow.ThumbsAction.INDEX_SOLID

Action index for the solid thumb icon.

public static final int OUTLINE

Deprecated: Use PlaybackControlsRow.ThumbsAction.INDEX_OUTLINE

Action index for the outline thumb icon.

public static final int INDEX_SOLID

Action index for the solid thumb icon.

public static final int INDEX_OUTLINE

Action index for the outline thumb icon.

Constructors

public ThumbsAction(int id, Context context, int solidIconIndex, int outlineIconIndex)

Constructor

Parameters:

context: Context used for loading resources.