Udostępnij za pośrednictwem


VpnService.IsLockdownEnabled Property

Definition

Returns whether the service is running in always-on VPN lockdown mode.

public bool IsLockdownEnabled { [Android.Runtime.Register("isLockdownEnabled", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isLockdownEnabled", "()Z", "", ApiSince=29)>]
member this.IsLockdownEnabled : bool

Property Value

Attributes

Remarks

Returns whether the service is running in always-on VPN lockdown mode. In this mode the system ensures that the service is always running and that the apps aren't allowed to bypass the VPN.

Java documentation for android.net.VpnService.isLockdownEnabled().

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