MCPcopy Create free account
hub / github.com/cinder/Cinder / NewStringUTF

Method NewStringUTF

src/cinder/android/JniHelper.cpp:849–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849jstring JniHelper::NewStringUTF( const std::string& str )
850{
851 jstring result = nullptr;
852 auto jniEnv = JvmHelper_CurrentJniEnv();
853 if( jniEnv ) {
854 result = jniEnv->NewStringUTF( str.c_str() );
855 }
856 return result;
857}
858
859void JniHelper::DeleteLocalRef( jobject localRef )
860{

Callers 9

RetrieveClassMethod · 0.80
SetStaticStringFieldMethod · 0.80
SetStringFieldMethod · 0.80
startCaptureMethod · 0.80
setWallpaperMethod · 0.80
launchWebBrowserMethod · 0.80
launchTwitterMethod · 0.80
loadUrlMethod · 0.80
createMethod · 0.80

Calls 2

JvmHelper_CurrentJniEnvFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected