WifiConfiguration.HttpProxy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the HTTP proxy used by this object. -or- Set the ProxyInfo for this WifiConfiguration.
public virtual Android.Net.ProxyInfo? HttpProxy { [Android.Runtime.Register("getHttpProxy", "()Landroid/net/ProxyInfo;", "GetGetHttpProxyHandler", ApiSince=26)] get; [Android.Runtime.Register("setHttpProxy", "(Landroid/net/ProxyInfo;)V", "GetSetHttpProxy_Landroid_net_ProxyInfo_Handler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getHttpProxy", "()Landroid/net/ProxyInfo;", "GetGetHttpProxyHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setHttpProxy", "(Landroid/net/ProxyInfo;)V", "GetSetHttpProxy_Landroid_net_ProxyInfo_Handler", ApiSince=26)>]
member this.HttpProxy : Android.Net.ProxyInfo with get, set
Property Value
a ProxyInfo httpProxy representing the proxy specified by this
WifiConfiguration, or null if no proxy is specified.
- Attributes
Remarks
Property getter documentation:
Returns the HTTP proxy used by this object.
Java documentation for android.net.wifi.WifiConfiguration.getHttpProxy().
Property setter documentation:
Set the ProxyInfo for this WifiConfiguration. This method should only be used by a device owner or profile owner. When other apps attempt to save a WifiConfiguration with modified proxy settings, the methods WifiManager#addNetwork and WifiManager#updateNetwork fail and return -1.
Java documentation for android.net.wifi.WifiConfiguration.setHttpProxy(android.net.ProxyInfo).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.