VpnService.IsAlwaysOn Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether the service is running in always-on VPN mode.
public bool IsAlwaysOn { [Android.Runtime.Register("isAlwaysOn", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isAlwaysOn", "()Z", "", ApiSince=29)>]
member this.IsAlwaysOn : bool
- Attributes
Returns whether the service is running in always-on VPN mode. In this mode the system ensures that the service is always running by restarting it when necessary, e.g. after reboot.
Java documentation for android.net.VpnService.isAlwaysOn()
.
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.