java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.datalogic.device.configuration.BTPairingPolicy |
Enum BTPairingPolicy
defines the policies for Bluetooth pairing through the property BT_PAIRING_POLICY
.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BTPairingPolicy | SILENT | No user confirmation is required for completing the pairing. | |||||||||
BTPairingPolicy | SIMPLE | Only a single confirmation is required by the user during the pairing. | |||||||||
BTPairingPolicy | STANDARD | Android standard user experience for bluetooth pairing. | |||||||||
BTPairingPolicy | UNKNOWN | Unknown paring policy. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the corresponding BTPairingPolicy value, from a valid integer.
| |||||||||||
Converts the BTPairingPolicy enum to its integer representing value.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
No user confirmation is required for completing the pairing.
When this value is selected, the user will never be prompted for pairing
a bluetooth device. Only the pre-approved external devices are allowed to be paired.
This means that the user will be restricted to pair any other devices via bluetooth.
In order to configure the silent pairing procedure, the properties
BT_SILENT_PAIRING_WHITELISTING_ENABLE
and
BT_SILENT_PAIRING_WHITELISTING
shall be properly configured.
Only a single confirmation is required by the user during the pairing. When this value is selected, the user will be prompted with a single confirmation for pairing a bluetooth device.
Android standard user experience for bluetooth pairing. When this value is selected, the user will be prompted for pairing a bluetooth device according the Android standard procedure.
Retrieves the corresponding BTPairingPolicy value, from a valid integer.
n | int |
---|
Converts the BTPairingPolicy enum to its integer representing value.