SDL_GETANDROIDEXTERNALSTORAGESTATE(3)

πŸ’– SDL_GetAndroidExternalStorageState πŸ’–

okay bestie, so this is a lil function from the SDL3 FUNCTIONS girlies, and she's here to spill the tea on your Android app's external storage situation 🫢


✨ NAME ✨

SDL_GetAndroidExternalStorageState β€” get the current state of external storage for this Android application πŸ’…


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_system.h>

Uint32 SDL_GetAndroidExternalStorageState(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically she returns the current state of external storage, and it's a bitmask of these values, okay? not one thing, a combo, she's multi-talented like that:

  • SDL_ANDROID_EXTERNAL_STORAGE_READ
  • SDL_ANDROID_EXTERNAL_STORAGE_WRITE

and if external storage is currently unavailable, she's gonna return 0. no cap. it's giving "nobody's home" energy 😭


πŸ”₯ RETURN VALUE πŸ”₯

she returns the current state of external storage β€” or 0 if external storage is currently unavailable. that's it, that's the whole vibe check πŸ‘‘


⭐ AVAILABILITY ⭐

this function has been available since SDL 3.2.0. she's not new new, she's established, she ate and left no crumbs πŸ’…


πŸŽ€ SEE ALSO πŸŽ€


and that's the whole page bestie, mwah πŸ’–

signed, sealed, delivered by Simple Directmedia Layer Β· SDL 3.4.18 Β· SDL_GetAndroi...lStorageState(3) β€” periodt, see you in the next manpage 🧚✨

πŸ“¦ where this page comes from