MedM DeviceKit
ScannerCallback.h
Go to the documentation of this file.
1 //
2 // ScannerCallback.h
3 // MedMDeviceKit
4 //
5 // Copyright (C) 2017 MedM. All rights reserved.
6 //
7 
8 #ifndef ScannerCallback_h
9 #define ScannerCallback_h
10 
11 #include "DeviceInfo.h"
12 
16 @protocol ScannerCallback<NSObject>
21 - (void)onNewDeviceFound:(DeviceInfo* _Nonnull)device;
22 
27 - (void)onAmbiguousDeviceFound:(NSArray<DeviceInfo*>* _Nonnull)devices;
28 
32 - (void)onScanFinished;
33 @end
34 
35 #endif /* ScannerCallback_h */
Device description.
Definition: DeviceInfo.h:17
Callback for receiving info about scan.
Definition: ScannerCallback.h:16
void onScanFinished()
Called when scan is finished.