Skip to content

Most visited

Recently visited

navigation

asset_manager.h File Reference

asset_manager.h File Reference

Typedefs

typedef struct AAssetManager AAssetManager
 
typedef struct AAssetDir AAssetDir
 
typedef struct AAsset AAsset
 

Enumerations

enum  { AASSET_MODE_UNKNOWN = 0, AASSET_MODE_RANDOM = 1, AASSET_MODE_STREAMING = 2, AASSET_MODE_BUFFER = 3 }
 

Functions

AAssetDirAAssetManager_openDir (AAssetManager *mgr, const char *dirName)
 
AAssetAAssetManager_open (AAssetManager *mgr, const char *filename, int mode)
 
const char * AAssetDir_getNextFileName (AAssetDir *assetDir)
 
void AAssetDir_rewind (AAssetDir *assetDir)
 
void AAssetDir_close (AAssetDir *assetDir)
 
int AAsset_read (AAsset *asset, void *buf, size_t count)
 
off_t AAsset_seek (AAsset *asset, off_t offset, int whence) __RENAME_IF_FILE_OFFSET64(AAsset_seek64)
 
off64_t AAsset_seek64 (AAsset *asset, off64_t offset, int whence)
 
void AAsset_close (AAsset *asset)
 
const void * AAsset_getBuffer (AAsset *asset)
 
off_t AAsset_getLength (AAsset *asset) __RENAME_IF_FILE_OFFSET64(AAsset_getLength64)
 
off64_t AAsset_getLength64 (AAsset *asset)
 
off_t AAsset_getRemainingLength (AAsset *asset) __RENAME_IF_FILE_OFFSET64(AAsset_getRemainingLength64)
 
off64_t AAsset_getRemainingLength64 (AAsset *asset)
 
int AAsset_openFileDescriptor (AAsset *asset, off_t *outStart, off_t *outLength) __RENAME_IF_FILE_OFFSET64(AAsset_openFileDescriptor64)
 
int AAsset_openFileDescriptor64 (AAsset *asset, off64_t *outStart, off64_t *outLength)
 
int AAsset_isAllocated (AAsset *asset)
 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)