Android platform specific functions
More...
Android platform specific functions
#include <kodi/platform/android/System.h>"
◆ GetClassName()
std::string kodi::platform::CInterfaceAndroidSystem::GetClassName |
( |
| ) |
|
|
inline |
request the android main class name e.g. org.xbmc.kodi.
- Parameters
-
- Returns
- package class name
◆ GetJNIEnv()
void * kodi::platform::CInterfaceAndroidSystem::GetJNIEnv |
( |
| ) |
|
|
inline |
request an JNI env pointer for the calling thread. JNI env has to be controlled by kodi because of the underlying threading concep.
- Parameters
-
- Returns
- JNI env pointer for the calling thread
◆ GetSDKVersion()
int kodi::platform::CInterfaceAndroidSystem::GetSDKVersion |
( |
| ) |
|
|
inline |
request the android sdk version to e.g. initialize JNIBase.
- Parameters
-
- Returns
- Android SDK version