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