MedM DeviceKit
<DeviceStatusCallback> Protocol Reference

Device status callback to get notifications on managed device status change. More...

#import <DeviceStatusCallback.h>

Inheritance diagram for <DeviceStatusCallback>:
<DeviceStatusWithAddResultCallback>

Instance Methods

(void) - onConnected:
 Connection to the device was established. More...
 
(void) - onDisconnected:status:statusInfo:
 Device was disconnected. More...
 

Detailed Description

Device status callback to get notifications on managed device status change.

Devices statuses are:

Method Documentation

◆ onConnected:()

- (void) onConnected: (DeviceInfo *_Nonnull)  device

Connection to the device was established.

Parameters
deviceconnected device

◆ onDisconnected:status:statusInfo:()

- (void) onDisconnected: (DeviceInfo *_Nonnull)  device
status: (OperationStatus status
statusInfo: (NSString *_Nullable)  additionalInfo 

Device was disconnected.

Parameters
devicedisconnected device
statusstatus of operation
additionalInfopossibly empty string with additional status info

The documentation for this protocol was generated from the following file: