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

Method create

src/cinder/android/video/VideoPlayer.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90VideoPlayerRef VideoPlayer::create( const ci::Url& url )
91{
92 jstring jstrUrl = JniHelper::Get()->NewStringUTF( url.str() );
93 jobject obj = JniHelper::Get()->CallStaticObjectMethod( Java::ClassObject, Java::createFromUrl, jstrUrl );
94 JniHelper::Get()->DeleteLocalRef( jstrUrl );
95
96 VideoPlayerRef result = VideoPlayerRef( new VideoPlayer( obj ) );
97 return result;
98}
99
100VideoPlayerRef VideoPlayer::create( const ci::fs::path& path )
101{

Callers

nothing calls this directly

Calls 7

dbg_app_logFunction · 0.85
NewStringUTFMethod · 0.80
DeleteLocalRefMethod · 0.80
strMethod · 0.45
stringMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected