java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.datalogic.device.configuration.CaptivePortalPolicy |
Enum CaptivePortalPolicy
defines the behaviour of the device
in case of connecting to a public Wi-Fi with a captive portal interface.
In particular, selecting the desired mode, the user can be prompted to authenticate,
to be allowed or disallowed to connect to networks which requiring authentication through a captive portal.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CaptivePortalPolicy | DISCONNECTED | User not prompted, Wi-Fi disconnected, no internet access. | |||||||||
CaptivePortalPolicy | NO_INTERNET | User not prompted, Wi-Fi connected, no internet access. | |||||||||
CaptivePortalPolicy | USER_PROMPTED | User prompted, Wi-Fi connected, internet access. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the corresponding CaptivePortalPolicy value, from a valid integer.
| |||||||||||
Converts the CaptivePortalPolicy to its integer corresponding value.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
User not prompted, Wi-Fi disconnected, no internet access.
In particular, when a network requiring an authentication through the captive portal, the user is not prompted to authenticate into the captive portal page. Moreover, the device automatically disconnects from that network, so the user is not able to access to internet.
User not prompted, Wi-Fi connected, no internet access.
In particular, when a network requiring an authentication through the captive portal, the user is not prompted to authenticate into the captive portal page. The device connects to that network, but the user can't access to internet.
User prompted, Wi-Fi connected, internet access.
In particular, when a network requiring an authentication through the captive portal, the user is prompted to authenticate into the captive portal page. The device connects to that network and the user is allowed to access to internet.
Retrieves the corresponding CaptivePortalPolicy value, from a valid integer.
n | int |
---|
Converts the CaptivePortalPolicy to its integer corresponding value.