ApnSetting.ProxyAddress Property

Definition

Gets the HTTP proxy address configured for the APN.

public virtual Java.Net.InetAddress? ProxyAddress { [Android.Runtime.Register("getProxyAddress", "()Ljava/net/InetAddress;", "GetGetProxyAddressHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getProxyAddress", "()Ljava/net/InetAddress;", "GetGetProxyAddressHandler", ApiSince=28)>]
member this.ProxyAddress : Java.Net.InetAddress

Property Value

the HTTP proxy address or null if DNS isn’t available to resolve a hostname

Attributes

Remarks

Gets the HTTP proxy address configured for the APN. The proxy address might be an IP address or hostname. This method returns null if system networking (typically DNS) isn’t available to resolve a hostname value—values set as IP addresses don’t have this restriction. This is a known problem and will be addressed in a future release.

This member is deprecated. use #getProxyAddressAsString() instead.

Java documentation for android.telephony.data.ApnSetting.getProxyAddress().

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