Android.Net.VpnService Members

The members of Android.Net.VpnService are listed below.

See Also: Inherited members from Android.App.Service

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ServiceInterfacestring. The action must be matched by the intent filter of this service.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
OnBind(Android.Content.Intent) : Android.OS.IBinder
Return the communication interface to the service.
OnRevoke()
Invoked when the application is revoked.
static
Prepare(Android.Content.Context) : Android.Content.Intent
Prepare to establish a VPN connection.
Protect(Java.Net.DatagramSocket) : bool
Convenience method to protect a Java.Net.DatagramSocket from VPN connections.
Protect(Java.Net.Socket) : bool
Convenience method to protect a Java.Net.Socket from VPN connections.
Protect(int) : bool
Protect a socket from VPN connections.