incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [12/50] [abbrv] docs commit: CB-1273: Document Media status states
Date Sat, 25 Aug 2012 00:00:46 GMT
CB-1273: Document Media status states


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/2c0fabed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/2c0fabed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/2c0fabed

Branch: refs/heads/master
Commit: 2c0fabed74c46a6ee7f1a0b38813df7c2a10279a
Parents: c9d0f4f
Author: macdonst <simon.macdonald@gmail.com>
Authored: Fri Aug 24 15:48:37 2012 -0400
Committer: Anis Kadri <anis.kadri@gmail.com>
Committed: Fri Aug 24 16:59:42 2012 -0700

----------------------------------------------------------------------
 docs/en/2.0.0rc1/cordova/media/media.md |   11 +++++++++++
 docs/en/edge/cordova/media/media.md     |   11 +++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c0fabed/docs/en/2.0.0rc1/cordova/media/media.md
----------------------------------------------------------------------
diff --git a/docs/en/2.0.0rc1/cordova/media/media.md b/docs/en/2.0.0rc1/cordova/media/media.md
index 20e1770..bcb4a69 100644
--- a/docs/en/2.0.0rc1/cordova/media/media.md
+++ b/docs/en/2.0.0rc1/cordova/media/media.md
@@ -35,6 +35,17 @@ Parameters
 - __mediaError__: (Optional) The callback that is invoked if there was an error. _(Function)_
 - __mediaStatus__: (Optional) The callback that is invoked to indicate status changes. _(Function)_
 
+Constants
+---------
+
+The following constants are reported as the only parameter to the __mediaStatus__ callback
function.
+
+- `Media.MEDIA_NONE`     = 0;
+- `Media.MEDIA_STARTING` = 1;
+- `Media.MEDIA_RUNNING`  = 2;
+- `Media.MEDIA_PAUSED`   = 3;
+- `Media.MEDIA_STOPPED`  = 4;
+
 Methods
 -------
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/2c0fabed/docs/en/edge/cordova/media/media.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.md b/docs/en/edge/cordova/media/media.md
index 119761f..035fcc1 100644
--- a/docs/en/edge/cordova/media/media.md
+++ b/docs/en/edge/cordova/media/media.md
@@ -35,6 +35,17 @@ Parameters
 - __mediaError__: (Optional) The callback that is invoked if there was an error. _(Function)_
 - __mediaStatus__: (Optional) The callback that is invoked to indicate status changes. _(Function)_
 
+Constants
+---------
+
+The following constants are reported as the only parameter to the __mediaStatus__ callback
function.
+
+- `Media.MEDIA_NONE`     = 0;
+- `Media.MEDIA_STARTING` = 1;
+- `Media.MEDIA_RUNNING`  = 2;
+- `Media.MEDIA_PAUSED`   = 3;
+- `Media.MEDIA_STOPPED`  = 4;
+
 Methods
 -------
 


Mime
View raw message