Language

JniEnvironment.Types.GetJniTypeNameFromInstance(JniObjectReference) Method

Definition

Gets the JNI name of an object's runtime Java type.

public static string? GetJniTypeNameFromInstance(Java.Interop.JniObjectReference instance);
static member GetJniTypeNameFromInstance : Java.Interop.JniObjectReference -> string

Parameters

instance
JniObjectReference

A Java object reference, or an invalid reference.

Returns

A slash-separated class name, an array descriptor, or a primitive descriptor letter; null for an invalid reference.

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