io.qt.sensors.QCompass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-sensors Show documentation
Show all versions of qtjambi-sensors Show documentation
Provides access to sensor hardware and motion gesture recognition.
package io.qt.sensors;
import io.qt.*;
/**
* Convenience wrapper around QSensor
* Java wrapper for Qt class QCompass
*/
public class QCompass extends io.qt.sensors.QSensor
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCompass.class);
/**
* See QCompass:: QCompass(QObject*)
*/
public QCompass(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCompass instance, io.qt.core.QObject parent);
/**
*
*/
@QtUninvokable
public final io.qt.sensors.@Nullable QCompassReading reading(){
return reading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.sensors.QCompassReading reading_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCompass(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCompass(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCompass instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QCompass(io.qt.core.QObject)}
* with parent = null
.
*/
public QCompass() {
this((io.qt.core.QObject)null);
}
}