分享

Tizen Web Device API Reference

 gearss 2016-05-20

The Tizen Web Device API, based on JavaScript, provides you advanced access to the device's platform capabilities.

You can develop rich Web applications using the Tizen Web Device APIs. You can, for example, control the application life-cycle, manage your schedules, exchange data, or make payments using NFC.

The APIs listed in this category are created by the Tizen platform to expose device capabilities to Web Applications.

Base

API Description Version (Since) Mobile Supported on
Mobile Emulator
Archive This API provides interfaces and methods to create an archive file as well as various other kinds of manipulation (e.g. extract files, add a file to an archive file). 2.3 Mandatory Yes
Filesystem This API provides access to the file system of a device. This API might be obsolete in the future when W3C File APIs are extended to access system-sensitive files by Web applications. 1.0 Mandatory Yes
Tizen The base object for accessing the Tizen Web Device API. 1.0 Mandatory Yes

Account

API Description Version (Since) Mobile Supported on
Mobile Emulator
Account This API provides interfaces and methods for managing accounts (e.g. create an account, change the account information). 2.3 Mandatory Yes

Application Framework

API Description Version (Since) Mobile Supported on
Mobile Emulator
Alarm This API provides functionality for setting and unsetting alarms. 1.0 Mandatory Yes
Application This API provides information about running and installed applications and controls them. 1.0 Mandatory Yes
Badge This API provides a way to display the count of notifications (badge) on home screen. 2.3 Mandatory Yes
Data Control This API provides interfaces and methods for accessing specific data exported by other applications. 2.1 Mandatory Yes
Input Device This API provides interfaces and methods to manage input keys in application. 2.4 Optional No
Message Port This API provides the functionality for communication with other applications. 2.1 Mandatory Yes
Notification This API provides a way to notify the user of events that happen in the application. 2.0 Mandatory Yes
Package This API provides information install/uninstall package and get information about installed packages. 2.1 Mandatory Yes

Content

API Description Version (Since) Mobile Supported on
Mobile Emulator
Content This API provides functionality to discover multimedia content (such as images, videos or music). 2.0 Mandatory Yes
Download This API provides interfaces and methods for downloading remote objects by HTTP request. 2.0 Mandatory Yes

Messaging

API Description Version (Since) Mobile Supported on
Mobile Emulator
Messaging This API allows SMS, MMS, and Email message sending and receiving. 1.0 Optional Yes
Only e-mail
Push This API provides the functionality for receiving push notifications. 2.1 Optional Yes

Multimedia

API Description Version (Since) Mobile Supported on
Mobile Emulator
Exif This API provides interfaces and methods for manipulating Exif data from JPEG file. 2.3 Mandatory Yes
FM Radio This API provides interfaces and methods for listening to FM radio. 2.3 Optional Yes
Media Controller This API provides functions for communication between the media controller server and the media controller client. 2.4 Mandatory Yes
Media Key This API provides a way to get notified when a media key has been pressed or released. 2.3 Optional No
Sound This API provides a way to control the volume level for several sound types and to check whether a specified sound device type is connected. 2.3 Mandatory Yes

Network

API Description Version (Since) Mobile Supported on
Mobile Emulator
Bluetooth This API enables control over Bluetooth. 1.0 Optional No
Network Bearer Selection This API provides interfaces and methods for users to set network bearer for a specific IP address. 2.1 Optional No
NFC This API allows access to NFC device(s). 1.0 Optional No
Secure Element This API provides interfaces and methods for access to Secure Elements. 2.1 Optional No

Social

API Description Version (Since) Mobile Supported on
Mobile Emulator
Bookmark This API provides interfaces and methods for access to Bookmarks. 2.1 Mandatory Yes
Calendar This API enables the management of calendar information. 1.0 Mandatory Yes
Call History This API allows accessing call history for cellular and VoIP calls. 2.0 Optional No
Contact This API enables the management of contact information. 1.0 Mandatory Yes
Data Synchronization This API provides methods to synchronize device data to the server using the OMA DS 1.2 protocol. 2.1 Optional No

System

API Description Version (Since) Mobile Supported on
Mobile Emulator
Human Activity Monitor This API provides interfaces and methods for retrieving human activity data from the various sensors on the device. 2.3 Optional Yes
Only HRM
Power This API provides interfaces and methods for controlling power resources. 2.0 Mandatory Yes
Sensor This API provides interfaces and methods for getting sensor data from the various sensors on the device. 2.3 Optional Yes
System Information This API provides information about the device's display, network, storage and other capabilities. 1.0 Mandatory Yes
System Setting This API provides system setting functionality. 2.0 Mandatory Yes
Time This API exposes information about date, time and time zones. 1.0 Mandatory Yes
Web Setting This API manages the setting states of the web view in web applications. 2.2 Mandatory Yes
Except as noted, this content - excluding the Code Examples - is licensed under Creative Commons Attribution 3.0 and all of the Code Examples contained herein are licensed under BSD-3-Clause.
For details, see the Content License.             

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多