Taal

VpnProfileState(Int32, String, Boolean, Boolean) Constructor

Definition

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

Value is one of the following: STATE_CONNECTED; STATE_CONNECTING; STATE_DISCONNECTED; STATE_FAILED

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

Remarks

Java documentation for android.net.VpnProfileState.VpnProfileState(int, java.lang.String, boolean, boolean).

Applies to