Sensor: activated プロパティ

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Sensor インターフェイスの読み取り専用プロパティ activated は、センサーが作動中かを表す boolean 値を返します。

Sensor はベースクラスなので、activated は派生クラスからのみ読み取り可能です。

boolean 値です。

仕様書

Specification
Generic Sensor API
# sensor-activated

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
activated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support