- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 02 Dec 2009 08:48:49 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera In directory hutz:/tmp/cvs-serv11263 Modified Files: Overview.html Log Message: s/Camera/Capture/ Index: Overview.html =================================================================== RCS file: /sources/public/2009/dap/camera/Overview.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- Overview.html 2 Dec 2009 08:45:04 -0000 1.14 +++ Overview.html 2 Dec 2009 08:48:47 -0000 1.15 @@ -158,7 +158,7 @@ <section id="capture"> <h3><a>Capture</a> interface</h3> <p>The <code>Capture</code> interface exposes an interface to the camera and microphone of the hosting device.</p> -<dl title="[NoInterfaceObject] interface Camera" class="idl"><dt>readonly attribute sequence<FormatData> supportedImageFormats +<dl title="[NoInterfaceObject] interface Capture" class="idl"><dt>readonly attribute sequence<FormatData> supportedImageFormats </dt><dd>A sequence of FormatData objects which contains image sizes and formats supported by the hosting device camera. </dd><dt>readonly attribute sequence<FormatData> supportedVideoFormats </dt><dd>A sequence of FormatData objects which contains video resolutions and formats supported by the hosting device camera. </dd><dt>readonly attribute sequence<FormatData> supportedAudioFormats </dt><dd>A sequence of FormatData objects which contains audio formats supported by the hosting device microphone. @@ -176,7 +176,7 @@ <a href="#captureerror-interface"><code>CaptureError</code></a> object as an argument. </li></ol> <p></p> -<dl class="parameters"><dt>CameraCallback callback </dt><dd>Function to call when the asynchronous operation completes </dd><dt>int limit </dt><dd>Upper limit of images user can take. MUST be integer greater than zero. </dd><dt>optional ErrorCallback errorCB </dt><dd>Function to call when the asynchronous operation fails. This parameter is OPTIONAL. +<dl class="parameters"><dt>CaptureCallback callback </dt><dd>Function to call when the asynchronous operation completes </dd><dt>int limit </dt><dd>Upper limit of images user can take. MUST be integer greater than zero. </dd><dt>optional ErrorCallback errorCB </dt><dd>Function to call when the asynchronous operation fails. This parameter is OPTIONAL. </dd></dl> </dd><dt>PendingOperation captureVideo () </dt><dd> <p>Launch device native camera application for recording video(s).</p> @@ -192,7 +192,7 @@ <a href="#captureerror-interface"><code>CaptureError</code></a> object as an argument. </li></ol> <p></p> -<dl class="parameters"><dt>CameraCallback callback </dt><dd>Function to call when the asynchronous operation completes </dd><dt>int limit </dt><dd>Upper limit of videos user can record. MUST be integer greater than zero. </dd><dt>double duration </dt><dd>Maxium duration of a single video clip in seconds. </dd><dt>optional ErrorCallback errorCB </dt><dd>Function to call when the asynchronous operation fails. This parameter is OPTIONAL. +<dl class="parameters"><dt>CaptureCallback callback </dt><dd>Function to call when the asynchronous operation completes </dd><dt>int limit </dt><dd>Upper limit of videos user can record. MUST be integer greater than zero. </dd><dt>double duration </dt><dd>Maxium duration of a single video clip in seconds. </dd><dt>optional ErrorCallback errorCB </dt><dd>Function to call when the asynchronous operation fails. This parameter is OPTIONAL. </dd></dl> </dd><dt>PendingOperation captureAudio () </dt><dd> <p>Launch device native audio recorder application for recording audio clip(s).</p> @@ -208,7 +208,7 @@ <a href="#captureerror-interface"><code>CaptureError</code></a> object as an argument. </li></ol> <p></p> -<dl class="parameters"><dt>CameraCallback callback </dt><dd>Function to call when the asynchronous operation completes </dd><dt>int limit </dt><dd>Upper limit of sound clips user can record. MUST be integer greater than zero. +<dl class="parameters"><dt>CaptureCallback callback </dt><dd>Function to call when the asynchronous operation completes </dd><dt>int limit </dt><dd>Upper limit of sound clips user can record. MUST be integer greater than zero. </dd><dt>double duration </dt><dd>Maxium duration of a single sound clip in seconds. </dd><dt>optional ErrorCallback errorCB </dt><dd>Function to call when the asynchronous operation fails. This parameter is OPTIONAL. </dd></dl> </dd></dl> @@ -249,7 +249,7 @@ <p class="note">More error codes to be defined here. </p> <p>The <a>CaptureError</a> interface encapsulates all errors in the Capture API. </p> <dl title="[NoInterfaceObject] interface CaptureError : GenericError" class="idl"> -<dt>const unsigned short CAMERA_INTERNAL_ERR = 0 </dt><dd>Camera failed to take image. </dd><dt>readonly attribute unsigned short code </dt><dd>An error code assigned by an implementation when an error has occurred in Capture API processing. +<dt>const unsigned short CAPTURE_INTERNAL_ERR = 0 </dt><dd>Camera failed to take image. </dd><dt>readonly attribute unsigned short code </dt><dd>An error code assigned by an implementation when an error has occurred in Capture API processing. </dd></dl> </section><section> id="pendingoperation"><h3><a>PendingOperation</a> interface</h3> <p class="note">This may be a general interface for use throughout all APIs. Included here for now for completion.</p>
Received on Wednesday, 2 December 2009 08:48:50 UTC