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