Language

JniEnvironment.Types.GetObjectClass(JniObjectReference) Method

Definition

Gets an object's runtime Java class.

public static Java.Interop.JniObjectReference GetObjectClass(Java.Interop.JniObjectReference instance);
static member GetObjectClass : Java.Interop.JniObjectReference -> Java.Interop.JniObjectReference

Parameters

instance
JniObjectReference

A valid Java object reference.

Returns

A local JNI class reference, which the caller must release.

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