MedM DeviceKit
ScannerStopToken.h
Go to the documentation of this file.
1 //
2 // ScannerStopToken.h
3 // MedMDeviceKit
4 //
5 // Copyright © 2017 MedM. All rights reserved.
6 //
7 
8 #ifndef ScannerStopToken_h
9 #define ScannerStopToken_h
10 
16 @protocol ScannerStopToken<NSObject>
17 
19 - (void)stopScan;
20 
22 - (BOOL)isStopped;
23 
25 - (BOOL)isScanFinished;
26 @end
27 
28 #endif /* ScannerStopToken_h */
BOOL isStopped()
Check if the operation is already stopped.
BOOL isScanFinished()
Check if the operation is already finished.
Scanner stop token – could be used to stop scan.
Definition: ScannerStopToken.h:16
void stopScan()
Stop scan for devices.