2009/dap/camera Overview.html,1.55,1.56

Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv2211

Modified Files:
	Overview.html 
Log Message:

Renamed limit to maxNumberOfMediaFiles



Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- Overview.html	24 Mar 2010 15:38:29 -0000	1.55
+++ Overview.html	24 Mar 2010 15:42:07 -0000	1.56
@@ -63,7 +63,7 @@
   alert(err.message + " (" + err.code + ")"); 
 }
  
-navigator.device.captureImage(success, error, { limit: 1 });
+navigator.device.captureImage(success, error, { maxNumberOfMediaFiles: 1 });
 
         </pre>
         </div>
@@ -176,9 +176,9 @@
       as an argument.</li>
 
       <li>If a <code>CaptureImageOptions</code> parameter was present,
-      and its <code>limit</code> attribute was defined,
+      and its <code>maxNumberOfMediaFiles</code> attribute was defined,
       <code>successCB</code> MUST be invoked after the user has
-      captured a number of images defined in <code>limit</code>.  If
+      captured a number of images defined in <code>maxNumberOfMediaFiles</code>.  If
       user exited the native camera application prematurely,
       <code>errorCB</code> must be invoked.</li> </ol>
       
@@ -226,10 +226,10 @@
       an argument.</li>
 
       <li>If a <code>CaptureVideoOptions</code> parameter was present, and
-      its <code>limit</code> attribute was defined,
+      its <code>maxNumberOfMediaFiles</code> attribute was defined,
       <code>successCB</code> MUST be invoked after the user has
       captured a number of video clips defined in
-      <code>limit</code>.  If user exited the native camera
+      <code>maxNumberOfMediaFiles</code>.  If user exited the native camera
       application prematurely, <code>errorCB</code> must be invoked.</li>
 
       <li>If a <code>CaptureVideoOptions</code> parameter was present,
@@ -283,10 +283,10 @@
       an argument.</li>
 
       <li>If a <code>CaptureAudioOptions</code> parameter was present,
-      and its <code>limit</code> attribute was defined,
+      and its <code>maxNumberOfMediaFiles</code> attribute was defined,
       <code>successCB</code> MUST be invoked after the user has
       captured a number of audio clips defined in
-      <code>limit</code>.  If user exited the native camera
+      <code>maxNumberOfMediaFiles</code>.  If user exited the native camera
       application prematurely, <code>errorCB</code> must be invoked.
       </li> 
 
@@ -406,7 +406,7 @@
     and <code>height</code>.</p>
 
     <dl title="[NoInterfaceObject] interface CaptureImageOptions" class="idl">
-      <dt>attribute unsigned long limit</dt>
+      <dt>attribute unsigned long maxNumberOfMediaFiles</dt>
       <dd>Upper limit of images user can take.</dd>
     </dl>
 
@@ -415,7 +415,7 @@
     <section id="capturevideooptions"><h3><a>CaptureVideoOptions</a> interface</h3>
 
     <dl title="[NoInterfaceObject] interface CaptureVideoOptions" class="idl">
-      <dt>attribute unsigned long limit</dt>
+      <dt>attribute unsigned long maxNumberOfMediaFiles</dt>
       <dd>Upper limit of videos user can record.</dd>
       <dt>attribute double duration</dt>
       <dd>Maximum duration of a single video clip in milliseconds.</dd>
@@ -427,7 +427,7 @@
     <p class="note">Additional attributes proposed: <code>duration</code>.</p>
 
     <dl title="[NoInterfaceObject] interface CaptureAudioOptions" class="idl">
-      <dt>attribute unsigned long limit</dt>
+      <dt>attribute unsigned long maxNumberOfMediaFiles</dt>
       <dd>Upper limit of sound clips user can record.</dd>
     </dl>
 

Received on Wednesday, 24 March 2010 15:42:11 UTC