DisallowablePlaybackAction

data class DisallowablePlaybackAction(action: PlaybackAction, disallowed: Boolean)

Maps a playback action to whether the user is disallowed from doing it

Parameters

action

The PlaybackAction for which the explicit setting is provided

disallowed

Whether the action is not allowed.

Constructors

DisallowablePlaybackAction
Link copied to clipboard
common
fun DisallowablePlaybackAction(action: PlaybackAction, disallowed: Boolean)
The PlaybackAction for which the explicit setting is provided

Functions

component1
Link copied to clipboard
common
operator fun component1(): PlaybackAction
component2
Link copied to clipboard
common
operator fun component2(): Boolean
copy
Link copied to clipboard
common
fun copy(action: PlaybackAction, disallowed: Boolean): DisallowablePlaybackAction
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

action
Link copied to clipboard
common
val action: PlaybackAction
The PlaybackAction for which the explicit setting is provided
disallowed
Link copied to clipboard
common
val disallowed: Boolean
Whether the action is not allowed.

Sources

(source)
Link copied to clipboard