Class IosWiFiConfiguration.Builder

    • Method Detail

      • connectAutomatically

        public IosWiFiConfiguration.Builder connectAutomatically​(Boolean connectAutomatically)
        “Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network.”
        Parameters:
        connectAutomatically - value of connectAutomatically property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • connectWhenNetworkNameIsHidden

        public IosWiFiConfiguration.Builder connectWhenNetworkNameIsHidden​(Boolean connectWhenNetworkNameIsHidden)
        “Connect when the network is not broadcasting its name (SSID). When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices.”
        Parameters:
        connectWhenNetworkNameIsHidden - value of connectWhenNetworkNameIsHidden property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • disableMacAddressRandomization

        public IosWiFiConfiguration.Builder disableMacAddressRandomization​(Boolean disableMacAddressRandomization)
        “If set to true, forces devices connecting using this Wi-Fi profile to present their actual Wi-Fi MAC address instead of a random MAC address. Applies to iOS 14 and later.”
        Parameters:
        disableMacAddressRandomization - value of disableMacAddressRandomization property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • networkName

        public IosWiFiConfiguration.Builder networkName​(String networkName)
        “Network Name”
        Parameters:
        networkName - value of networkName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • preSharedKey

        public IosWiFiConfiguration.Builder preSharedKey​(String preSharedKey)
        “This is the pre-shared key for WPA Personal Wi-Fi network.”
        Parameters:
        preSharedKey - value of preSharedKey property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • proxyAutomaticConfigurationUrl

        public IosWiFiConfiguration.Builder proxyAutomaticConfigurationUrl​(String proxyAutomaticConfigurationUrl)
        “URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file.”
        Parameters:
        proxyAutomaticConfigurationUrl - value of proxyAutomaticConfigurationUrl property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • proxyManualAddress

        public IosWiFiConfiguration.Builder proxyManualAddress​(String proxyManualAddress)
        “IP Address or DNS hostname of the proxy server when manual configuration is selected.”
        Parameters:
        proxyManualAddress - value of proxyManualAddress property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • proxyManualPort

        public IosWiFiConfiguration.Builder proxyManualPort​(Integer proxyManualPort)
        “Port of the proxy server when manual configuration is selected.”
        Parameters:
        proxyManualPort - value of proxyManualPort property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • proxySettings

        public IosWiFiConfiguration.Builder proxySettings​(WiFiProxySetting proxySettings)
        “Proxy Type for this Wi-Fi connection”
        Parameters:
        proxySettings - value of proxySettings property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • ssid

        public IosWiFiConfiguration.Builder ssid​(String ssid)
        “This is the name of the Wi-Fi network that is broadcast to all devices.”
        Parameters:
        ssid - value of ssid property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • wiFiSecurityType

        public IosWiFiConfiguration.Builder wiFiSecurityType​(WiFiSecurityType wiFiSecurityType)
        “Indicates whether Wi-Fi endpoint uses an EAP based security type.”
        Parameters:
        wiFiSecurityType - value of wiFiSecurityType property (as defined in service metadata)
        Returns:
        this (for method chaining)