共用方式為


ProxySelector.Default Property

Definition

Gets the system-wide proxy selector. -or- Sets (or unsets) the system-wide proxy selector.

public static Java.Net.ProxySelector? Default { [Android.Runtime.Register("getDefault", "()Ljava/net/ProxySelector;", "")] get; [Android.Runtime.Register("setDefault", "(Ljava/net/ProxySelector;)V", "")] set; }
[<get: Android.Runtime.Register("getDefault", "()Ljava/net/ProxySelector;", "")>]
[<set: Android.Runtime.Register("setDefault", "(Ljava/net/ProxySelector;)V", "")>]
static member Default : Java.Net.ProxySelector with get, set

Property Value

the system-wide ProxySelector

Attributes

Remarks

Property getter documentation:

Gets the system-wide proxy selector.

Added in 1.5.

Java documentation for java.net.ProxySelector.getDefault().

Property setter documentation:

Sets (or unsets) the system-wide proxy selector.

Note: non-standard protocol handlers may ignore this setting.

Added in 1.5.

Java documentation for java.net.ProxySelector.setDefault(java.net.ProxySelector).

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