MedM DeviceKit
<ScannerCallback> Protocol Reference

Callback for receiving info about scan. More...

#import <ScannerCallback.h>

Inheritance diagram for <ScannerCallback>:

Instance Methods

(void) - onNewDeviceFound:
 Called when new device is found. More...
 
(void) - onAmbiguousDeviceFound:
 Called when new device is found, but Device Kit can't identify it. More...
 
(void) - onScanFinished
 Called when scan is finished. More...
 

Detailed Description

Callback for receiving info about scan.

Method Documentation

◆ onAmbiguousDeviceFound:()

- (void) onAmbiguousDeviceFound: (NSArray< DeviceInfo * > *_Nonnull)  devices

Called when new device is found, but Device Kit can't identify it.

Parameters
devicespossible device variants DeviceInfo fields that would be provided are SKU, Address, Name, Title, Manufacturer, RSSI

◆ onNewDeviceFound:()

- (void) onNewDeviceFound: (DeviceInfo *_Nonnull)  device

Called when new device is found.

Parameters
devicedevice which was found. Fields that would be provided are SKU, Address, Name, Title, Manufacturer, RSSI

◆ onScanFinished()

- (void) onScanFinished

Called when scan is finished.


The documentation for this protocol was generated from the following file: