lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackControlsRow.HighQualityAction

public static class PlaybackControlsRow.HighQualityAction
extends PlaybackControlsRow.MultiAction

java.lang.Object
   ↳ android.support.v17.leanback.widget.Action
     ↳ android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
       ↳ android.support.v17.leanback.widget.PlaybackControlsRow.HighQualityAction


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

Summary

Constants

int INDEX_OFF

Action index for high quality is off.

int INDEX_ON

Action index for high quality is on.

int OFF

This constant was deprecated in API level 26.1.0. Use INDEX_OFF

int ON

This constant was deprecated in API level 26.1.0. Use INDEX_ON

Inherited constants

From class android.support.v17.leanback.widget.Action

Public constructors

PlaybackControlsRow.HighQualityAction(Context context)

Constructor

PlaybackControlsRow.HighQualityAction(Context context, int highlightColor)

Constructor

Inherited methods

From class android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
From class android.support.v17.leanback.widget.Action
From class java.lang.Object

Constants

INDEX_OFF

added in version 26.1.0
int INDEX_OFF

Action index for high quality is off.

Constant Value: 0 (0x00000000)

INDEX_ON

added in version 26.1.0
int INDEX_ON

Action index for high quality is on.

Constant Value: 1 (0x00000001)

OFF

added in version 22.1.0
int OFF

This constant was deprecated in API level 26.1.0.
Use INDEX_OFF

Action index for high quality is off.

Constant Value: 0 (0x00000000)

ON

added in version 22.1.0
int ON

This constant was deprecated in API level 26.1.0.
Use INDEX_ON

Action index for high quality is on.

Constant Value: 1 (0x00000001)

Public constructors

PlaybackControlsRow.HighQualityAction

added in version 22.1.0
PlaybackControlsRow.HighQualityAction (Context context)

Constructor

Parameters
context Context: Context used for loading resources.

PlaybackControlsRow.HighQualityAction

added in version 22.1.0
PlaybackControlsRow.HighQualityAction (Context context, 
                int highlightColor)

Constructor

Parameters
context Context: Context used for loading resources.

highlightColor int: Color for the highlighted icon state.