lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0

PlaybackControlsRow.HighQualityAction

public static class PlaybackControlsRow.HighQualityAction
extends PlaybackControlsRow.MultiAction

java.lang.Object
   ↳ 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

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 1.0.0. Use INDEX_OFF

int ON

This constant was deprecated in API level 1.0.0. Use INDEX_ON

Inherited constants

Public constructors

PlaybackControlsRow.HighQualityAction(Context context)

Constructor

PlaybackControlsRow.HighQualityAction(Context context, int highlightColor)

Constructor

Inherited methods

Constants

INDEX_OFF

added in version 1.0.0
public static final int INDEX_OFF

Action index for high quality is off.

Constant Value: 0 (0x00000000)

INDEX_ON

added in version 1.0.0
public static final int INDEX_ON

Action index for high quality is on.

Constant Value: 1 (0x00000001)

OFF

added in version 1.0.0
public static final int OFF

This constant was deprecated in API level 1.0.0.
Use INDEX_OFF

Action index for high quality is off.

Constant Value: 0 (0x00000000)

ON

added in version 1.0.0
public static final int ON

This constant was deprecated in API level 1.0.0.
Use INDEX_ON

Action index for high quality is on.

Constant Value: 1 (0x00000001)

Public constructors

PlaybackControlsRow.HighQualityAction

added in version 1.0.0
public PlaybackControlsRow.HighQualityAction (Context context)

Constructor

Parameters
context Context: Context used for loading resources.

PlaybackControlsRow.HighQualityAction

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

Constructor

Parameters
context Context: Context used for loading resources.

highlightColor int: Color for the highlighted icon state.