PlaybackController
Incoming Messages
Notifies the Engine of a platform button request (i.e. Play/Pause/Next/Previous/Skip Forward/Skip Backward) For certain playback types, the Engine will issue playback directives to the AudioPlayer MediaPlayer to control playback on the platform.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "PlaybackController",
"action": "ButtonPressed"
}
},
"payload": {
"button": {{PlaybackButton}}
}
}
Payload
TogglePressed
Notifies the Engine of a platform toggle request (i.e. Shuffle/Loop/Repeat/Thumbs Up/Thumbs Down) For certain playback types, the Engine will issue playback directives to the AudioPlayer MediaPlayer.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "PlaybackController",
"action": "TogglePressed"
}
},
"payload": {
"toggle": {{PlaybackToggle}},
"action": {{Bool}}
}
}
Payload
Enums
Values
PlaybackToggle
Values