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 2013/08/06 16:27:47 UTC

[jira] [Created] (CB-4509) Consistently show codes with constants

Raymond Camden created CB-4509:
----------------------------------

             Summary: Consistently show codes with constants
                 Key: CB-4509
                 URL: https://issues.apache.org/jira/browse/CB-4509
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Docs
            Reporter: Raymond Camden
            Assignee: Michael Brooks
            Priority: Minor


If you look at the docs for Media, http://docs.phonegap.com/en/3.0.0/cordova_media_media.md.html, you will notice that the first constant documented (mediaStatus) contains the actual code. Most developers won't ever see the nice constant. All they see is 1, 2, etc. If you go down the Media doc though you will see that MediaError does *not* document the same. One more guess that ABORTED, being first, is 0, but it isn't from what I can see in the source code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira