mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 17:28:28 +00:00
Android: add helper function to open an URL/URI (see bug 2783)
This commit is contained in:
parent
45c644cc99
commit
dd55bfe89c
3 changed files with 47 additions and 0 deletions
|
@ -206,6 +206,13 @@ extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void);
|
|||
*/
|
||||
extern DECLSPEC SDL_bool SDLCALL SDL_AndroidRequestPermission(const char *permission);
|
||||
|
||||
/**
|
||||
\brief Open an URL / URI in the browser or other
|
||||
|
||||
\return 0 on success, or -1 on error.
|
||||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_AndroidOpenURL(const char *url);
|
||||
|
||||
#endif /* __ANDROID__ */
|
||||
|
||||
/* Platform specific functions for WinRT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue