Package 

Enum BluetoothError

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

    
    public enum BluetoothError
    
                        

    Return codes for Bluetooth communications: possible error codes that can be returned to the ValidicBluetoothPeripheralControllerListenerInterface

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      LocationIsOff

      Location Services is off. This error will never be emitted for devices running >= Android 12.

      INVALID_LICENSE

      Invalid License

      Cancelled

      Indicates a pair or reading was cancelled

      ReadingTimeout

      Indicates that a timeout occurred while attempting to read from the peripheral

      ConnectionTimeout

      Indicates that a timeout occurred while attempting to connect to the peripheral

      NoUser

      Indicates that there is no user set in the shared session instance

      NoReading

      Indicates that no valid reading was received

      InvalidPermissions

      For android api 23 and greater, bluetooth admin and a location permission must be accepted in order to use bluetooth.

      BluetoothTurnedOff

      Indicates that Bluetooth is turned off or not available

      PairingFailure

      Indicates that the peripheral was not paired

      ConnectionFailure

      Indicates that a connection was unable to be established or was lost

      CommunicationFailure

      Indicates an error occurred in the Bluetooth communication stack