stop

Function stop 

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

Stops the gyroscope.

§Errors

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

§Examples

stop()?;