Sensor: start() method
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Thestart() method of theSensor interface activates one of the sensors based onSensor.
In this article
Syntax
js
start()Parameters
None.
Return value
None (undefined).
Specifications
| Specification |
|---|
| Generic Sensor API> # sensor-start> |