Most visited

Recently visited

PlaybackControlsRow.ClosedCaptioningAction

public static class PlaybackControlsRow.ClosedCaptioningAction
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.ClosedCaptioningAction


用于显示CC(隐藏式字幕)图标的操作。

Summary

Inherited constants

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

Fields

public static int OFF

public static int ON

Public constructors

PlaybackControlsRow.ClosedCaptioningAction(Context context)

构造函数

PlaybackControlsRow.ClosedCaptioningAction(Context context, int highlightColor)

构造函数

Inherited methods

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

Fields

OFF

int OFF

ON

int ON

Public constructors

PlaybackControlsRow.ClosedCaptioningAction

PlaybackControlsRow.ClosedCaptioningAction (Context context)

构造函数

Parameters
context Context: Context used for loading resources.

PlaybackControlsRow.ClosedCaptioningAction

PlaybackControlsRow.ClosedCaptioningAction (Context context, 
                int highlightColor)

构造函数

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

Hooray!