java.lang.Object | |
↳ | com.datalogic.device.wifi.WifiProfile.Builder |
The WifiProfile.Builder class is used create and manipulate Wi-Fi profiles.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
WifiProfile with the configuration supplied to this builder. | |||||||||||
Sets the Wi-Fi profile hidden state.
| |||||||||||
Sets the Wi-Fi profile priority for associating.
| |||||||||||
Sets the Wi-Fi profile to use a PAC-based automatic proxy.
| |||||||||||
Sets the Wi-Fi profile CA certificate.
| |||||||||||
Sets the Wi-Fi profile to used a dynamically-assigned IP address.
| |||||||||||
Sets the Wi-Fi profile to used a manually-assigned static IP address.
| |||||||||||
Sets the Wi-Fi profile to used a manually-assigned static IP address.
| |||||||||||
Sets the Wi-Fi profile to use a manually-configured static proxy.
| |||||||||||
Sets the Wi-Fi profile to use a manually-configured static proxy.
| |||||||||||
Sets the Wi-Fi profile not to use proxy.
| |||||||||||
Sets the Wi-Fi profile to use an OPEN authentication scheme.
| |||||||||||
Sets the Wi-Fi profile user certificate.
| |||||||||||
Sets the Wi-Fi profile to use an WEP-104 authentication scheme.
| |||||||||||
Sets the Wi-Fi profile to use an WEP-40 authentication scheme.
| |||||||||||
Sets the Wi-Fi profile to use an WPA-EAP/WPA2-EAP authentication scheme.
| |||||||||||
Sets the Wi-Fi profile to use an WPA-PSK/WPA2-PSK authentication scheme.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a WifiProfile
with the configuration supplied to this builder.
Sets the Wi-Fi profile hidden state. This is a clue for the Wi-Fi supplicant in when the ESSID is hidden from the Wi-Fi infrastructure beacons.
isHiddenSsid | whether profile ESSID is hidden or not. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile priority for associating.
priority | the priority to be assigned to the Wi-Fi profile. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use a PAC-based automatic proxy.
pacUri | URI from whence the PAC script will be downloaded and runt. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile CA certificate.
Note: calling this method could be necessary for certain WifiProfile.EapMethod
types.
caCertificate | String representation of the X.509 certificate to be used for the authentication. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to used a dynamically-assigned IP address.
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to used a manually-assigned static IP address.
ipAddress | IP Address to be assigned to the device. |
---|---|
prefixLength | IP netmask in form of prefix-length (from 1 to 32). |
gateway | Default gateway to access the Internet. |
domainNameServers | Domain name servers to be used for name resolution. |
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to used a manually-assigned static IP address. Google's DNSes will be used for name resolution.
ipAddress | IP Address to be assigned to the device. |
---|---|
prefixLength | IP netmask in form of prefix-length (from 1 to 32). |
gateway | Default gateway to access the Internet. |
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use a manually-configured static proxy.
host | Address of the host to be used as proxy. |
---|---|
port | Port of the host to be used as proxy. |
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use a manually-configured static proxy.
host | Address of the host to be used as proxy. |
---|---|
port | Port of the host to be used as proxy. |
exclusionList | Hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com.. |
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile not to use proxy.
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use an OPEN authentication scheme.
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile user certificate.
Note: calling this method could be necessary for certain WifiProfile.EapMethod
types.
userCertificateType | WifiProfile.CertificateType type of user certificate. |
---|---|
userCertificate | String representation or alias of the X.509 certificate to be used for the authentication. |
userCertificatePassword | Password to access the keystore holding the certificate. |
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use an WEP-104 authentication scheme.
key | the 104-bit key to be used for authentication, as a 26 character-long hex string, or generic passphrase. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use an WEP-40 authentication scheme.
key | the 40-bit key to be used for authentication, as a 10 character-long hex string, or generic passphrase. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use an WPA-EAP/WPA2-EAP authentication scheme.
method | WifiProfile.EapMethod EAP method to be used for authentication. |
---|---|
phase2 | WifiProfile.EapPhase2 EAP phase-2 method to be used for authentication. |
identity | EAP identity. |
anonymousIdentity | EAP anonymous identity. This is used as the unencrypted identity with certain WifiProfile.EapMethod types. |
password | EAP identify password. |
WifiProfile.Builder
object to allow for chaining of calls to set methods.
Sets the Wi-Fi profile to use an WPA-PSK/WPA2-PSK authentication scheme.
passphrase | the 256-bit key to be used for authentication, as a 64 character-long hex string, or generic passphrase. |
---|
WifiProfile.Builder
object to allow for chaining of calls to set methods.