class Core::Java::Jni

Overview

Jni. More…

#include <corejnienvironment.h>

class Jni
{
public:
    // methods

    static void init(JNIEnv* jni, JavaVM* vm);
    static void share(const Jni& jni);
    static void exit();
    static JNIEnv* getEnvironment();
    static void detachCurrentThread();
    static bool checkException();
    static bool checkException(JNIEnv* jni);
    static Jni& getInstance();
};

Detailed Documentation

Jni.

Static functions that provide access to a JNIEnv instance per thread.

Methods

static JNIEnv* getEnvironment()

return JNIEnv instance for current thread