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.

Methods

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

Method details

peripheralDiscovered

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