RepeatAction
open class RepeatAction : PlaybackControlsRow.MultiAction
kotlin.Any | |||
↳ | androidx.leanback.widget.Action | ||
↳ | androidx.leanback.widget.PlaybackControlsRow.MultiAction | ||
↳ | androidx.leanback.widget.PlaybackControlsRow.RepeatAction |
An action for displaying three repeat states: none, one, or all.
Summary
Constants |
|
---|---|
static Int |
Action index for the repeat-all icon. |
static Int |
Action index for the repeat-all icon. |
static Int |
Action index for the repeat-none icon. |
static Int |
Action index for the repeat-one icon. |
static Int |
Action index for the repeat-none icon. |
static Int |
Action index for the repeat-one icon. |
Inherited constants |
|
---|---|
Public constructors |
|
---|---|
Constructor |
|
Constructor |
|
Constructor |
Inherited functions |
|
---|---|
Constants
NONE
static valNONE: Int
Deprecated: Use INDEX_NONE
Action index for the repeat-none icon.
Value: 0
Public constructors
<init>
RepeatAction(context: Context!)
Constructor
Parameters | |
---|---|
context |
Context!: Context used for loading resources. |
<init>
RepeatAction(context: Context!, highlightColor: Int)
Constructor
Parameters | |
---|---|
context |
Context!: Context used for loading resources |
highlightColor |
Context!: Color to display the repeat-all and repeat0one icons. |