# onScanResult

abstract fun onScanResult(sender: IDeviceScanner, device: IDeviceCompat)

Called when an IDeviceScanner has found a Nix device. This is invoked each time that a device advertisement has been received, or signal strength (IDeviceCompat.rssi) has updated, so multiple events may be received for a given Nix device. The IDeviceCompat.id can be used to uniquely identify each separate device.

#### Parameters

sender

Scanner instance that invoked this call.

device

Observed Nix device.