MedM DeviceKit
DeviceAddingCancellationToken.h
Go to the documentation of this file.
1
//
2
// DeviceAddingCancellationToken.h
3
// MedMDeviceKit
4
//
5
// Copyright (C) 2017 MedM. All rights reserved.
6
//
7
8
#ifndef DeviceAddingCancellationToken_h
9
#define DeviceAddingCancellationToken_h
10
14
@protocol
DeviceAddingCancellationToken
<NSObject>
15
17
- (void)
cancel
;
18
20
- (BOOL)
isCancelled
;
21
23
- (BOOL)
isDone
;
24
@end
25
26
#endif
/* DeviceAddingCancellationToken_h */
-[DeviceAddingCancellationToken-p cancel]
void cancel()
Cancel the operation.
-[DeviceAddingCancellationToken-p isDone]
BOOL isDone()
Check if the operation is finished.
DeviceAddingCancellationToken-p
Cancellation token – could be used to cancel asynchronous add operation.
Definition:
DeviceAddingCancellationToken.h:14
-[DeviceAddingCancellationToken-p isCancelled]
BOOL isCancelled()
Check if the operation is already cancelled.
MedMDeviceKit
API
DeviceAddingCancellationToken.h
Generated by
1.8.14