MCPcopy Create free account
hub / github.com/NativeScript/android / GetJavaObjectByIDImpl

Method GetJavaObjectByIDImpl

test-app/runtime/src/main/cpp/ObjectManager.cpp:181–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181jobject ObjectManager::GetJavaObjectByIDImpl(uint32_t javaObjectID) {
182 JEnv env;
183 jobject object = env.CallObjectMethod(
184 m_javaRuntimeObject, GET_JAVAOBJECT_BY_ID_METHOD_ID, javaObjectID);
185 return object;
186}
187
188void ObjectManager::UpdateCache(int objectID, jobject obj) {
189 m_cache.update(objectID, obj);

Callers 1

Calls 1

CallObjectMethodMethod · 0.80

Tested by

no test coverage detected