Interface ScanListener


public interface ScanListener
Receives advertisement sightings during a scan started via BluetoothLE.startScan(ScanSettings, ScanListener). Single abstract method so application code can pass a lambda. Always invoked on the EDT.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fired on the EDT for every advertisement passing the scan's filters.
  • Method Details

    • peripheralDiscovered

      void peripheralDiscovered(ScanResult result)
      Fired on the EDT for every advertisement passing the scan's filters.