summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchanghyun1.lee <changhyun1.lee@samsung.com>2014-05-31 06:23:05 (GMT)
committerchanghyun1.lee <changhyun1.lee@samsung.com>2014-05-31 06:23:05 (GMT)
commit2c756f1b6d51969fb7c411f09aeffecd6240cc2e (patch)
tree8c5cfd064d8aa043eb9a381e3aa5a7939e7f517f
parent5e36064d6dc75f81e27cdc7097c63699d020c9ba (diff)
downloadweb-ide-resources-tizen.zip
web-ide-resources-tizen.tar.gz
web-ide-resources-tizen.tar.bz2
EDITOR: Updated tizen.widlprocxmltizenrefs/changes/93/22293/1
Change-Id: I89551f95baf685701b85157a8e34efea84389634 Signed-off-by: changhyun1.lee <changhyun1.lee@samsung.com>
-rwxr-xr-xwidlprocxmls/tizen.widlprocxml1430
-rw-r--r--widlprocxmls/w3c.widl62
2 files changed, 1430 insertions, 62 deletions
diff --git a/widlprocxmls/tizen.widlprocxml b/widlprocxmls/tizen.widlprocxml
index 500f25b..8c54601 100755
--- a/widlprocxmls/tizen.widlprocxml
+++ b/widlprocxmls/tizen.widlprocxml
@@ -51710,4 +51710,1434 @@ UnknownError - If any error occurs while deleting the cookies. </li
</Operation>
</Interface>
</Module>
+ <Module name="Camera" id="::Camera">
+ <webidl>module Camera {&#13;
+&#13;
+ [NoInterfaceObject] interface NavigatorTizenCamera {&#13;
+&#13;
+ readonly attribute <ref>TizenCamera</ref> tizCamera;&#13;
+ };&#13;
+ <ref>Navigator</ref> implements <ref>NavigatorTizenCamera</ref>;&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface TizenCamera {&#13;
+&#13;
+ void createCameraControl(<ref>MediaStream</ref> stream, <ref>CreateCameraSuccessCallback</ref> successCallback, <ref>CameraErrorCallback</ref> errorCallback);&#13;
+ };&#13;
+&#13;
+&#13;
+ callback interface CreateCameraSuccessCallback {&#13;
+&#13;
+ void handleEvent(<ref>CameraControl</ref> cameraControl);&#13;
+ };&#13;
+&#13;
+&#13;
+ callback interface CameraErrorCallback {&#13;
+&#13;
+ void handleEvent(<ref>CameraError</ref> error);&#13;
+ };&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface CameraControl {&#13;
+&#13;
+ readonly attribute <ref>CameraCapabilities</ref> capabilities;&#13;
+&#13;
+ readonly attribute <ref>CameraMediaRecorder</ref> recorder;&#13;
+&#13;
+ readonly attribute <ref>CameraImageCapture</ref> image;&#13;
+&#13;
+&#13;
+ void applySettings(<ref>CameraControlSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);&#13;
+&#13;
+ boolean autoFocus();&#13;
+&#13;
+ void release();&#13;
+ };&#13;
+&#13;
+&#13;
+ dictionary CameraControlSettings {&#13;
+&#13;
+ <ref>CameraArea</ref> focusArea;&#13;
+ };&#13;
+&#13;
+&#13;
+ callback interface CameraSuccessCallback {&#13;
+&#13;
+ void handleEvent();&#13;
+ };&#13;
+&#13;
+&#13;
+ callback interface CameraSettingErrorCallback {&#13;
+&#13;
+ void handleEvent(<ref>CameraSettingErrors</ref> errors);&#13;
+ };&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface CameraMediaRecorder {&#13;
+&#13;
+ attribute <ref>EventHandler</ref> onrecordingstatechange;&#13;
+&#13;
+&#13;
+ void applySettings(<ref>CameraRecorderSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);&#13;
+&#13;
+&#13;
+ void start(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);&#13;
+&#13;
+&#13;
+ void stop(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);&#13;
+ };&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface CameraImageCapture {&#13;
+&#13;
+ attribute <ref>EventHandler</ref> onshutter;&#13;
+&#13;
+ void applySettings(<ref>CameraPictureSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);&#13;
+&#13;
+ void takePicture(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);&#13;
+ };&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface CameraCapabilities {&#13;
+&#13;
+ readonly attribute <ref>CameraSize</ref>[] pictureSizes;&#13;
+&#13;
+ readonly attribute DOMString[] pictureFormats;&#13;
+&#13;
+ readonly attribute DOMString[] recordingFormats;&#13;
+ };&#13;
+&#13;
+&#13;
+ dictionary CameraSize {&#13;
+&#13;
+ long width;&#13;
+&#13;
+ long height;&#13;
+ };&#13;
+&#13;
+&#13;
+ dictionary CameraArea {&#13;
+&#13;
+ long top;&#13;
+&#13;
+ long left;&#13;
+&#13;
+ long bottom;&#13;
+&#13;
+ long right;&#13;
+ };&#13;
+&#13;
+&#13;
+ dictionary CameraPictureSettings {&#13;
+&#13;
+ <ref>CameraSize</ref> pictureSize;&#13;
+&#13;
+ DOMString pictureFormat;&#13;
+&#13;
+ DOMString fileName;&#13;
+ };&#13;
+&#13;
+&#13;
+ dictionary CameraRecorderSettings {&#13;
+&#13;
+&#13;
+ long maxFileSizeBytes;&#13;
+&#13;
+ DOMString recordingFormat;&#13;
+&#13;
+ DOMString fileName;&#13;
+ };&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface CameraError {&#13;
+&#13;
+ readonly attribute unsigned short code;&#13;
+&#13;
+ const unsigned short CREATION_FAILED = 0;&#13;
+&#13;
+ const unsigned short PERMISSION_DENIED = 1;&#13;
+&#13;
+ const unsigned short NO_CAMERA = 2;&#13;
+&#13;
+ const unsigned short PIPELINE_ERR = 3;&#13;
+&#13;
+ const unsigned short FILE_WRITE_ERR = 4;&#13;
+ };&#13;
+&#13;
+&#13;
+ [NoInterfaceObject] interface CameraSettingErrors {&#13;
+&#13;
+ readonly attribute unsigned short[] codes;&#13;
+&#13;
+ const unsigned short FOCUS_AREA_ERR = 0;&#13;
+&#13;
+ const unsigned short PICTURE_SIZE_ERR = 1;&#13;
+&#13;
+ const unsigned short PICTURE_FORMAT_ERR = 2;&#13;
+&#13;
+ const unsigned short RECORDING_FORMAT_ERR = 3;&#13;
+&#13;
+ const unsigned short FILENAME_ERR = 4;&#13;
+&#13;
+ const unsigned short MAX_FILE_SIZE_BYTES_ERR = 5;&#13;
+ };&#13;
+};</webidl>
+ <descriptive>
+ <brief>
+ This API module provides interfaces for configuring camera options, recording video/audio, and capturing images.
+The API is designed to work together with <em>navigator.getUserMedia()</em> API to access media stream object
+and with <em>video</em> element to provide camera preview.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ <def-api-feature identifier="http://tizen.org/feature/media.audio_recording">
+ <descriptive>
+ <description>
+ <p>
+To guarantee the running of this application on a device with audio recording, define the following requirements in the config file:
+ </p>
+ </description>
+ </descriptive>
+ </def-api-feature>
+ <def-api-feature identifier="http://tizen.org/feature/media.image_capture">
+ <descriptive>
+ <description>
+ <p>
+To guarantee the running of this application on a device with image capture, define the following requirements in the config file:
+ </p>
+ </description>
+ </descriptive>
+ </def-api-feature>
+ <def-api-feature identifier="http://tizen.org/feature/media.video_recording">
+ <descriptive>
+ <description>
+ <p>
+To guarantee the running of this application on a device with video recording, define the following requirements in the config file:
+ </p>
+ </description>
+ </descriptive>
+ </def-api-feature>
+ </descriptive>
+ <Interface name="NavigatorTizenCamera" id="::Camera::NavigatorTizenCamera">
+ <webidl> [NoInterfaceObject] interface NavigatorTizenCamera {&#13;
+&#13;
+ readonly attribute <ref>TizenCamera</ref> tizCamera;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines a global object (under <em>navigator</em>) that exposes a single interface for creating a
+<em>CameraControl</em> object.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="tizCamera" id="::Camera::NavigatorTizenCamera::tizCamera">
+ <webidl> readonly attribute <ref>TizenCamera</ref> tizCamera;</webidl>
+ <descriptive>
+ <brief>
+ An attribute to store tizen camera object.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="TizenCamera"/>
+ </Attribute>
+ </Interface>
+ <Implements name1="Navigator" name2="NavigatorTizenCamera">
+ <webidl> <ref>Navigator</ref> implements <ref>NavigatorTizenCamera</ref>;</webidl>
+ </Implements>
+ <Interface name="TizenCamera" id="::Camera::TizenCamera">
+ <webidl> [NoInterfaceObject] interface TizenCamera {&#13;
+&#13;
+ void createCameraControl(<ref>MediaStream</ref> stream, <ref>CreateCameraSuccessCallback</ref> successCallback, <ref>CameraErrorCallback</ref> errorCallback);&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines a factory method to create <em>CameraControl</em> object given the <em>MediaStream</em> object as input.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="createCameraControl" id="::Camera::TizenCamera::createCameraControl">
+ <webidl> void createCameraControl(<ref>MediaStream</ref> stream, <ref>CreateCameraSuccessCallback</ref> successCallback, <ref>CameraErrorCallback</ref> errorCallback);</webidl>
+ <descriptive>
+ <brief>
+ Asynchronously create CameraControl object using input stream.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ <privilegelevel>
+ public
+ </privilegelevel>
+ <privilege>
+ http://tizen.org/privilege/camera
+ </privilege>
+ <privilege>
+ http://tizen.org/privilege/audiorecorder
+ </privilege>
+ <remark>
+ For video recording and image capture, use <em>http://tizen.org/privilege/camera</em> privilege.
+For audio recording, use <em>http://tizen.org/privilege/audiorecorder</em> privilege.
+ </remark>
+ <Code> navigator.webkitGetUserMedia({video:true,audio:true}, gotStream, noStream);
+
+ // For audio recording, use the API as following:
+ // navigator.webkitGetUserMedia({video:false,audio:true}, gotStream, noStream);
+
+ function gotStream(stream) {
+ navigator.tizCamera.createCameraControl(stream, gotCamera, noCamera);
+ }
+
+ function noStream() {
+ }
+
+ function gotCamera(cam) {//CameraControl
+ camera = cam;
+ }
+
+ function noCamera() {
+ }
+ </Code>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="stream">
+ <descriptive>
+ <description><p>
+ Stream object obtained from getUserMedia. &quot;audio&quot; of MediaStreamOptions dictionary is supported
+ </p></description>
+ </descriptive>
+ <Type name="MediaStream"/>
+ </Argument>
+ <Argument name="successCallback">
+ <descriptive>
+ <description><p>
+ The method to invoke when CameraControl object is created successfully.
+ </p></description>
+ </descriptive>
+ <Type name="CreateCameraSuccessCallback"/>
+ </Argument>
+ <Argument name="errorCallback">
+ <descriptive>
+ <description><p>
+ The method to invoke when an error occurs.
+ </p></description>
+ </descriptive>
+ <Type name="CameraErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="CreateCameraSuccessCallback" callback="callback" id="::Camera::CreateCameraSuccessCallback">
+ <webidl> callback interface CreateCameraSuccessCallback {&#13;
+&#13;
+ void handleEvent(<ref>CameraControl</ref> cameraControl);&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ The success callback for TizenCamera.createCameraControl().
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Operation name="handleEvent" id="::Camera::CreateCameraSuccessCallback::handleEvent">
+ <webidl> void handleEvent(<ref>CameraControl</ref> cameraControl);</webidl>
+ <descriptive>
+ <brief>
+ Called on successful creation of Camera Control object.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="cameraControl">
+ <descriptive>
+ <description><p>
+ Created camera control.
+ </p></description>
+ </descriptive>
+ <Type name="CameraControl"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="CameraErrorCallback" callback="callback" id="::Camera::CameraErrorCallback">
+ <webidl> callback interface CameraErrorCallback {&#13;
+&#13;
+ void handleEvent(<ref>CameraError</ref> error);&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ The error callback for any camera error.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Operation name="handleEvent" id="::Camera::CameraErrorCallback::handleEvent">
+ <webidl> void handleEvent(<ref>CameraError</ref> error);</webidl>
+ <descriptive>
+ <brief>
+ Called upon Camera API call errors.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="error">
+ <descriptive>
+ <description><p>
+ Error that occurred.
+ </p></description>
+ </descriptive>
+ <Type name="CameraError"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="CameraControl" id="::Camera::CameraControl">
+ <webidl> [NoInterfaceObject] interface CameraControl {&#13;
+&#13;
+ readonly attribute <ref>CameraCapabilities</ref> capabilities;&#13;
+&#13;
+ readonly attribute <ref>CameraMediaRecorder</ref> recorder;&#13;
+&#13;
+ readonly attribute <ref>CameraImageCapture</ref> image;&#13;
+&#13;
+&#13;
+ void applySettings(<ref>CameraControlSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);&#13;
+&#13;
+ boolean autoFocus();&#13;
+&#13;
+ void release();&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines attributes and methods to configure camera options, record audio/video, and capture image.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="capabilities" id="::Camera::CameraControl::capabilities">
+ <webidl> readonly attribute <ref>CameraCapabilities</ref> capabilities;</webidl>
+ <descriptive>
+ <brief>
+ Represents a collection of camera capabilities that camera device provides.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="CameraCapabilities"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="recorder" id="::Camera::CameraControl::recorder">
+ <webidl> readonly attribute <ref>CameraMediaRecorder</ref> recorder;</webidl>
+ <descriptive>
+ <brief>
+ Represents an object defines media recording related methods.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="CameraMediaRecorder"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="image" id="::Camera::CameraControl::image">
+ <webidl> readonly attribute <ref>CameraImageCapture</ref> image;</webidl>
+ <descriptive>
+ <brief>
+ Represents an object defines image capture related methods.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="CameraImageCapture"/>
+ </Attribute>
+ <Operation name="applySettings" id="::Camera::CameraControl::applySettings">
+ <webidl> void applySettings(<ref>CameraControlSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);</webidl>
+ <descriptive>
+ <brief>
+ Method to apply new settings to CameraControl object.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="settings">
+ <descriptive>
+ <description><p>
+ Settings for camera.
+ </p></description>
+ </descriptive>
+ <Type name="CameraControlSettings"/>
+ </Argument>
+ <Argument name="onsuccess">
+ <descriptive>
+ <description><p>
+ The method to invoke when a new setting is applied successfully.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSuccessCallback"/>
+ </Argument>
+ <Argument name="onerror">
+ <descriptive>
+ <description><p>
+ The method to invoke when setting related error occurs.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSettingErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="autoFocus" id="::Camera::CameraControl::autoFocus">
+ <webidl> boolean autoFocus();</webidl>
+ <descriptive>
+ <brief>
+ Method responsible for autofocus.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="boolean"/>
+ <ArgumentList/>
+ </Operation>
+ <Operation name="release" id="::Camera::CameraControl::release">
+ <webidl> void release();</webidl>
+ <descriptive>
+ <brief>
+ Method to release the camera resource when an application exits the use of camera.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList/>
+ </Operation>
+ </Interface>
+ <Dictionary name="CameraControlSettings" id="::Camera::CameraControlSettings">
+ <webidl> dictionary CameraControlSettings {&#13;
+&#13;
+ <ref>CameraArea</ref> focusArea;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ The CameraControlSettings object is used as setting parameter in applySettings method.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <DictionaryMember name="focusArea" id="::Camera::CameraControlSettings::focusArea">
+ <webidl> <ref>CameraArea</ref> focusArea;</webidl>
+ <descriptive>
+ <brief>
+ Specifies focus area bounds.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="CameraArea"/>
+ </DictionaryMember>
+ </Dictionary>
+ <Interface name="CameraSuccessCallback" callback="callback" id="::Camera::CameraSuccessCallback">
+ <webidl> callback interface CameraSuccessCallback {&#13;
+&#13;
+ void handleEvent();&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Success callback interface for camera methods.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Operation name="handleEvent" id="::Camera::CameraSuccessCallback::handleEvent">
+ <webidl> void handleEvent();</webidl>
+ <descriptive>
+ <brief>
+ Called on success.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList/>
+ </Operation>
+ </Interface>
+ <Interface name="CameraSettingErrorCallback" callback="callback" id="::Camera::CameraSettingErrorCallback">
+ <webidl> callback interface CameraSettingErrorCallback {&#13;
+&#13;
+ void handleEvent(<ref>CameraSettingErrors</ref> errors);&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Error callback interface for <em>applySettings</em> method.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Operation name="handleEvent" id="::Camera::CameraSettingErrorCallback::handleEvent">
+ <webidl> void handleEvent(<ref>CameraSettingErrors</ref> errors);</webidl>
+ <descriptive>
+ <brief>
+ Called on error.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="errors">
+ <descriptive>
+ <description><p>
+ Containing error codes.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSettingErrors"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="CameraMediaRecorder" id="::Camera::CameraMediaRecorder">
+ <webidl> [NoInterfaceObject] interface CameraMediaRecorder {&#13;
+&#13;
+ attribute <ref>EventHandler</ref> onrecordingstatechange;&#13;
+&#13;
+&#13;
+ void applySettings(<ref>CameraRecorderSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);&#13;
+&#13;
+&#13;
+ void start(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);&#13;
+&#13;
+&#13;
+ void stop(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines media recording related methods.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute name="onrecordingstatechange" id="::Camera::CameraMediaRecorder::onrecordingstatechange">
+ <webidl> attribute <ref>EventHandler</ref> onrecordingstatechange;</webidl>
+ <descriptive>
+ <brief>
+ Recording state change event handler.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Operation name="applySettings" id="::Camera::CameraMediaRecorder::applySettings">
+ <webidl> void applySettings(<ref>CameraRecorderSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);</webidl>
+ <descriptive>
+ <brief>
+ Set new settings for camera recording.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="settings">
+ <descriptive>
+ <description><p>
+ New settings for camera recording.
+ </p></description>
+ </descriptive>
+ <Type name="CameraRecorderSettings"/>
+ </Argument>
+ <Argument name="onsuccess">
+ <descriptive>
+ <description><p>
+ The method to invoke when new settings is applied successfully.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSuccessCallback"/>
+ </Argument>
+ <Argument name="onerror">
+ <descriptive>
+ <description><p>
+ The method to invoke when some error occurs.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSettingErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="start" id="::Camera::CameraMediaRecorder::start">
+ <webidl> void start(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);</webidl>
+ <descriptive>
+ <brief>
+ Start recording video using camera device.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="onsuccess">
+ <descriptive>
+ <description><p>
+ The method to invoke when recording is started successfully.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSuccessCallback"/>
+ </Argument>
+ <Argument name="onerror">
+ <descriptive>
+ <description><p>
+ The method to invoke when some error occurs.
+ </p></description>
+ </descriptive>
+ <Type name="CameraErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="stop" id="::Camera::CameraMediaRecorder::stop">
+ <webidl> void stop(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);</webidl>
+ <descriptive>
+ <brief>
+ Stop recording video using camera device.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="onsuccess">
+ <descriptive>
+ <description><p>
+ The method to invoke when recording is started successfully.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSuccessCallback"/>
+ </Argument>
+ <Argument name="onerror">
+ <descriptive>
+ <description><p>
+ The method to invoke when en error occurs.
+ </p></description>
+ </descriptive>
+ <Type name="CameraErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="CameraImageCapture" id="::Camera::CameraImageCapture">
+ <webidl> [NoInterfaceObject] interface CameraImageCapture {&#13;
+&#13;
+ attribute <ref>EventHandler</ref> onshutter;&#13;
+&#13;
+ void applySettings(<ref>CameraPictureSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);&#13;
+&#13;
+ void takePicture(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines image capture related methods.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute name="onshutter" id="::Camera::CameraImageCapture::onshutter">
+ <webidl> attribute <ref>EventHandler</ref> onshutter;</webidl>
+ <descriptive>
+ <brief>
+ Shutter event handler.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Operation name="applySettings" id="::Camera::CameraImageCapture::applySettings">
+ <webidl> void applySettings(<ref>CameraPictureSettings</ref> settings, <ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraSettingErrorCallback</ref> onerror);</webidl>
+ <descriptive>
+ <brief>
+ Set new settings for camera image capture.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="settings">
+ <descriptive>
+ <description><p>
+ New settings for photo.
+ </p></description>
+ </descriptive>
+ <Type name="CameraPictureSettings"/>
+ </Argument>
+ <Argument name="onsuccess">
+ <descriptive>
+ <description><p>
+ The method to invoke when new settings is applied successfully.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSuccessCallback"/>
+ </Argument>
+ <Argument name="onerror">
+ <descriptive>
+ <description><p>
+ The method to invoke when en error occurs.
+ </p></description>
+ </descriptive>
+ <Type name="CameraSettingErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="takePicture" id="::Camera::CameraImageCapture::takePicture">
+ <webidl> void takePicture(<ref>CameraSuccessCallback</ref> onsuccess, <ref>CameraErrorCallback</ref> onerror);</webidl>
+ <descriptive>
+ <brief>
+ Take picture using camera.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="onsuccess">
+ <Type name="CameraSuccessCallback"/>
+ </Argument>
+ <Argument name="onerror">
+ <Type name="CameraErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="CameraCapabilities" id="::Camera::CameraCapabilities">
+ <webidl> [NoInterfaceObject] interface CameraCapabilities {&#13;
+&#13;
+ readonly attribute <ref>CameraSize</ref>[] pictureSizes;&#13;
+&#13;
+ readonly attribute DOMString[] pictureFormats;&#13;
+&#13;
+ readonly attribute DOMString[] recordingFormats;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines a collection of camera capabilities that the camera device provides.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="pictureSizes" id="::Camera::CameraCapabilities::pictureSizes">
+ <webidl> readonly attribute <ref>CameraSize</ref>[] pictureSizes;</webidl>
+ <descriptive>
+ <brief>
+ Array containing available picture sizes.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ <description>
+ <p>
+For example following values might be returned :
+ </p>
+ <p>
+Device </p>
+ <ul>
+ <li>
+[320, 240] </li>
+ <li>
+[320, 320] </li>
+ <li>
+[640, 480] </li>
+ <li>
+[640, 640] </li>
+ <li>
+[1280, 720] </li>
+ <li>
+[1280, 960] </li>
+ </ul>
+ <p>
+Emulator </p>
+ <ul>
+ <li>
+[320, 240] </li>
+ <li>
+[640, 480] </li>
+ </ul>
+ </description>
+ </descriptive>
+ <Type type="array">
+ <Type name="CameraSize"/>
+ </Type>
+ </Attribute>
+ <Attribute readonly="readonly" name="pictureFormats" id="::Camera::CameraCapabilities::pictureFormats">
+ <webidl> readonly attribute DOMString[] pictureFormats;</webidl>
+ <descriptive>
+ <brief>
+ Array containing avaliable picture formats.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ <description>
+ <p>
+The following formats must be supported:
+ </p>
+ <ul>
+ <li>
+&quot;jpeg&quot; </li>
+ <li>
+&quot;png&quot; </li>
+ </ul>
+ </description>
+ </descriptive>
+ <Type type="array">
+ <Type type="DOMString"/>
+ </Type>
+ </Attribute>
+ <Attribute readonly="readonly" name="recordingFormats" id="::Camera::CameraCapabilities::recordingFormats">
+ <webidl> readonly attribute DOMString[] recordingFormats;</webidl>
+ <descriptive>
+ <brief>
+ Array containing avaliable picture formats.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ <description>
+ <p>
+For example following values might be returned :
+ </p>
+ <ul>
+ <li>
+&quot;3gp&quot; </li>
+ <li>
+&quot;amr&quot; </li>
+ </ul>
+ </description>
+ </descriptive>
+ <Type type="array">
+ <Type type="DOMString"/>
+ </Type>
+ </Attribute>
+ </Interface>
+ <Dictionary name="CameraSize" id="::Camera::CameraSize">
+ <webidl> dictionary CameraSize {&#13;
+&#13;
+ long width;&#13;
+&#13;
+ long height;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Camera size dictionary.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <DictionaryMember name="width" id="::Camera::CameraSize::width">
+ <webidl> long width;</webidl>
+ <descriptive>
+ <brief>
+ Width of photo/video.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ <DictionaryMember name="height" id="::Camera::CameraSize::height">
+ <webidl> long height;</webidl>
+ <descriptive>
+ <brief>
+ Height of photo/video.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ </Dictionary>
+ <Dictionary name="CameraArea" id="::Camera::CameraArea">
+ <webidl> dictionary CameraArea {&#13;
+&#13;
+ long top;&#13;
+&#13;
+ long left;&#13;
+&#13;
+ long bottom;&#13;
+&#13;
+ long right;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Camera area is used to choose specific metric and focus area for the camera, and it contains position of bounds of the area.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <DictionaryMember name="top" id="::Camera::CameraArea::top">
+ <webidl> long top;</webidl>
+ <descriptive>
+ <brief>
+ Top position of selected area.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ <DictionaryMember name="left" id="::Camera::CameraArea::left">
+ <webidl> long left;</webidl>
+ <descriptive>
+ <brief>
+ Left position of selected area.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ <DictionaryMember name="bottom" id="::Camera::CameraArea::bottom">
+ <webidl> long bottom;</webidl>
+ <descriptive>
+ <brief>
+ Bottom position of selected area.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ <DictionaryMember name="right" id="::Camera::CameraArea::right">
+ <webidl> long right;</webidl>
+ <descriptive>
+ <brief>
+ Right position of selected area.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ </Dictionary>
+ <Dictionary name="CameraPictureSettings" id="::Camera::CameraPictureSettings">
+ <webidl> dictionary CameraPictureSettings {&#13;
+&#13;
+ <ref>CameraSize</ref> pictureSize;&#13;
+&#13;
+ DOMString pictureFormat;&#13;
+&#13;
+ DOMString fileName;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Camera picture settings is used to set the size, the format, and the file name of pictures.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <DictionaryMember name="pictureSize" id="::Camera::CameraPictureSettings::pictureSize">
+ <webidl> <ref>CameraSize</ref> pictureSize;</webidl>
+ <descriptive>
+ <brief>
+ Contains size of picture. Only sizes in CameraCapabilities are allowed.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type name="CameraSize"/>
+ </DictionaryMember>
+ <DictionaryMember name="pictureFormat" id="::Camera::CameraPictureSettings::pictureFormat">
+ <webidl> DOMString pictureFormat;</webidl>
+ <descriptive>
+ <brief>
+ Pciture format. Avaliable formats described in CameraCapabilities.pictureFormats.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="DOMString"/>
+ </DictionaryMember>
+ <DictionaryMember name="fileName" id="::Camera::CameraPictureSettings::fileName">
+ <webidl> DOMString fileName;</webidl>
+ <descriptive>
+ <brief>
+ File name (without directory) of the picture taken. Files are stored in &quot;/opt/usr/media/Images&quot;.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="DOMString"/>
+ </DictionaryMember>
+ </Dictionary>
+ <Dictionary name="CameraRecorderSettings" id="::Camera::CameraRecorderSettings">
+ <webidl> dictionary CameraRecorderSettings {&#13;
+&#13;
+&#13;
+ long maxFileSizeBytes;&#13;
+&#13;
+ DOMString recordingFormat;&#13;
+&#13;
+ DOMString fileName;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Camera recorder settings is used to set the maximum file size, the recording format, and the file name of recording video.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <DictionaryMember name="maxFileSizeBytes" id="::Camera::CameraRecorderSettings::maxFileSizeBytes">
+ <webidl> long maxFileSizeBytes;</webidl>
+ <descriptive>
+ <brief>
+ Max size of file in bytes. Maximum file size is 10MB (10485760 bytes).
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="long"/>
+ </DictionaryMember>
+ <DictionaryMember name="recordingFormat" id="::Camera::CameraRecorderSettings::recordingFormat">
+ <webidl> DOMString recordingFormat;</webidl>
+ <descriptive>
+ <brief>
+ Format of recording video. Avaliable formats are listed in CameraCapabilities.recordingFormats.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="DOMString"/>
+ </DictionaryMember>
+ <DictionaryMember name="fileName" id="::Camera::CameraRecorderSettings::fileName">
+ <webidl> DOMString fileName;</webidl>
+ <descriptive>
+ <brief>
+ File name (without directory) of the recorded video. Files are stored in &quot;/opt/usr/media/Videos&quot;.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="DOMString"/>
+ </DictionaryMember>
+ </Dictionary>
+ <Interface name="CameraError" id="::Camera::CameraError">
+ <webidl> [NoInterfaceObject] interface CameraError {&#13;
+&#13;
+ readonly attribute unsigned short code;&#13;
+&#13;
+ const unsigned short CREATION_FAILED = 0;&#13;
+&#13;
+ const unsigned short PERMISSION_DENIED = 1;&#13;
+&#13;
+ const unsigned short NO_CAMERA = 2;&#13;
+&#13;
+ const unsigned short PIPELINE_ERR = 3;&#13;
+&#13;
+ const unsigned short FILE_WRITE_ERR = 4;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ This interface defines attributes of object passed as error to CameraErrorCallback.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="code" id="::Camera::CameraError::code">
+ <webidl> readonly attribute unsigned short code;</webidl>
+ <descriptive>
+ <brief>
+ Error code.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Attribute>
+ <Const name="CREATION_FAILED" value="0" id="::Camera::CameraError::CREATION_FAILED">
+ <webidl> const unsigned short CREATION_FAILED = 0;</webidl>
+ <descriptive>
+ <brief>
+ Code for error occurred during object creation.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="PERMISSION_DENIED" value="1" id="::Camera::CameraError::PERMISSION_DENIED">
+ <webidl> const unsigned short PERMISSION_DENIED = 1;</webidl>
+ <descriptive>
+ <brief>
+ Code for error occurred on permission denied exception.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="NO_CAMERA" value="2" id="::Camera::CameraError::NO_CAMERA">
+ <webidl> const unsigned short NO_CAMERA = 2;</webidl>
+ <descriptive>
+ <brief>
+ Code for error occurred when device has no avaliable camera.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="PIPELINE_ERR" value="3" id="::Camera::CameraError::PIPELINE_ERR">
+ <webidl> const unsigned short PIPELINE_ERR = 3;</webidl>
+ <descriptive>
+ <brief>
+ Code for error occurred on pipeline error.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="FILE_WRITE_ERR" value="4" id="::Camera::CameraError::FILE_WRITE_ERR">
+ <webidl> const unsigned short FILE_WRITE_ERR = 4;</webidl>
+ <descriptive>
+ <brief>
+ Code for error occurred during write to file.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ </Interface>
+ <Interface name="CameraSettingErrors" id="::Camera::CameraSettingErrors">
+ <webidl> [NoInterfaceObject] interface CameraSettingErrors {&#13;
+&#13;
+ readonly attribute unsigned short[] codes;&#13;
+&#13;
+ const unsigned short FOCUS_AREA_ERR = 0;&#13;
+&#13;
+ const unsigned short PICTURE_SIZE_ERR = 1;&#13;
+&#13;
+ const unsigned short PICTURE_FORMAT_ERR = 2;&#13;
+&#13;
+ const unsigned short RECORDING_FORMAT_ERR = 3;&#13;
+&#13;
+ const unsigned short FILENAME_ERR = 4;&#13;
+&#13;
+ const unsigned short MAX_FILE_SIZE_BYTES_ERR = 5;&#13;
+ };</webidl>
+ <descriptive>
+ <brief>
+ Error This interface defines attributes of object passed as error to CameraSettingErrorCallback.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="codes" id="::Camera::CameraSettingErrors::codes">
+ <webidl> readonly attribute unsigned short[] codes;</webidl>
+ <descriptive>
+ <brief>
+ Error code.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="array">
+ <Type type="unsigned short"/>
+ </Type>
+ </Attribute>
+ <Const name="FOCUS_AREA_ERR" value="0" id="::Camera::CameraSettingErrors::FOCUS_AREA_ERR">
+ <webidl> const unsigned short FOCUS_AREA_ERR = 0;</webidl>
+ <descriptive>
+ <brief>
+ Code for invalid focus area.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="PICTURE_SIZE_ERR" value="1" id="::Camera::CameraSettingErrors::PICTURE_SIZE_ERR">
+ <webidl> const unsigned short PICTURE_SIZE_ERR = 1;</webidl>
+ <descriptive>
+ <brief>
+ Code for invalid picture size.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="PICTURE_FORMAT_ERR" value="2" id="::Camera::CameraSettingErrors::PICTURE_FORMAT_ERR">
+ <webidl> const unsigned short PICTURE_FORMAT_ERR = 2;</webidl>
+ <descriptive>
+ <brief>
+ Code for invalid picture format.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="RECORDING_FORMAT_ERR" value="3" id="::Camera::CameraSettingErrors::RECORDING_FORMAT_ERR">
+ <webidl> const unsigned short RECORDING_FORMAT_ERR = 3;</webidl>
+ <descriptive>
+ <brief>
+ Code for invalid recording format.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="FILENAME_ERR" value="4" id="::Camera::CameraSettingErrors::FILENAME_ERR">
+ <webidl> const unsigned short FILENAME_ERR = 4;</webidl>
+ <descriptive>
+ <brief>
+ Code for invalid file name.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ <Const name="MAX_FILE_SIZE_BYTES_ERR" value="5" id="::Camera::CameraSettingErrors::MAX_FILE_SIZE_BYTES_ERR">
+ <webidl> const unsigned short MAX_FILE_SIZE_BYTES_ERR = 5;</webidl>
+ <descriptive>
+ <brief>
+ Code for invalid max file size.
+ </brief>
+ <version>
+ 2.3
+ </version>
+ </descriptive>
+ <Type type="unsigned short"/>
+ </Const>
+ </Interface>
+ </Module>
+ <Module name="W3C_API_Modules" id="::W3C_API_Modules">
+ <webidl>module W3C_API_Modules {
+ interface Navigator {};
+
+ interface MediaStream {};
+};</webidl>
+ <Interface name="Navigator" id="::W3C_API_Modules::Navigator">
+ <webidl> interface Navigator {};</webidl>
+ <descriptive>
+ <brief>
+ This interface is a pointer to W3C <a href="http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#navigator">navigator</a> interface.
+ </brief>
+ </descriptive>
+ </Interface>
+ <Interface name="MediaStream" id="::W3C_API_Modules::MediaStream">
+ <webidl> interface MediaStream {};</webidl>
+ <descriptive>
+ <brief>
+ This interface is a pointer to W3C <a href="http://www.w3.org/TR/mediacapture-streams/#mediastream">MediaStream</a> interface.
+ </brief>
+ </descriptive>
+ </Interface>
+ </Module>
</Definitions>
diff --git a/widlprocxmls/w3c.widl b/widlprocxmls/w3c.widl
deleted file mode 100644
index c806f99..0000000
--- a/widlprocxmls/w3c.widl
+++ /dev/null
@@ -1,62 +0,0 @@
-module W3CWidget
-{
- [NoInterfaceObject]
- interface W3CWidget {
- /**
- * \brief Author of widget.
- */
- readonly attribute DOMString author;
- /**
- * \brief Author e-mail.
- */
- readonly attribute DOMString authorEmail;
- /**
- * \brief Author web site.
- */
- readonly attribute DOMString authorHref;
- /**
- * \brief Description of widget.
- */
- readonly attribute DOMString description;
- /**
- * \brief Identifier of widget.
- */
- readonly attribute DOMString id;
- /**
- * \brief Name of widget.
- */
- readonly attribute DOMString name;
- /**
- * \brief Short name of widget.
- */
- readonly attribute DOMString shortName;
- /**
- * \brief Preferences.
- */
- readonly attribute Storage preferences;
- /**
- * \brief Version of widget.
- */
- readonly attribute DOMString version;
- /**
- * \brief Height of widget.
- */
- readonly attribute unsigned long height;
- /**
- * \brief Width of widget.
- */
- readonly attribute unsigned long width;
- };
-
- [Supplemental, NoInterfaceObject]
- interface WindowWidget {
- /**
- * \brief W3C Widget.
- *
- * The Widget Interface \<a href="http://www.w3.org/TR/widgets-apis/"\>http://www.w3.org/TR/widgets-apis/\</a\>.
- */
- readonly attribute W3CWidget widget;
- };
-
- Window implements WindowWidget;
-}; \ No newline at end of file