|
MedM DeviceKit
|
Device status callback to get notifications on managed device status change. More...
#import <DeviceStatusCallback.h>
Instance Methods | |
| (void) | - onConnected: |
| Connection to the device was established. More... | |
| (void) | - onDisconnected:status:statusInfo: |
| Device was disconnected. More... | |
Device status callback to get notifications on managed device status change.
Devices statuses are:
| - (void) onConnected: | (DeviceInfo *_Nonnull) | device |
Connection to the device was established.
| device | connected device |
| - (void) onDisconnected: | (DeviceInfo *_Nonnull) | device | |
| status: | (OperationStatus) | status | |
| statusInfo: | (NSString *_Nullable) | additionalInfo | |
Device was disconnected.
| device | disconnected device |
| status | status of operation |
| additionalInfo | possibly empty string with additional status info |