Partager via


LinkProperties.HttpProxy Property

Definition

Gets the recommended ProxyInfo (or null) set on this link. -or- Sets the recommended ProxyInfo to use on this link, or null for none.

public Android.Net.ProxyInfo? HttpProxy { [Android.Runtime.Register("getHttpProxy", "()Landroid/net/ProxyInfo;", "")] get; [Android.Runtime.Register("setHttpProxy", "(Landroid/net/ProxyInfo;)V", "", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getHttpProxy", "()Landroid/net/ProxyInfo;", "")>]
[<set: Android.Runtime.Register("setHttpProxy", "(Landroid/net/ProxyInfo;)V", "", ApiSince=29)>]
member this.HttpProxy : Android.Net.ProxyInfo with get, set

Property Value

The ProxyInfo set on this link or null.

Attributes

Remarks

Property getter documentation:

Gets the recommended ProxyInfo (or null) set on this link.

Java documentation for android.net.LinkProperties.getHttpProxy().

Property setter documentation:

Sets the recommended ProxyInfo to use on this link, or null for none. Note that Http Proxies are only a hint - the system recommends their use, but it does not enforce it and applications may ignore them.

Java documentation for android.net.LinkProperties.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.

Applies to