public class

PlaybackControlsRow.HighQualityAction

extends PlaybackControlsRow.MultiAction

 java.lang.Object

androidx.leanback.widget.Action

androidx.leanback.widget.PlaybackControlsRow.MultiAction

↳androidx.leanback.widget.PlaybackControlsRow.HighQualityAction

Overview

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

Summary

Fields
public static final intINDEX_OFF

Action index for high quality is off.

public static final intINDEX_ON

Action index for high quality is on.

public static final intOFF

Action index for high quality is off.

public static final intON

Action index for high quality is on.

from ActionNO_ID
Constructors
publicHighQualityAction(Context context)

Constructor

publicHighQualityAction(Context context, int highlightColor)

Constructor

Methods
from PlaybackControlsRow.MultiActiongetActionCount, getDrawable, getIndex, getLabel, getSecondaryLabel, nextIndex, setDrawables, setIndex, setLabels, setSecondaryLabels
from ActionaddKeyCode, getIcon, getId, getLabel1, getLabel2, removeKeyCode, respondsToKeyCode, setIcon, setId, setLabel1, setLabel2, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public static final int OFF

Deprecated: Use PlaybackControlsRow.HighQualityAction.INDEX_OFF

Action index for high quality is off.

public static final int ON

Deprecated: Use PlaybackControlsRow.HighQualityAction.INDEX_ON

Action index for high quality is on.

public static final int INDEX_OFF

Action index for high quality is off.

public static final int INDEX_ON

Action index for high quality is on.

Constructors

public HighQualityAction(Context context)

Constructor

Parameters:

context: Context used for loading resources.

public HighQualityAction(Context context, int highlightColor)

Constructor

Parameters:

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