Språk

VcnManager.VcnStatusCallback Constructors

Definition

Overloads

Name Description
VcnManager.VcnStatusCallback()

Initializes a new instance of VcnManager.VcnStatusCallback for a derived callback implementation.

VcnManager.VcnStatusCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

VcnManager.VcnStatusCallback()

Initializes a new instance of VcnManager.VcnStatusCallback for a derived callback implementation.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=31)]
public VcnStatusCallback();
Attributes

Remarks

Implement the status-change and gateway-error methods in a derived class. Register the callback with VcnManager to receive updates for a subscription group; constructing the callback does not register it.

See the Android VcnStatusCallback reference.

Applies to

VcnManager.VcnStatusCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected VcnStatusCallback(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Vcn.VcnManager.VcnStatusCallback : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Vcn.VcnManager.VcnStatusCallback

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to