#include <scoped_java_ref.h>
Definition at line 42 of file scoped_java_ref.h.
◆ JavaRef() [1/2]
◆ JavaRef() [2/2]
◆ ~JavaRef()
◆ is_null()
◆ obj()
◆ ReleaseInternal()
◆ ResetGlobalRef()
Definition at line 80 of file scoped_java_ref.cc.
80 {
81 if (obj_) {
83 obj_ = NULL;
84 }
85}
JNIEnv * AttachCurrentThread()
◆ ResetLocalRef()
Definition at line 72 of file scoped_java_ref.cc.
72 {
73 if (obj_) {
75 env->DeleteLocalRef(obj_);
76 obj_ = NULL;
77 }
78}
◆ SetNewGlobalRef()
Definition at line 57 of file scoped_java_ref.cc.
57 {
60 } else {
62 }
65 }
66 if (obj_) {
67 env->DeleteGlobalRef(obj_);
68 }
70}
◆ SetNewLocalRef()
Definition at line 41 of file scoped_java_ref.cc.
41 {
44 } else {
46 }
49 }
50 if (obj_) {
51 env->DeleteLocalRef(obj_);
52 }
55}
The documentation for this class was generated from the following files: