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

Method has_feature

platform/android/java_godot_wrapper.cpp:521–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521bool GodotJavaWrapper::has_feature(const String &p_feature) const {
522 if (_has_feature) {
523 JNIEnv *env = get_jni_env();
524 ERR_FAIL_NULL_V(env, false);
525
526 jstring j_feature = env->NewStringUTF(p_feature.utf8().get_data());
527 bool result = env->CallBooleanMethod(godot_instance, _has_feature, j_feature);
528 env->DeleteLocalRef(j_feature);
529 return result;
530 } else {
531 return false;
532 }
533}
534
535Error GodotJavaWrapper::sign_apk(const String &p_input_path, const String &p_output_path, const String &p_keystore_path, const String &p_keystore_user, const String &p_keystore_password) {
536 if (_sign_apk) {

Callers 2

Calls 3

get_jni_envFunction · 0.85
get_dataMethod · 0.45
utf8Method · 0.45

Tested by

no test coverage detected