Language

JniPeerMembers.JniInstanceFields.GetObjectValue(String, IJavaPeerable) Method

Definition

Reads a Java object-reference instance field.

public Java.Interop.JniObjectReference GetObjectValue(string encodedMember, Java.Interop.IJavaPeerable self);
member this.GetObjectValue : string * Java.Interop.IJavaPeerable -> Java.Interop.JniObjectReference

Parameters

encodedMember
String

The Java field name and JNI descriptor separated by a period, such as value.I.

self
IJavaPeerable

The managed peer whose Java instance field is accessed.

Returns

A local JNI reference to the field value, or an invalid reference for Java null.

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