共用方式為


VpnProfileState.State Property

Definition

Returns the state of the Platform VPN

public int State { [Android.Runtime.Register("getState", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getState", "()I", "", ApiSince=33)>]
member this.State : int

Property Value

Attributes

Remarks

Returns the state of the Platform VPN

This state represents the internal connection state of the VPN. This state may diverge from the VPN Network's state during error and recovery handling.

Java documentation for android.net.VpnProfileState.getState().

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