WebAPI

WebAPI는 웹 앱과 웹 콘텐츠가 기기의 하드웨어에 접근(배터리 상태나 기기의 진동 하드웨어 등)하고 기기의 데이터 저장소에 접근(달력이나 주소록 목록 등)할 수 있도록 해주는 기기 호환과 접근 API의 모음을 나타내는 단어입니다. 이러한 API를 추가함으로써 오늘날 웹이 할 수 있는 일과 과거에 특정 플랫폼에서만 가능했던 일들이 확장되기를 희망합니다.

Note: More of this documentation has been written than it looks like; links are not all added yet. We're actively working on improving this and expect to see things much better over the next couple of weeks. See the WebAPI doc status page, where we're tracking work on WebAPI docs.

Communication APIs

Network Information API
현재 네트워크 연결에 대한 연결 속도와 같은 기본 정보를 알려줍니다.
Bluetooth Certification required
WebBluetooth API는 기기의 Bluetooth에 로우레벨 접근을 할 수 있게 해 줍니다.
Mobile Connection API Certification required Non-standard
Exposes information about the device's cellular connectivity, such as signal strength, operator information, and so forth.
Network Stats API Certification required
Monitors data usage and exposes this data to privileged applications.
TCP Socket API Privileged Non-standard
Provides low-level sockets and SSL support.
Telephony Certification required Non-standard
Lets apps place and answer phone calls and use the built-in telephony user interface.
WebSMS Certification required Non-standard
앱들이 SMS 문자 메시지를 주고 받게 하고, 장치에 저장된 메시지들을 접근하고 관리 하도록 해줍니다.
WiFi Information API Certification required Non-standard
A privileged API which provides information about signal strength, the name of the current network, available WiFi networks, and so forth.

Hardware access APIs

Ambient Light Sensor API
광센서에 접근할 수 있게 해서 앱이 기기 주변의 밝기를 감지할 수 있게 해 줍니다.
Battery Status API
배터리의 충전 정보 및 현재 기기가 충전 중인지 여부에 대한 정보를 제공 합니다.
Geolocation API
Provides information about the device's physical location.
Pointer Lock API
Lets apps lock access to the mouse and gain access to movement deltas rather than absolute coordinates; this is great for gaming.
Proximity API
Lets you detect proximity of the device to a nearby object, such as the user's face.
Device Orientation API
기기의 방향 변화를 감지하여 알려줍니다.
Screen Orientation API
화면의 방향 변화를 감지하여 알려줍니다. 앱이 어떤 방향을 선호하는지 지정하는데에도 사용 할 수 있습니다.
Vibration API
Lets apps control the device's vibration hardware for things such as haptic feedback in games. This is not intended for things such as notification vibrations. See the Alarm API for that.
WebFM API installed Non-standard
기기에 FM 라디오 기능이 있다면 이에 접근할 수 있게 해 줍니다.
Camera API Certification required Non-standard
Allows apps to take photographs and/or record video using the device's built-in camera.
Power Management API Certification required Non-standard
Lets apps turn on and off the screen, CPU, device power, and so forth. Also provides support for listening for and inspecting resource lock events.

View All...

Data management APIs

FileHandle API
Provides support for writable files with locking support.
IndexedDB
고성능 검색을 지원하는 클라이언트측의 구조화된 데이터 저장소입니다.
Contacts API Privileged
Provides access to the user's contacts database, with support for adding, reading, and modifying contact information.
Device Storage API Privileged
Allows apps to create, read, and change files stored in a central location on the device, such as the "pictures" folder on modern desktop platforms or the photo storage on mobile devices.
Settings API Certification required Non-standard
Lets apps examine and change system-wide configuration options that are permanently stored on the device.

Other APIs

Alarm API
Lets apps schedule notifications. Also provides support for automatically launching an app at a specific time.
Simple Push API
Lets the platform send notification messages to specific applications.
Web Notifications
Lets applications send notifications displayed at the system level.
Apps API Non-standard
The Open WebApps API provides support for installing and managing Web apps. In addition, support is provided to let apps determine payment information.
Web Activities Non-standard
Lets an app delegate an activity to another app; for example, an app might ask another app to select (or create) and return a photo. Typically the user is able to configure what apps are used for which activities.
WebPayment API Non-standard
Lets Web content initiate payments and refunds for virtual goods.
Browser API Privileged Non-standard
Provides support for building a Web browser completely using Web technologies (in essence, a browser within a browser).
Idle API Certification required
Lets apps receive notifications when the user is not actively using the device.
Permissions API Certification required Non-standard
Manages app permissions in a centralized location. Used by the Settings app.
Time/Clock API Certification required Non-standard
현재 시각을 설정할 수 있게 해 줍니다. 시간대는 Settings API를 이용해서 설정할 수 있습니다.

WebAPI community

If you need help with these APIs, there are several ways you can talk to other developers making use of them.

Don't forget about the netiquette...

 

Document Tags and Contributors

Contributors to this page: PillarLee, francisco.jordano, hyeonseok, oohii, junho85
Last updated by: oohii,