# Class SensorScan

java.lang.Object
com.codename1.health.sensors.SensorScan

public final class SensorScan extends Object
A running sensor scan. Stop it as soon as the user has chosen a device -- scanning is expensive and both platforms throttle apps that leave it running.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isScanning()`
  `true` until `stop()` is called or the scan times out.
  `void`
  `stop()`
  Stops the scan.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### stop

    public void stop()
    Stops the scan. Idempotent.

  - ### isScanning

    public boolean isScanning()
    `true` until `stop()` is called or the scan times out.