io.qt.core.nativeinterface.QAndroidApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core.nativeinterface;
import io.qt.*;
/**
* Native interface to a core application on Android
* Java wrapper for Qt class QNativeInterface::QAndroidApplication
* @since This class was introduced in Qt 6.2.
*/
public interface QAndroidApplication extends QtObjectInterface
{
/**
* @hidden
* Implementor class for interface {@link io.qt.core.nativeinterface.QAndroidApplication}
*/
public static class Impl extends QtObject
implements io.qt.core.nativeinterface.QAndroidApplication
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QNativeInterface::QAndroidApplication:: hideSplashScreen(int)
* @since This function was introduced in Qt 6.2.
* @param duration
*/
private native static void hideSplashScreen(int duration);
/**
* See QNativeInterface::QAndroidApplication:: isActivityContext()
* @since This function was introduced in Qt 6.2.
* @return
*/
private native static boolean isActivityContext();
/**
* See QNativeInterface::QAndroidApplication:: sdkVersion()
* @since This function was introduced in Qt 6.2.
* @return
*/
private native static int sdkVersion();
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
/**
* Overloaded function for {@link #hideSplashScreen(int)}
* with duration = 0
.
*/
private static void hideSplashScreen() {
hideSplashScreen((int)0);
}
}
/**
* See QNativeInterface::QAndroidApplication:: hideSplashScreen(int)
* @since This function was introduced in Qt 6.2.
* @param duration
*/
public static void hideSplashScreen(int duration){
Impl.hideSplashScreen(duration);
}
/**
* See QNativeInterface::QAndroidApplication:: isActivityContext()
* @since This function was introduced in Qt 6.2.
* @return
*/
public static boolean isActivityContext(){
return Impl.isActivityContext();
}
/**
* See QNativeInterface::QAndroidApplication:: sdkVersion()
* @since This function was introduced in Qt 6.2.
* @return
*/
public static int sdkVersion(){
return Impl.sdkVersion();
}
/**
* Overloaded function for {@link #hideSplashScreen(int)}
* with duration = 0
.
*/
public static void hideSplashScreen() {
hideSplashScreen((int)0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy