didDiscover abstract method

void didDiscover(
  1. Device device,
  2. int rssi
)

Called when a device has been discovered during the scan.

This method is invoked when a Bluetooth device is found during the scanning process. The device parameter represents the discovered device, and the rssi parameter indicates the received signal strength indicator (RSSI) value for the device.

device: The discovered device. rssi: The RSSI value for the discovered device.

Implementation

void didDiscover(Device device, int rssi);