You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raymond Camden (JIRA)" <ji...@apache.org> on 2014/07/23 21:13:39 UTC
[jira] [Created] (CB-7193) Create a "Capabilities" plugin
Raymond Camden created CB-7193:
----------------------------------
Summary: Create a "Capabilities" plugin
Key: CB-7193
URL: https://issues.apache.org/jira/browse/CB-7193
Project: Apache Cordova
Issue Type: Improvement
Reporter: Raymond Camden
Priority: Minor
This is based on an IM conversation I had with Jesse MacFadyen. I promised to write it up. HIs idea, my write up, so any mistakes blame on me.
I recently logged an ER for supporting a "IsCameraAvailable" request in the Camera API. JF mentioned that a general purpose Capabilities API would be a good place for this. Specifically a CameraCapabilities plugin.
You could then have a MediaCapabilities plugin to support things like canPlayMp3, canPlayWav, etc.
Basically - one plugin per 'area' of capabilities.
--
This message was sent by Atlassian JIRA
(v6.2#6252)