Sensor: start() method

The start method activates one of the sensors based on Sensor.

Syntax

js

start()

Parameters

None.

Return value

None (undefined).

Specifications

Specification
Generic Sensor API
# sensor-start

Browser compatibility

BCD tables only load in the browser