MCPcopy Create free account
hub / github.com/defold/defold / GetAndroidAssetManager

Function GetAndroidAssetManager

engine/dlib/src/dlib/sys_android.cpp:377–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375 }
376
377 static AAssetManager* GetAndroidAssetManager()
378 {
379 struct android_app* app = dmAndroid::GetAndroidApp();
380 if (!app)
381 return 0;
382 if (!app->activity)
383 return 0;
384 return app->activity->assetManager;
385 }
386
387 bool ResourceExists(const char* path)
388 {

Callers 4

ResourceExistsFunction · 0.70
ResourceSizeFunction · 0.70
LoadResourceFunction · 0.70
LoadResourcePartialFunction · 0.70

Calls 1

GetAndroidAppFunction · 0.70

Tested by

no test coverage detected