Added SDL_IsAndroidTV()

This commit is contained in:
Sam Lantinga 2018-02-06 15:03:35 -08:00
parent 2b441ec6c4
commit 6ed184ec69
5 changed files with 38 additions and 4 deletions

View file

@ -108,6 +108,11 @@ extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv(void);
*/
extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
/**
\brief Return true if the application is running on Android TV
*/
extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void);
/**
See the official Android developer guide for more information:
http://developer.android.com/guide/topics/data/data-storage.html