Language

JniEnvironment.Types.GetSuperclass(JniObjectReference) Method

Definition

Gets the immediate superclass of a Java class.

public static Java.Interop.JniObjectReference GetSuperclass(Java.Interop.JniObjectReference type);
static member GetSuperclass : Java.Interop.JniObjectReference -> Java.Interop.JniObjectReference

Parameters

type
JniObjectReference

A valid Java class reference.

Returns

A local JNI superclass reference, which the caller must release, or an invalid reference if there is no superclass.

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