Language

JniRuntime.JniValueManager.PeekValue(JniObjectReference) Method

Definition

Looks up a peer and unwraps known managed proxy values.

public object? PeekValue(Java.Interop.JniObjectReference reference);
member this.PeekValue : Java.Interop.JniObjectReference -> obj

Parameters

reference
JniObjectReference

The JNI reference whose existing managed value is requested.

Returns

The unwrapped proxy value or mapped peer, or null when no mapping 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