io.qt.sensors.QTapSensor 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 QTapSensor
*/
public class QTapSensor 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(QTapSensor.class);
/**
* See QTapSensor:: returnDoubleTapEventsChanged(bool)
*/
@QtPropertyNotify(name="returnDoubleTapEvents")
public final @NonNull Signal1 returnDoubleTapEventsChanged = new Signal1<>();
/**
* See QTapSensor:: QTapSensor(QObject*)
*/
public QTapSensor(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTapSensor instance, io.qt.core.QObject parent);
/**
* See QSensor:: reading()const
*/
@QtUninvokable
public final io.qt.sensors.@Nullable QTapReading reading(){
return reading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.sensors.QTapReading reading_native_constfct(long __this__nativeId);
/**
* See QTapSensor:: returnDoubleTapEvents()const
*/
@QtPropertyReader(name="returnDoubleTapEvents")
@QtUninvokable
public final boolean returnDoubleTapEvents(){
return returnDoubleTapEvents_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean returnDoubleTapEvents_native_constfct(long __this__nativeId);
/**
* See QTapSensor:: setReturnDoubleTapEvents(bool)
*/
@QtPropertyWriter(name="returnDoubleTapEvents")
@QtUninvokable
public final void setReturnDoubleTapEvents(boolean returnDoubleTapEvents){
setReturnDoubleTapEvents_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), returnDoubleTapEvents);
}
@QtUninvokable
private native void setReturnDoubleTapEvents_native_bool(long __this__nativeId, boolean returnDoubleTapEvents);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTapSensor(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QTapSensor(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QTapSensor instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QTapSensor(io.qt.core.QObject)}
* with parent = null
.
*/
public QTapSensor() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #returnDoubleTapEvents()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getReturnDoubleTapEvents() {
return returnDoubleTapEvents();
}
}