Language

ProxyInfo.BuildPacProxy Method

Definition

Overloads

Name Description
BuildPacProxy(Uri)

Construct a ProxyInfo that will download and run the PAC script at the specified URL.

BuildPacProxy(Uri, Int32)

Construct a ProxyInfo object that will download and run the PAC script at the specified URL and port.

BuildPacProxy(Uri)

Construct a ProxyInfo that will download and run the PAC script at the specified URL.

[Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;)Landroid/net/ProxyInfo;", "")]
public static Android.Net.ProxyInfo? BuildPacProxy(Android.Net.Uri? pacUri);
[<Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;)Landroid/net/ProxyInfo;", "")>]
static member BuildPacProxy : Android.Net.Uri -> Android.Net.ProxyInfo

Parameters

pacUri
Uri

The URI of the proxy auto-configuration script.

Returns

A new configuration for the specified PAC script.

Attributes

Remarks

Java documentation for android.net.ProxyInfo.buildPacProxy(android.net.Uri).

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

BuildPacProxy(Uri, Int32)

Construct a ProxyInfo object that will download and run the PAC script at the specified URL and port.

[Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;I)Landroid/net/ProxyInfo;", "", ApiSince=30)]
public static Android.Net.ProxyInfo BuildPacProxy(Android.Net.Uri pacUrl, int port);
[<Android.Runtime.Register("buildPacProxy", "(Landroid/net/Uri;I)Landroid/net/ProxyInfo;", "", ApiSince=30)>]
static member BuildPacProxy : Android.Net.Uri * int -> Android.Net.ProxyInfo

Parameters

pacUrl
Uri

The URI of the proxy auto-configuration script.

port
Int32

The local PAC proxy's port.

Returns

A new configuration for the PAC script and local proxy port.

Attributes

Remarks

Java documentation for android.net.ProxyInfo.buildPacProxy(android.net.Uri, int).

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