| 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,
configured through the property BT_PAIRING_POLICY.
Each policy controls the level of user interaction required during the Bluetooth pairing process, ranging from the standard Android experience to fully silent or secured pairing.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BTPairingPolicy | SECURED | Secured pairing that blocks connections from unauthorized peripherals. | |||||||||
| BTPairingPolicy | SILENT | Fully silent pairing with no user confirmation required. | |||||||||
| BTPairingPolicy | SIMPLE | Simplified pairing requiring only a single user confirmation. | |||||||||
| BTPairingPolicy | STANDARD | Standard Android user experience for Bluetooth pairing. | |||||||||
| BTPairingPolicy | UNKNOWN | Unknown pairing 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
| |||||||||||
Secured pairing that blocks connections from unauthorized peripherals.
This policy enhances security and operational efficiency by preventing accidental or malicious device pairings. Only devices that are whitelisted (if enabled) or trusted (if enabled) are allowed to pair and connect.
The following properties must be properly configured:
Fully silent pairing with no user confirmation required.
When this value is selected, the user will never be prompted during Bluetooth device pairing.
Important: This policy allows any device to pair without user consent. Use with caution.
Simplified pairing requiring only a single user confirmation.
When this value is selected, the user will be prompted with a single popup confirmation to pair a Bluetooth device.
Standard Android user experience for Bluetooth pairing.
When this value is selected, the user will be prompted to pair a Bluetooth device following the standard Android procedure.
Retrieves the corresponding BTPairingPolicy value, from a valid integer.
| n | int |
|---|
Converts the BTPairingPolicy enum to its integer representing value.