Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Android platform specific functions
C++ class to query Android specific things in Kodi.
More...
Functions | |
void * | kodi::platform::CInterfaceAndroidSystem::GetJNIEnv () |
Request an JNI env pointer for the calling thread. | |
int | kodi::platform::CInterfaceAndroidSystem::GetSDKVersion () |
Request the android sdk version to e.g. initialize JNIBase . | |
std::string | kodi::platform::CInterfaceAndroidSystem::GetClassName () |
Request the android main class name e.g. org.xbmc.kodi . | |
Android platform specific functions
C++ class to query Android specific things in Kodi.
It has the header is #include <kodi/platform/android/System.h>.
Example:
|
inline |
Request the android main class name e.g. org.xbmc.kodi
.
|
inline |
Request an JNI env pointer for the calling thread.
JNI env has to be controlled by kodi because of the underlying threading concep.
|
inline |
Request the android sdk version to e.g. initialize JNIBase
.