Storage
Summary
Enumerations |
|
|---|---|
Anonymous Enum 107{
|
enum The different states of a OBB storage passed to AStorageManager_obbCallbackFunc(). |
Anonymous Enum 56{
|
enum Flag for an obb file, returned by AObbInfo_getFlags(). |
Typedefs |
|
|---|---|
AObbInfo
|
typedefstruct AObbInfo
AObbInfo is an opaque type representing information for obb storage. |
AStorageManager
|
typedefstruct AStorageManager
AStorageManager manages application OBB storage, a pointer can be obtained with AStorageManager_new(). |
AStorageManager_obbCallbackFunc)(const char *filename, const int32_t state, void *data)
|
typedefvoid(*
Callback function for asynchronous calls made on OBB files. |
Functions |
|
|---|---|
AObbInfo_delete(AObbInfo *obbInfo)
|
void
Destroy the AObbInfo object.
|
AObbInfo_getFlags(AObbInfo *obbInfo)
|
int32_t
Get the flags of an OBB file.
|
AObbInfo_getPackageName(AObbInfo *obbInfo)
|
const char *
Get the package name for the OBB.
|
AObbInfo_getVersion(AObbInfo *obbInfo)
|
int32_t
Get the version of an OBB file.
|
AObbScanner_getObbInfo(const char *filename)
|
AObbInfo *
Scan an OBB and get information about it.
|
AStorageManager_delete(AStorageManager *mgr)
|
void
Release AStorageManager instance.
|
AStorageManager_getMountedObbPath(AStorageManager *mgr, const char *filename)
|
const char *
Get the mounted path for an OBB.
|
AStorageManager_isObbMounted(AStorageManager *mgr, const char *filename)
|
int
Check whether an OBB is mounted.
|
AStorageManager_mountObb(AStorageManager *mgr, const char *filename, const char *key, AStorageManager_obbCallbackFunc cb, void *data)
|
void
Attempts to mount an OBB file.
|
AStorageManager_new()
|
Obtains a new instance of AStorageManager.
|
AStorageManager_unmountObb(AStorageManager *mgr, const char *filename, const int force, AStorageManager_obbCallbackFunc cb, void *data)
|
void
Attempts to unmount an OBB file.
|
Enumerations
Anonymous Enum 107
Declared inandroid/storage_manager.h
Anonymous Enum 107
The different states of a OBB storage passed to AStorageManager_obbCallbackFunc().
Anonymous Enum 56
Declared inandroid/obb.h
Anonymous Enum 56
Flag for an obb file, returned by AObbInfo_getFlags().
| Properties | |
|---|---|
AOBBINFO_OVERLAY
|
overlay |
Typedefs
AObbInfo
Declared inandroid/obb.h
struct AObbInfo AObbInfo
AObbInfo is an opaque type representing information for obb storage.
AStorageManager
Declared inandroid/storage_manager.h
struct AStorageManager AStorageManager
AStorageManager manages application OBB storage, a pointer can be obtained with AStorageManager_new().
AStorageManager_obbCallbackFunc
Declared inandroid/storage_manager.h
void(*AStorageManager_obbCallbackFunc)(constchar*filename,constint32_tstate,void*data)
Callback function for asynchronous calls made on OBB files.
"state" is one of the following constants:
Functions
AObbInfo_delete
Declared inandroid/obb.h
void AObbInfo_delete( AObbInfo *obbInfo )
Destroy the AObbInfo object.
You must call this when finished with the object.
AObbInfo_getFlags
Declared inandroid/obb.h
int32_t AObbInfo_getFlags( AObbInfo *obbInfo )
Get the flags of an OBB file.
AObbInfo_getPackageName
Declared inandroid/obb.h
constchar*AObbInfo_getPackageName( AObbInfo *obbInfo )
Get the package name for the OBB.
AObbInfo_getVersion
Declared inandroid/obb.h
int32_t AObbInfo_getVersion( AObbInfo *obbInfo )
Get the version of an OBB file.
AObbScanner_getObbInfo
Declared inandroid/obb.h
AObbInfo *AObbScanner_getObbInfo( constchar*filename )
Scan an OBB and get information about it.
AStorageManager_delete
Declared inandroid/storage_manager.h
void AStorageManager_delete( AStorageManager *mgr )
Release AStorageManager instance.
AStorageManager_getMountedObbPath
Declared inandroid/storage_manager.h
constchar*AStorageManager_getMountedObbPath( AStorageManager *mgr, constchar*filename )
Get the mounted path for an OBB.
AStorageManager_isObbMounted
Declared inandroid/storage_manager.h
intAStorageManager_isObbMounted( AStorageManager *mgr, constchar*filename )
Check whether an OBB is mounted.
AStorageManager_mountObb
Declared inandroid/storage_manager.h
voidAStorageManager_mountObb( AStorageManager *mgr, constchar*filename, constchar*key, AStorageManager_obbCallbackFunc cb, void*data )
Attempts to mount an OBB file.
This is an asynchronous operation.
Since API level 33, this function can only be used to mount unencrypted OBBs, i.e. thekey
null
key
AStorageManager_new
Declared inandroid/storage_manager.h
AStorageManager * AStorageManager_new()
Obtains a new instance of AStorageManager.
AStorageManager_unmountObb
Declared inandroid/storage_manager.h
voidAStorageManager_unmountObb( AStorageManager *mgr, constchar*filename, constintforce, AStorageManager_obbCallbackFunc cb, void*data )
Attempts to unmount an OBB file.
This is an asynchronous operation.