Tizen Wearable Web W3C/HTML5 and Supplementaries API Reference
The APIs listed in this category are all part of the W3C specifications. Some of the APIs are stable while others are draft specifications. The draft APIs are subject to change as the W3C specification evolves.
The W3C APIs are categorized based on the functionality to make it easier to locate specific APIs. To learn the Tizen features provided by the W3C/HTML5 and some supplementary APIs, see Guide to W3C/HTML5 and Some Supplementary Features.
Default Web Privilege
Tizen WebApp have default privileges listed in below table. Some privileges are granted only when required version is under 2.2.1
Privilege | Required Version | Description |
---|---|---|
http://tizen.org/privilege/location | <= 2.2.1 | The application can use your location data. |
http://tizen.org/privilege/call | <= 2.2.1 | The application can make phone calls to numbers when they are tapped without further confirmation. This may result in additional charges depending on your payment plan. |
http://tizen.org/privilege/internet | <= 2.2.1 | The application can access the Internet. This may result in additional charges depending on your payment plan. |
http://tizen.org/privilege/recorder | <= 2.2.1 | The application can record audio and video. |
http://tizen.org/privilege/camera | <= 2.2.1 | The application can take pictures and turn the camera flash on and off while using Camera. |
http://tizen.org/privilege/appmanager.launch | all | The application can open other applications. |
http://tizen.org/privilege/haptic | all | The application can control vibration feedback. |
http://tizen.org/privilege/network.get | all | The application can retrieve network information such as the status of each network, its type, and detailed network profile information. |
http://tizen.org/privilege/notification | all | The application can show and hide its own notifications and badges. |
http://tizen.org/privilege/packagemanager.info | all | The application can retrieve detailed application package information. |
http://tizen.org/privilege/mediastorage | <=3.0 | The application can read and write files in media folders. (Since 4.0, http://tizen.org/privilege/mediastorage privilege needs to be added explicitly) |
http://tizen.org/privilege/externalstorage | <=3.0 | The application can read and write files that are saved to external storage, such as SD cards. (Since 4.0, http://tizen.org/privilege/externalstorage privilege needs to be added explicitly) |
http://tizen.org/privilege/display | all | The application can manage display settings, such as brightness. This may increase battery consumption. |
DOM, Forms and Styles
Specification | Description | Status * |
---|---|---|
HTML5 Forms (Partial) | HTML5 form features. The method and attribute currently not supported is:
|
CR |
Selectors API Level 1 | API for retrieving Element nodes from the DOM by matching against a group of selectors | REC |
Selectors API Level 2 (Partial) | API for retrieving Element nodes from the DOM by matching against a group of selectors, and for testing if a given element matches a particular selector. The methods currently not supported are:
|
Note |
Media Queries | Offers a mechanism that allows adapting the layout and behavior of a Web page based on some of the characteristics of the device, including the screen width/height. | REC |
CSS Transforms | CSS transforms allows elements styled with CSS to be transformed in two-dimensional or three-dimensional space. | WD |
CSS Animations Module Level 3 | CSS Animations allow an author to modify CSS property values over time. | WD |
CSS Transitions Module Level 3 | CSS Transitions allow property changes in CSS values to occur smoothly over a specified duration. | WD |
CSS Color Module Level 3 | CSS3 color enhancements related to color values and properties for foreground color and group opacity | REC |
CSS Backgrounds and Borders Module Level 3 | Rounded corners, complex background images, shadow effects. | LCWD |
CSS Flexible Box Layout Module | CSS box model optimized for user interface design. | LCWD |
CSS Text Module Level 3 (Partial) | CSS properties for text manipulation and specifies their processing model. The property and property values currently not supported are:
|
LCWD |
CSS Basic User Interface Module Level 3 (CSS3 UI) | User interface related CSS enhancements. | WD |
CSS Fonts Module Level 3 (Partial) | @font-face rule with downloadable font src URL. The properties and property values currently not supported are:
|
CR |
WOFF File Format 1.0 | Web Open Font Format: File Format 1.0. | REC |
DOM/JavaScript related HTML5 Enhancements | Handy DOM/JavaScript related enhancements in HTML5. | CR |
HTML5 The session history of browsing contexts (Partial) | Navigating the sequence of documents in a browsing context. The dictionaries currently not supported are:
|
CR |
Device
Specification | Description | Status * |
---|---|---|
Touch Events version 1 | W3C touch event specification for touch devices. | REC |
DeviceOrientation Event Specification (Partial) | Provides access to orientation and acceleration data. The event currently not supported is:
|
WD |
Battery Status API | W3C Battery API defines new DOM event types that provide information about the battery status of the hosting device. | CR |
Vibration API | Haptic feedback API from W3C. | LCWD |
Graphics
Specification | Description | Status * |
---|---|---|
HTML5 The canvas element (Partial) |
HTML5 canvas element including 2D context and text. The method currently not supported is:
|
CR |
HTML Canvas 2D Context (Partial) | 2D Context for the HTML canvas element. The methods currently not supported are:
|
CR |
HTML5 SVG (Partial) | Inline SVG (1.1) support in HTML5. The attributes and methods currently not supported are:
|
CR |
Media
Specification | Description | Status * |
---|---|---|
HTML5 The video element (Partial) |
HTML5 video element. The attributes currently not supported are:
|
CR |
HTML5 The audio element (Partial) |
HTML5 audio element. The attributes currently not supported are:
|
CR |
getUserMedia
|
API that directly manipulates streams from cameras and microphones.
|
ED |
Web Speech (Partial) | W3C Web Speech API defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages. The attributes and events currently not supported are:
SpeechSynthesis
Speech Recognition
|
Note |
Communication
Specification | Description | Status * |
---|---|---|
The WebSocket API | Offers bi-directional network connectivity.
|
CR |
XMLHttpRequest Level 1 | Enhancements on XHR, including binary file uploading, formdata submission, transfer progress, etc.
|
WD |
HTML5 Web Messaging | HTML5 Web Messaging. The postMessage API allows for Web Applications to communicate between each other. | CR |
Storage
Specification | Description | Status * |
---|---|---|
Web Storage | W3C storage specification including session and local storage. | WD |
File API | Reads files from local device file system. | WD |
Indexed Database API | A database of values and hierarchical objects that integrates naturally with JavaScript, and can be queried and updated very efficiently. The attributes and method currently not supported are:
|
LCWD |
Security
Specification | Description | Status * |
---|---|---|
Cross-Origin Resource Sharing | Sharing of resources across different domains.
|
REC |
HTML5 The iframe element |
Access restriction (sandboxing) for iframe content. The available values of sandbox attribute are:
|
CR |
Content Security Policy 1.0 | Defines a policy language used to declare a set of content restrictions for a web resource, and a mechanism for transmitting the policy from a server to a client where the policy is enforced. The directive currently not supported is:
|
CR |
Performance and Optimization
Specification | Description | Status * |
---|---|---|
Web Workers (Partial) | API that allows Web application authors to spawn background workers running scripts in parallel to their main page. The event handlers, interfaces and attributes currently not supported are:
|
CR |
Page Visibility | This specification defines a means for developers to programmatically determine the current visibility state of the page in order to develop power and CPU efficient Web applications. | REC |
Timing control for script-based animations | Resource effective animation timing control by user agent. | CR |
Location
Specification | Description | Status * |
---|---|---|
Geolocation API Specification | Provides scripted access to geographical location information associated with the hosting device.
|
REC |
Widget
Specification | Description | Status * |
---|---|---|
Widget Packaging and XML Configuration | A packaging format and metadata for a class of software known as widgets.
|
REC |
Widget Interface | API for widgets that provides, amongst other things, functionality for accessing a widget's metadata and persistently storing data. | LCWD |
XML Digital Signatures for Widgets | A profile of the XML Signature Syntax and Processing 1.1 specification to allow a widget package to be digitally signed. | PR |
Supplementary
Specification | Description |
---|---|
Camera API (Tizen Extension) | Provides interfaces for configuring camera options, recording video/audio, and capturing images.
|
Typed Array - Khronos | Provides an API for interoperability with native binary data. |
WebGL - Khronos (Partial) | This specification describes an additional rendering context and support objects for the HTML 5 canvas element. This context allows rendering using an API that conforms closely to the OpenGL ES 2.0 API. The method and attribute currently not supported are:
|
viewport Meta Tag - Apple |
Allows Web developers control the viewport's size and scale. For more details:
|
* W3C Specification Status
- ED = Editor’s Draft
- WD = Working Draft
- LCWD = Last Call Working Draft
- CR = Candidate Recommendation
- PR = Proposed Recommendation
- REC = Recommendation