start

Function start 

Source
pub fn start() -> Result<(), JsValue>
Expand description

Starts the gyroscope.

§Errors

Returns JsValue if the JavaScript call fails or the sensor is unavailable.

§Examples

start()?;