110
edits
(→Music) |
(update commands and protocol) |
||
| Line 4: | Line 4: | ||
=== Structure === | === Structure === | ||
=== Commands | === Commands & Protocols === | ||
1. Play music | 1. Play music<br> | ||
"custom_commands": [{ | |||
"@context": "http://schema.org/PlayAction", | |||
"@type": "PlayAction", | |||
}] | |||
2. Stop<br> | |||
"custom_commands": [{ | |||
"@context": "http://schema.org/Deactivation", | |||
"@type": "Deactivation", | |||
}] | |||
3. Pause<br> | |||
"custom_commands": [{ | |||
"@context": "http://schema.org/SuspendAction", | |||
"@type": "SuspendAction", | |||
}] | |||
4. Previous / Next <br> | |||
"custom_commands": [{ | |||
"@context": "http://schema.org/", | |||
"@type": "", | |||
}] | |||
5. Who is the artist / What album is this <br> | |||
"custom_commands": [{ | |||
"@context": "http://schema.org/AskAction", | |||
"@type": "AskAction", | |||
"object": "Question", | |||
"target": { | |||
"@type": "IAC", | |||
"name": "vaani-music", | |||
"data": { | |||
"type": "webapp", | |||
"manifest": "@manifest", | |||
"entry_point": "@entry_point" | |||
} | |||
} | |||
}] | |||
== Lacking: == | == Lacking: == | ||
edits