Interface IErrorCallback

All Known Subinterfaces:

public interface IErrorCallback
Callback used to receive errors. Currently only notifies missing permissions
  • Method Details

    • onPermissionsRequired

      void onPermissionsRequired(@NonNull NotEnoughPermissionsException ex)
      Indicates that some additional permissions are required for the current operation to function
      ex - - exception with information about missing permissions
    • onBluetoothTurnedOff

      void onBluetoothTurnedOff(@NonNull BluetoothState bluetoothState)
      Indicates that bluetooth is off. Please note that if MedMDeviceKitConfig.controlBluetoothState is set the callback isn't called for Android 12 or lower.