HighQualityAction

open class HighQualityAction : PlaybackControlsRow.MultiAction
kotlin.Any
   ↳ androidx.leanback.widget.Action
   ↳ androidx.leanback.widget.PlaybackControlsRow.MultiAction
   ↳ androidx.leanback.widget.PlaybackControlsRow.HighQualityAction

An action for displaying a HQ (High Quality) icon.

Summary

Constants
static Int

Action index for high quality is off.

static Int

Action index for high quality is on.

static Int

Action index for high quality is off.

static Int

Action index for high quality is on.

Inherited constants
Public constructors
<init>(context: Context!)

Constructor

<init>(context: Context!, highlightColor: Int)

Constructor

Inherited functions

Constants

OFF

static val OFF: Int

Action index for high quality is off.

Value: 0

ON

static val ON: Int

Action index for high quality is on.

Value: 1

INDEX_OFF

static val INDEX_OFF: Int

Action index for high quality is off.

Value: 0

INDEX_ON

static val INDEX_ON: Int

Action index for high quality is on.

Value: 1

Public constructors

<init>

HighQualityAction(context: Context!)

Constructor

Parameters
context Context!: Context used for loading resources.

<init>

HighQualityAction(context: Context!, highlightColor: Int)

Constructor

Parameters
context Context!: Context used for loading resources.
highlightColor Context!: Color for the highlighted icon state.