Back to Content

Sensor: start() method

files/en-us/web/api/sensor/start/index.md

latest349 B
Original Source

{{securecontext_header}}{{APIRef("Sensor API")}}

The start() method of the {{domxref("Sensor")}} interface activates one of the sensors based on Sensor.

Syntax

js-nolint
start()

Parameters

None.

Return value

None ({{jsxref("undefined")}}).

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}