WebAPI/SpeakerManager: Difference between revisions

(Created page with "== Speaker Control API == General Use Cases: Allow application can output audio through speaker on b2g devices ==Proposed API== [Constructor()] interface MozSpeakerManager ...")
 
Line 40: Line 40:
*If an app that has called forcespeaker=true is switched from the background to the foreground 'speakerforced' switches to true in all apps. I.e. the app doesn't have to call forcespeaker(true) again when it comes into foreground.
*If an app that has called forcespeaker=true is switched from the background to the foreground 'speakerforced' switches to true in all apps. I.e. the app doesn't have to call forcespeaker(true) again when it comes into foreground.


==Security model==
=== Permissions Table===
 
{| border="1" class="wikitable"
! Type
! Use Cases
! Authorization Model
! Notes & Other Controls
|-
| Web Content || None || No access
|-
| Installed Web Apps || None || No access
|- 
| Privileged Web Apps || None || No access
|-
| Certified Web Apps || General use cases || Implicit
|}
Confirmed users
65

edits