Partager via


VpnService.ServiceInterface Field

Definition

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

[Android.Runtime.Register("SERVICE_INTERFACE")]
public const string ServiceInterface;
[<Android.Runtime.Register("SERVICE_INTERFACE")>]
val mutable ServiceInterface : string

Field Value

Attributes

Remarks

The action must be matched by the intent filter of this service. It also needs to require android.Manifest.permission#BIND_VPN_SERVICE permission so that other applications cannot abuse it.

Java documentation for android.net.VpnService.SERVICE_INTERFACE.

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