37 jvm->AttachCurrentThread(&
jenv,
nullptr);
45 jvm->AttachCurrentThread(&
jenv,
nullptr);
static const char * JAVA_METHOD_NAME
called method name
jmethodID callbackMethodId
CallbackTask(JNIEnv *jenv)
static const char * JAVA_CLASS_NAME
callback object java class name
bool process(TaskThread &thread)
Executes the task on CPU within a given thread.
void setCallbackObject(JNIEnv *jenv, jobject obj)
Sets the object to be called.