A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/Sensor/stop below:

Sensor: stop() method - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. Sensor
  4. stop()

Filter sidebar

In this article
  1. Sensor APIs
  2. Sensor
  3. Instance properties
    1. activated
    2. hasReading
    3. timestamp
  4. Instance methods
    1. start()
    2. stop()
  5. Events
    1. activate
    2. error
    3. reading
  6. Inheritance
    1. EventTarget
  7. Related pages for Sensor API
    1. AbsoluteOrientationSensor
    2. Accelerometer Experimental
    3. AmbientLightSensor Experimental
    4. GravitySensor
    5. Gyroscope
    6. LinearAccelerationSensor
    7. Magnetometer Experimental
    8. OrientationSensor
    9. RelativeOrientationSensor
    10. SensorErrorEvent
In this article Sensor: stop() 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 in secure contexts (HTTPS), in some or all supporting browsers.

The stop() method of the Sensor interface deactivates the current sensor.

Syntax

js

stop()
Parameters

None.

Return value

None (undefined).

Examples

js

// TBD
Specifications Specification Generic Sensor API
# sensor-stop
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Feb 1, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4