Teanga

JavaPeerProxy.GetActivationPeer(IntPtr) Method

Definition

Finds an existing peer marked activatable or replaceable.

public static Java.Interop.IJavaPeerable? GetActivationPeer(IntPtr jniSelf);
static member GetActivationPeer : nativeint -> Java.Interop.IJavaPeerable

Parameters

jniSelf
IntPtr

nativeint

The JNI handle whose existing managed peer is inspected without consuming the reference.

Returns

The mapped peer when either activation flag is set; otherwise, null.

Remarks

This method does not create or activate a managed peer.

Applies to