# Interface SensorDiscoveryListener

public interface SensorDiscoveryListener
Receives sensors found during a scan. Callbacks arrive on the EDT.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `scanFailed(HealthException error)`
  The scan could not start, or ended in error.
  `void`
  `sensorDiscovered(HealthSensor sensor)`
  A health sensor was discovered.

- ## Method Details

  - ### sensorDiscovered

    void sensorDiscovered(HealthSensor sensor)
    A health sensor was discovered. May be called more than once for the same device as its signal strength changes.

  - ### scanFailed

    void scanFailed(HealthException error)
    The scan could not start, or ended in error.