3#include <QtCore/QJniEnvironment>
4#include <QtCore/QString>
33 JniLocalRef(JNIEnv* env, T ref =
nullptr) : _env(env), _ref(ref)
76 _env->DeleteLocalRef(_ref);
82 JNIEnv* _env =
nullptr;
JniLocalRef & operator=(JniLocalRef &&other) noexcept
void reset(T ref=nullptr)
JniLocalRef & operator=(const JniLocalRef &)=delete
JniLocalRef(const JniLocalRef &)=delete
JniLocalRef(JNIEnv *env, T ref=nullptr)
JniLocalRef(JniLocalRef &&other) noexcept
bool checkStoragePermissions()
void setBackgroundWork(BackgroundWork work, bool active)
void openFileImportDialog(const QString &destPath, std::function< void(const QString &)> callback)
BackgroundWork
What should go on while the app is in the background, where Android freezes an app and cuts its netwo...
void setKeepScreenOn(bool on)
constexpr const char * kJniQGCActivityClassName