Added documentation on loading assets on Android.
This commit is contained in:
parent
8e886bcdeb
commit
b6409c551c
2 changed files with 24 additions and 2 deletions
|
@ -76,7 +76,10 @@ extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity();
|
|||
#define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
|
||||
#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
|
||||
|
||||
/* Get the path used for internal storage for this application */
|
||||
/* Get the path used for internal storage for this application.
|
||||
This path is unique to your application and cannot be written to
|
||||
by other applications.
|
||||
*/
|
||||
extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath();
|
||||
|
||||
/* Get the current state of external storage, a bitmask of these values:
|
||||
|
@ -86,7 +89,10 @@ extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath();
|
|||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState();
|
||||
|
||||
/* Get the path used for external storage for this application */
|
||||
/* Get the path used for external storage for this application.
|
||||
This path is unique to your application, but is public and can be
|
||||
written to by other applications.
|
||||
*/
|
||||
extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath();
|
||||
|
||||
#endif /* __ANDROID__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue