Condividi tramite


Proxy.ExtraProxyInfo Field

Definition

Intent extra included with #PROXY_CHANGE_ACTION intents.

[Android.Runtime.Register("EXTRA_PROXY_INFO")]
public const string ExtraProxyInfo;
[<Android.Runtime.Register("EXTRA_PROXY_INFO")>]
val mutable ExtraProxyInfo : string

Field Value

Attributes

Remarks

Intent extra included with #PROXY_CHANGE_ACTION intents. It describes the new proxy being used (as a ProxyInfo object).

This member is deprecated. Because PROXY_CHANGE_ACTION is sent whenever the proxy for any network on the system changes, applications should always use ConnectivityManager#getDefaultProxy() or ConnectivityManager#getLinkProperties(Network).LinkProperties#getHttpProxy() to get the proxy for the Network(s) they are using.

Java documentation for android.net.Proxy.EXTRA_PROXY_INFO.

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