Struct ndk::asset::AssetManager [−][src]
pub struct AssetManager { /* fields omitted */ }
Expand description
A native AAssetManager *
.
Implementations
Create an AssetManager
from a pointer
Safety
By calling this function, you assert that the pointer is a valid pointer to a native
AAssetManager
.
Returns the pointer to the native AAssetManager
.
Open the asset. Returns None
if opening the asset fails.
This currently always opens the asset in the streaming mode.