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 Details

    • stop

      public void stop()
      Stops the scan. Idempotent.
    • isScanning

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