Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

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 0.0.0. Use INDEX_OUTLINE

int SOLID

This constant was deprecated in API level 0.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

public static final int INDEX_OUTLINE

Action index for the outline thumb icon.

Constant Value: 1 (0x00000001)

INDEX_SOLID

public static final int INDEX_SOLID

Action index for the solid thumb icon.

Constant Value: 0 (0x00000000)

OUTLINE

public static final int OUTLINE

This constant was deprecated in API level 0.0.0.
Use INDEX_OUTLINE

Action index for the outline thumb icon.

Constant Value: 1 (0x00000001)

SOLID

public static final int SOLID

This constant was deprecated in API level 0.0.0.
Use INDEX_SOLID

Action index for the solid thumb icon.

Constant Value: 0 (0x00000000)

Public constructors

PlaybackControlsRow.ThumbsAction

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