Language

JniRuntime.JniValueManager.PeekPeer(JniObjectReference) Method

Definition

Looks up an existing managed peer without creating one.

public abstract Java.Interop.IJavaPeerable? PeekPeer(Java.Interop.JniObjectReference reference);
abstract member PeekPeer : Java.Interop.JniObjectReference -> Java.Interop.IJavaPeerable

Parameters

reference
JniObjectReference

The Java reference whose current mapping is inspected.

Returns

The mapped managed peer, or null when no peer is available.

Remarks

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