Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AndroidJNI.GetSuperclass

static function GetSuperclass(clazz: IntPtr): IntPtr;
static IntPtr GetSuperclass(IntPtr clazz);
static def GetSuperclass(clazz as IntPtr) as IntPtr

Description

If clazz represents any class other than the class Object, then this function returns the object that represents the superclass of the class specified by clazz.

If clazz specifies the class Object, or clazz represents an interface, this function returns NULL.

See Also: Java Native Interface Specification (Oracle)