MedM DeviceKit
DeviceStatusCallback.h
Go to the documentation of this file.
1 //
2 // DeviceStatusCallback.h
3 // MedMDeviceKit
4 //
5 // Copyright (C) 2017 MedM. All rights reserved.
6 //
7 
8 #ifndef DeviceStatusCallback_h
9 #define DeviceStatusCallback_h
10 
11 #import <Foundation/Foundation.h>
12 #import "DeviceInfo.h"
13 #import "OperationStatus.h"
14 
24 @protocol DeviceStatusCallback<NSObject>
25 
30 -(void)onConnected:(DeviceInfo* _Nonnull)device;
31 
38 -(void)onDisconnected:(DeviceInfo* _Nonnull)device status:(OperationStatus)status statusInfo:(NSString* _Nullable)additionalInfo;
39 
40 @end
41 
42 #endif /* DeviceStatusCallback_h */
Device description.
Definition: DeviceInfo.h:17
OperationStatus
Definition: OperationStatus.h:11
Device status callback to get notifications on managed device status change.
Definition: DeviceStatusCallback.h:24