Partager via


Proxy.DefaultHost Property

Definition

Caution

deprecated

Return the default proxy host specified by the carrier.

[System.Obsolete("deprecated")]
public static string? DefaultHost { [Android.Runtime.Register("getDefaultHost", "()Ljava/lang/String;", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getDefaultHost", "()Ljava/lang/String;", "")>]
static member DefaultHost : string

Property Value

String containing the host name or null if there is no proxy for this carrier.

Attributes

Remarks

Return the default proxy host specified by the carrier.

This member is deprecated. Use standard java vm proxy values to find the host, port and exclusion list. This call ignores the exclusion list and no longer reports only mobile-data apn-based proxy values.

Java documentation for android.net.Proxy.getDefaultHost().

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