VpnProfileState(Int32, String, Boolean, Boolean) Constructor
Definition
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.
Initializes a new instance of VpnProfileState.
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;ZZ)V", "", ApiSince=33)]
public VpnProfileState(int state, string? sessionKey, bool alwaysOn, bool lockdown);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;ZZ)V", "", ApiSince=33)>]
new Android.Net.VpnProfileState : int * string * bool * bool -> Android.Net.VpnProfileState
Parameters
- state
- Int32
The state to store. Use one of the values represented by Connected, Connecting, Disconnected, or Failed. Other integers are stored without validation.
- sessionKey
- String
The VPN session identifier to store, or null.
- alwaysOn
- Boolean
The value to store for the always-on flag.
- lockdown
- Boolean
The value to store for the lockdown flag.
- Attributes