MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / Parse

Method Parse

Dependencies/AndroidExtensions/Source/JavaWrappers.cpp:289–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 }
288
289 Uri Uri::Parse(java::lang::String uriString)
290 {
291 JNIEnv* env{GetEnvForCurrentThread()};
292 jclass cls{env->FindClass("android/net/Uri")};
293 return {env->CallStaticObjectMethod(cls, env->GetStaticMethodID(cls, "parse", "(Ljava/lang/String;)Landroid/net/Uri;"), (jstring)uriString)};
294 }
295}

Callers 1

Calls 1

GetEnvForCurrentThreadFunction · 0.85

Tested by

no test coverage detected