Toggle

data class Toggle(val repeat: Toggle.Repeat?, val shuffle: Toggle.Shuffle?)

toggle information. If not supported, should be null. When create event, exclude field not supported.

Constructors

Link copied to clipboard
fun Toggle(repeat: Toggle.Repeat?, shuffle: Toggle.Shuffle?)

Types

Link copied to clipboard
enum Repeat : Enum<Toggle.Repeat>
Link copied to clipboard
enum Shuffle : Enum<Toggle.Shuffle>

Functions

Link copied to clipboard
fun toJson(): JsonElement

Properties

Link copied to clipboard
@SerializedName(value = "repeat")
val repeat: Toggle.Repeat?

repeat, null if not supported

Link copied to clipboard
@SerializedName(value = "shuffle")
val shuffle: Toggle.Shuffle?

shuffle, null if not supported