Firefox OS/Vaani/Music: Difference between revisions

Jump to navigation Jump to search
Add extended property in Commands & Protocols 0803
(Add extended property in Commands & Protocols 0803)
Line 22: Line 22:


=== Commands & Protocols ===
=== Commands & Protocols ===
====Extended property====
PlayAction
{| class="wikitable"
|-
! Property  !!  Expected Type  !!  Description
|-
| Direction || Text || Play direction. (Previous/Next)
|}
==== Schema ====
1. Play music<br>
1. Play music<br>


Line 27: Line 36:
         "@context": "http://schema.org/PlayAction",
         "@context": "http://schema.org/PlayAction",
         "@type": "PlayAction",
         "@type": "PlayAction",
        "direction": "next"
         "target": {
         "target": {
           "@type": "IAC",
           "@type": "IAC",
Line 60: Line 70:


       "custom_commands": [{
       "custom_commands": [{
         "@context": "http://schema.org/",
         "@context": "http://schema.org/PlayAction",
         "@type": "",
         "@type": "PlayAction",
        "direction": @direction
         "target": {
         "target": {
           "@type": "IAC",
           "@type": "IAC",
110

edits

Navigation menu