MedM DeviceKit
<ErrorCallback> Protocol Reference

Error callback to get notifications about errors. More...

#import <ErrorCallback.h>

Inheritance diagram for <ErrorCallback>:

Instance Methods

(void) - onBluetoothTurnedOff
 The bluetooth is off. More...
 
(void) - onBluetoothUnauthorized
 The bluetooth usage is unauthorized. More...
 

Detailed Description

Error callback to get notifications about errors.

Currently only used to notify if bluetooth is off.

Method Documentation

◆ onBluetoothTurnedOff()

- (void) onBluetoothTurnedOff

The bluetooth is off.

The app should ask a user to turn it on.

◆ onBluetoothUnauthorized()

- (void) onBluetoothUnauthorized

The bluetooth usage is unauthorized.

The app should ask a user to authorize it.


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