added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-beta01

PlaybackControlsRow.ThumbsAction

public static abstract class PlaybackControlsRow.ThumbsAction
extends PlaybackControlsRow.MultiAction

java.lang.Object
   ↳ androidx.leanback.widget.Action
     ↳ androidx.leanback.widget.PlaybackControlsRow.MultiAction
       ↳ androidx.leanback.widget.PlaybackControlsRow.ThumbsAction


A base class for displaying a thumbs action.

Summary

Constants

int INDEX_OUTLINE

Action index for the outline thumb icon.

int INDEX_SOLID

Action index for the solid thumb icon.

int OUTLINE

This constant was deprecated in API level 1.0.0. Use INDEX_OUTLINE

int SOLID

This constant was deprecated in API level 1.0.0. Use INDEX_SOLID

Inherited constants

Public constructors

PlaybackControlsRow.ThumbsAction(int id, Context context, int solidIconIndex, int outlineIconIndex)

Constructor

Inherited methods

Constants

INDEX_OUTLINE

added in version 1.0.0
public static final int INDEX_OUTLINE

Action index for the outline thumb icon.

Constant Value: 1 (0x00000001)

INDEX_SOLID

added in version 1.0.0
public static final int INDEX_SOLID

Action index for the solid thumb icon.

Constant Value: 0 (0x00000000)

OUTLINE

added in version 1.0.0
public static final int OUTLINE

This constant was deprecated in API level 1.0.0.
Use INDEX_OUTLINE

Action index for the outline thumb icon.

Constant Value: 1 (0x00000001)

SOLID

added in version 1.0.0
public static final int SOLID

This constant was deprecated in API level 1.0.0.
Use INDEX_SOLID

Action index for the solid thumb icon.

Constant Value: 0 (0x00000000)

Public constructors

PlaybackControlsRow.ThumbsAction

added in version 1.0.0
public PlaybackControlsRow.ThumbsAction (int id, 
                Context context, 
                int solidIconIndex, 
                int outlineIconIndex)

Constructor

Parameters
id int

context Context: Context used for loading resources.

solidIconIndex int

outlineIconIndex int