MedM DeviceKit
AddDeviceCallback.h
Go to the documentation of this file.
1 //
2 // AddDeviceCallback.h
3 // MedMDeviceKit
4 //
5 // Copyright (C) 2017 MedM. All rights reserved.
6 //
7 
8 #ifndef AddDeviceCallback_h
9 #define AddDeviceCallback_h
10 
11 #import "DeviceInfo.h"
12 #import "OperationStatus.h"
13 
14 
18 @protocol AddDeviceCallback<NSObject>
19 
24 - (void)onSuccess:(DeviceInfo* _Nonnull)source;
25 
33 - (void)onFailure:(DeviceInfo* _Nonnull)source status:(OperationStatus)status statusInfo:(NSString* _Nullable)additionalInfo;
34 
35 @end
36 
37 #endif /* AddDeviceCallback_h */
Device description.
Definition: DeviceInfo.h:17
OperationStatus
Definition: OperationStatus.h:11
Callback to notify that add operation was finished.
Definition: AddDeviceCallback.h:18