Language

JniRuntime.ReflectionJniValueManager.ConstructPeerCore Method

Definition

Initializes peer reference ownership, identity hash, and runtime registration.

protected override void ConstructPeerCore(Java.Interop.IJavaPeerable peer, ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options);
override this.ConstructPeerCore : Java.Interop.IJavaPeerable * JniObjectReference * Java.Interop.JniObjectReferenceOptions -> unit

Parameters

peer
IJavaPeerable

The non-null managed peer being initialized.

reference
JniObjectReference

The source reference subject to the supplied transfer options.

options
JniObjectReferenceOptions

Reference-copy, source-disposal, and registration flags.

Remarks

None permits deferred initialization when the peer has no reference. Existing activation peers can reuse their assigned reference.

Applies to