8 #ifndef META_OCEAN_PLATFORM_ANDROID_NATIVE_SCOPED_JNI_ENVIRONMENT_H
9 #define META_OCEAN_PLATFORM_ANDROID_NATIVE_SCOPED_JNI_ENVIRONMENT_H
46 inline JNIEnv* jniEnv()
const;
52 inline bool isValid()
const;
58 inline JNIEnv* operator->()
const;
64 explicit inline operator bool()
const;
84 JavaVM* javaVM_ =
nullptr;
87 JNIEnv* jniEnv_ =
nullptr;
90 bool threadAttachedExplicitly_ =
false;
110 inline ScopedJNIEnvironment::operator bool()
const
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15