Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
Interface - kodi::platform

Android platform specific functions More...

Functions

voidkodi::platform::CInterfaceAndroidSystem::GetJNIEnv ()
 request an JNI env pointer for the calling thread. JNI env has to be controlled by kodi because of the underlying threading concep. More...
 
int kodi::platform::CInterfaceAndroidSystem::GetSDKVersion ()
 request the android sdk version to e.g. initialize JNIBase. More...
 
std::string kodi::platform::CInterfaceAndroidSystem::GetClassName ()
 request the android main class name e.g. org.xbmc.kodi. More...
 

Detailed Description

Android platform specific functions

#include <kodi/platform/android/System.h>"

Function Documentation

◆ GetClassName()

std::string kodi::platform::CInterfaceAndroidSystem::GetClassName ( )
inline

request the android main class name e.g. org.xbmc.kodi.

Parameters
[in]
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
[in]
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
[in]
Returns
Android SDK version