Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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

Deprecated: Use INDEX_OUTLINE

Action index for the outline thumb icon.

Value: 1

SOLID

static val SOLID: Int

Deprecated: Use INDEX_SOLID

Action index for the solid thumb icon.

Value: 0

Public constructors

<init>

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

Constructor

Parameters
context Context!: Context used for loading resources.