Camera API

This is an archived page. It's not actively maintained.

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

This API is available on Firefox OS for internal applications only.

Camera API 可讓 Apps 管理裝置上的相機,進一步拍照、錄製影片,並取得如焦距、縮放、白平衡、閃光燈等的資訊。Camera API 屬於 Priviledged API,並僅限 Certified Apps 使用。

注意:除非你打算建構新 App 以取代預設的「Camera」App,否則應不會使用此 API。如果你只是要使用裝置上的相機功能,則應使用 Web Activities API