gvr_context* AndroidThunkCpp_GetNativeGVRApi() { if (JNIEnv* Env = FAndroidApplication::GetJavaEnv()) { static jmethodID Method = FJavaWrapper::FindMethod(Env, FJavaWrapper::GameActivityClassID, "AndroidThunkJava_GetNativeGVRApi", "()J", false); return reinterpret_cast<gvr_context*>(CallLongMethod(Env, FJavaWrapper::GameActivityThis, Method)); } return nullptr; }
long JInputStream::skip(jlong byteCount) { return CallLongMethod("skip", "(J)J", byteCount); }
jlong JNumber::longValue() { return CallLongMethod("longValue", "()J"); }