Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
JavaClass
Eredita: RefCounted < Object
Rappresenta una classe dalla Java Native Interface.
Descrizione
Rappresenta una classe dalla Java Native Interface. Viene restituito da JavaClassWrapper.wrap().
Nota: Questa classe funziona solo su Android. Per qualsiasi altra piattaforma, questa classe non fa nulla.
Nota: Questa classe non va confusa con JavaScriptObject.
Metodi
get_java_class_name() const |
|
get_java_method_list() const |
|
get_java_parent_class() const |
|
has_java_method(method: StringName) const |
Descrizioni dei metodi
String get_java_class_name() const 🔗
Restituisce il nome della classe Java.
Array[Dictionary] get_java_method_list() const 🔗
Restituisce i metodi Java dell'oggetto e le relative firme come un Array di dizionari, nello stesso formato di Object.get_method_list().
JavaClass get_java_parent_class() const 🔗
Restituisce un JavaClass che rappresenta la classe padre di questa classe.
bool has_java_method(method: StringName) const 🔗
Returns true if the given method name exists in the object's Java methods.