Package com.medm.devicekit
Interface IErrorCallback
- All Known Subinterfaces:
IAddDeviceWithErrorCallback
public interface IErrorCallback
Callback used to receive errors. Currently only notifies missing permissions
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBluetoothTurnedOff
(BluetoothState bluetoothState) Indicates that bluetooth is off.void
Indicates that some additional permissions are required for the current operation to function
-
Method Details
-
onPermissionsRequired
Indicates that some additional permissions are required for the current operation to function- Parameters:
ex
- - exception with information about missing permissions
-
onBluetoothTurnedOff
Indicates that bluetooth is off. Please note that ifMedMDeviceKitConfig.controlBluetoothState
is set the callback isn't called for Android 12 or lower.
-