io.qt.sensors.QGyroscope 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 QGyroscope
*/
public class QGyroscope 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(QGyroscope.class);
/**
* See QGyroscope:: QGyroscope(QObject*)
*/
public QGyroscope(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGyroscope instance, io.qt.core.QObject parent);
/**
*
*/
@QtUninvokable
public final io.qt.sensors.@Nullable QGyroscopeReading reading(){
return reading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.sensors.QGyroscopeReading reading_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGyroscope(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QGyroscope(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QGyroscope instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QGyroscope(io.qt.core.QObject)}
* with parent = null
.
*/
public QGyroscope() {
this((io.qt.core.QObject)null);
}
}