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