MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / dialog_input_text

Method dialog_input_text

platform/android/display_server_android.cpp:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210Error DisplayServerAndroid::dialog_input_text(String p_title, String p_description, String p_partial, const Callable &p_callback) {
211 GodotJavaWrapper *godot_java = OS_Android::get_singleton()->get_godot_java();
212 ERR_FAIL_NULL_V(godot_java, FAILED);
213 input_dialog_callback = p_callback;
214 return godot_java->show_input_dialog(p_title, p_description, p_partial);
215}
216
217void DisplayServerAndroid::emit_input_dialog_callback(String p_text) {
218 if (input_dialog_callback.is_valid()) {

Callers

nothing calls this directly

Calls 2

get_godot_javaMethod · 0.80
show_input_dialogMethod · 0.80

Tested by

no test coverage detected