JavaObject

Hereda: RefCounted < Object

Representa un objeto de la Java Native Interface.

Descripción

Represents an object from the Java Native Interface. It can be returned from Java methods called on JavaClass or other JavaObjects. See JavaClassWrapper for an example.

Note: This class only works on Android. On any other platform, this class does nothing.

Note: This class is not to be confused with JavaScriptObject.

Métodos

JavaClass

get_java_class() const

bool

has_java_method(method: StringName) const


Descripciones de Métodos

JavaClass get_java_class() const 🔗

Devuelve la JavaClass de la que este objeto es una instancia.


bool has_java_method(method: StringName) const 🔗

Returns true if the given method name exists in the object's Java methods.