Package 

Enum RxBleClient.State

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum RxBleClient.State
    
                        
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BLUETOOTH_NOT_AVAILABLE

      Bluetooth Adapter is not available on the given OS. Most functions will throw UnsupportedOperationException when called.

      LOCATION_PERMISSION_NOT_GRANTED

      Runtime location permission is not given. Scanning will not work. Used on API >=23.

      APIs 23-28 – ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION

      APIs 29-30 - ACCESS_FINE_LOCATION

      APIs 31+ - BLUETOOTH_SCAN and ACCESS_FINE_LOCATION (if BLUETOOTH_SCAN does not have neverForLocation flag)

      BLUETOOTH_NOT_ENABLED

      Bluetooth Adapter is not switched on. Scanning and connecting to a device will not work.

      LOCATION_SERVICES_NOT_ENABLED

      Location Services are switched off. Scanning will not work. Used on API >=23.

      READY

      Everything is ready to be used.