Package 

Interface BatteryLevelCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onBatteryLevelChanged(@NonNull() BluetoothDevice device, @IntRange(from = 0, to = 100) int batteryLevel) Callback received each time the Battery Level value was read or has changed usinga notification.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onBatteryLevelChanged

         abstract void onBatteryLevelChanged(@NonNull() BluetoothDevice device, @IntRange(from = 0, to = 100) int batteryLevel)

        Callback received each time the Battery Level value was read or has changed usinga notification.

        Parameters:
        device - the target device.
        batteryLevel - the battery value in percent.