io.qt.core.nativeinterface.QAndroidApplication Maven / Gradle / Ivy
package io.qt.core.nativeinterface;
/**
* Native interface to a core application on Android
* Java wrapper for Qt class QNativeInterface::QAndroidApplication
*/
public interface QAndroidApplication extends io.qt.QtObjectInterface
{
/**
* Implementor class for interface {@link io.qt.core.nativeinterface.QAndroidApplication}
*/
public static class Impl extends io.qt.QtObject
implements io.qt.core.nativeinterface.QAndroidApplication
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QNativeInterface::QAndroidApplication::context()
*/
private native static java.lang.Object context();
/**
* Overloaded function for {@link #hideSplashScreen(int)}
* with duration = 0
.
*/
private static void hideSplashScreen() {
hideSplashScreen((int)0);
}
/**
* See QNativeInterface::QAndroidApplication::hideSplashScreen(int)
*/
private native static void hideSplashScreen(int duration);
/**
* See QNativeInterface::QAndroidApplication::isActivityContext()
*/
private native static boolean isActivityContext();
/**
* See QNativeInterface::QAndroidApplication::sdkVersion()
*/
private native static int sdkVersion();
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QNativeInterface::QAndroidApplication::context()
*/
public static java.lang.Object context(){
return Impl.context();
}
/**
* Overloaded function for {@link #hideSplashScreen(int)}
* with duration = 0
.
*/
public static void hideSplashScreen() {
hideSplashScreen((int)0);
}
/**
* See QNativeInterface::QAndroidApplication::hideSplashScreen(int)
*/
public static void hideSplashScreen(int duration){
Impl.hideSplashScreen(duration);
}
/**
* See QNativeInterface::QAndroidApplication::isActivityContext()
*/
public static boolean isActivityContext(){
return Impl.isActivityContext();
}
/**
*
*/
public static int sdkVersion(){
return Impl.sdkVersion();
}
}