ThumbsAction

abstract class ThumbsAction : PlaybackControlsRow.MultiAction
kotlin.Any
   ↳ androidx.leanback.widget.Action
   ↳ androidx.leanback.widget.PlaybackControlsRow.MultiAction
   ↳ androidx.leanback.widget.PlaybackControlsRow.ThumbsAction

A base class for displaying a thumbs action.

Summary

Constants
static Int

Action index for the outline thumb icon.

static Int

Action index for the solid thumb icon.

static Int

Action index for the outline thumb icon.

static Int

Action index for the solid thumb icon.

Inherited constants
Public constructors
<init>(id: Int, context: Context!, solidIconIndex: Int, outlineIconIndex: Int)

Constructor

Inherited functions

Constants

INDEX_OUTLINE

static val INDEX_OUTLINE: Int

Action index for the outline thumb icon.

Value: 1

INDEX_SOLID

static val INDEX_SOLID: Int

Action index for the solid thumb icon.

Value: 0

OUTLINE

static val OUTLINE: Int

Action index for the outline thumb icon.

Value: 1

SOLID

static val SOLID: Int

Action index for the solid thumb icon.

Value: 0

Public constructors

<init>

ThumbsAction(id: Int, context: Context!, solidIconIndex: Int, outlineIconIndex: Int)

Constructor

Parameters
context Int: Context used for loading resources.