Firefox OS/Vaani/Music: Difference between revisions

Line 22: Line 22:
= Supported commands =
= Supported commands =


* Play
We supports the following actions for music controlling use case:
* Pause
 
...
* ListenAction
* StopAction
* SuspendAction
* SkipBackwardAction
* SkipForwardAction
* SearchAction


== Extended schemata ==
== Extended schemata ==
Line 36: Line 41:


== Proposal 1: JSON-LD in manifest ==
== Proposal 1: JSON-LD in manifest ==
An app who supports custom command should put the following section in manifest.webapp
=== ListenAction ===
=== ListenAction ===


Line 127: Line 135:


== Proposal 2: not JSON-LD ==
== Proposal 2: not JSON-LD ==
Unlike proposal 1, proposal 2 is based on connection channel instead of actions. We group actions which will be called with the same channel. This design looks simpler and no JSON-LD or schema.org data introduced to manifest.webapp.


An app who supports custom command should put the following section in manifest.webapp
An app who supports custom command should put the following section in manifest.webapp
Confirmed users
209

edits