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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onBluetoothTurnedOff(BluetoothState bluetoothState)
Indicates that bluetooth is off.void
onPermissionsRequired(NotEnoughPermissionsException ex)
Indicates that some additional permissions are required for the current operation to function
-
-
-
Method Detail
-
onPermissionsRequired
void onPermissionsRequired(@NonNull NotEnoughPermissionsException ex)
Indicates that some additional permissions are required for the current operation to function- Parameters:
ex
- - exception with information about missing permissions
-
onBluetoothTurnedOff
void onBluetoothTurnedOff(@NonNull BluetoothState bluetoothState)
Indicates that bluetooth is off. Please note that ifMedMDeviceKitConfig.controlBluetoothState
is set the callback isn't called for Android 12 or lower.
-
-