All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.sensors.QSensor Maven / Gradle / Ivy

There is a newer version: 6.7.2
Show newest version
package io.qt.sensors;

import io.qt.*;


/**
 * 

Represents a single hardware sensor

*

Java wrapper for Qt class QSensor

*/ public class QSensor extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private java.util.Collection __rcFilters; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSensor.class); /** *

Java wrapper for Qt enum QSensor::AxesOrientationMode

*/ public enum AxesOrientationMode implements QtEnumerator { /** *

Representing QSensor::FixedOrientation

*/ FixedOrientation(0), /** *

Representing QSensor::AutomaticOrientation

*/ AutomaticOrientation(1), /** *

Representing QSensor::UserOrientation

*/ UserOrientation(2); static { QtJambi_LibraryUtilities.initialize(); } private AxesOrientationMode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull AxesOrientationMode resolve(int value) { switch (value) { case 0: return FixedOrientation; case 1: return AutomaticOrientation; case 2: return UserOrientation; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QSensor::Feature

*/ public enum Feature implements QtEnumerator { /** *

Representing QSensor::Buffering

*/ Buffering(0), /** *

Representing QSensor::AlwaysOn

*/ AlwaysOn(1), /** *

Representing QSensor::GeoValues

*/ GeoValues(2), /** *

Representing QSensor::FieldOfView

*/ FieldOfView(3), /** *

Representing QSensor::AccelerationMode

*/ AccelerationMode(4), /** *

Representing QSensor::SkipDuplicates

*/ SkipDuplicates(5), /** *

Representing QSensor::AxesOrientation

*/ AxesOrientation(6), /** *

Representing QSensor::PressureSensorTemperature

*/ PressureSensorTemperature(7), /** *

Representing QSensor::Reserved

*/ Reserved(257); static { QtJambi_LibraryUtilities.initialize(); } private Feature(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Feature resolve(int value) { switch (value) { case 0: return Buffering; case 1: return AlwaysOn; case 2: return GeoValues; case 3: return FieldOfView; case 4: return AccelerationMode; case 5: return SkipDuplicates; case 6: return AxesOrientation; case 7: return PressureSensorTemperature; case 257: return Reserved; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QSensor::activeChanged()

*/ @QtPropertyNotify(name="active") public final @NonNull Signal0 activeChanged = new Signal0(); /** *

See QSensor::alwaysOnChanged()

*/ @QtPropertyNotify(name="alwaysOn") public final @NonNull Signal0 alwaysOnChanged = new Signal0(); /** *

See QSensor::availableSensorsChanged()

*/ public final @NonNull Signal0 availableSensorsChanged = new Signal0(); /** *

See QSensor::axesOrientationModeChanged(QSensor::AxesOrientationMode)

*/ @QtPropertyNotify(name="axesOrientationMode") public final @NonNull Signal1 axesOrientationModeChanged = new Signal1<>(); /** *

See QSensor::bufferSizeChanged(int)

*/ @QtPropertyNotify(name="bufferSize") public final @NonNull Signal1 bufferSizeChanged = new Signal1<>(); /** *

See QSensor::busyChanged()

*/ @QtPropertyNotify(name="busy") public final @NonNull Signal0 busyChanged = new Signal0(); /** *

See QSensor::currentOrientationChanged(int)

*/ @QtPropertyNotify(name="currentOrientation") public final @NonNull Signal1 currentOrientationChanged = new Signal1<>(); /** *

See QSensor::dataRateChanged()

*/ @QtPropertyNotify(name="dataRate") public final @NonNull Signal0 dataRateChanged = new Signal0(); /** *

See QSensor::efficientBufferSizeChanged(int)

*/ @QtPropertyNotify(name="efficientBufferSize") public final @NonNull Signal1 efficientBufferSizeChanged = new Signal1<>(); /** *

See QSensor::identifierChanged()

*/ @QtPropertyNotify(name="identifier") public final @NonNull Signal0 identifierChanged = new Signal0(); /** *

See QSensor::maxBufferSizeChanged(int)

*/ @QtPropertyNotify(name="maxBufferSize") public final @NonNull Signal1 maxBufferSizeChanged = new Signal1<>(); /** *

See QSensor::readingChanged()

*/ @QtPropertyNotify(name="reading") public final @NonNull Signal0 readingChanged = new Signal0(); /** *

See QSensor::sensorError(int)

*/ @QtPropertyNotify(name="error") public final @NonNull Signal1 sensorError = new Signal1<>(); /** *

See QSensor::skipDuplicatesChanged(bool)

*/ @QtPropertyNotify(name="skipDuplicates") public final @NonNull Signal1 skipDuplicatesChanged = new Signal1<>(); /** *

See QSensor::userOrientationChanged(int)

*/ @QtPropertyNotify(name="userOrientation") public final @NonNull Signal1 userOrientationChanged = new Signal1<>(); /** *

See QSensor::QSensor(QByteArray,QObject*)

*/ public QSensor(io.qt.core.@NonNull QByteArray type, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, type, parent); } private native static void initialize_native(QSensor instance, io.qt.core.QByteArray type, io.qt.core.QObject parent); /** *

See QSensor::addFilter(QSensorFilter*)

*/ @QtUninvokable public final void addFilter(io.qt.sensors.@Nullable QSensorFilter filter){ addFilter_native_QSensorFilter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(filter)); if (filter != null) { if(__rcFilters==null) __rcFilters = QtJambi_LibraryUtilities.internal.newRCList(); __rcFilters.add(filter); } } @QtUninvokable private native void addFilter_native_QSensorFilter_ptr(long __this__nativeId, long filter); /** *

See QSensor::availableDataRates()const

*/ @QtPropertyReader(name="availableDataRates") @QtUninvokable public final io.qt.core.@NonNull QList> availableDataRates(){ return availableDataRates_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList> availableDataRates_native_constfct(long __this__nativeId); /** *

See QSensor::axesOrientationMode()const

*/ @QtPropertyReader(name="axesOrientationMode") @QtUninvokable public final io.qt.sensors.QSensor.@NonNull AxesOrientationMode axesOrientationMode(){ return io.qt.sensors.QSensor.AxesOrientationMode.resolve(axesOrientationMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int axesOrientationMode_native_constfct(long __this__nativeId); /** *

See QSensor::backend()const

*/ @QtUninvokable protected final io.qt.sensors.@Nullable QSensorBackend backend(){ return backend_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.sensors.QSensorBackend backend_native_constfct(long __this__nativeId); /** *

See QSensor::bufferSize()const

*/ @QtPropertyReader(name="bufferSize") @QtUninvokable public final int bufferSize(){ return bufferSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int bufferSize_native_constfct(long __this__nativeId); /** *

See QSensor::connectToBackend()

*/ public final boolean connectToBackend(){ return connectToBackend_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native boolean connectToBackend_native(long __this__nativeId); /** *

See QSensor::currentOrientation()const

*/ @QtPropertyReader(name="currentOrientation") @QtUninvokable public final int currentOrientation(){ return currentOrientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int currentOrientation_native_constfct(long __this__nativeId); /** *

See QSensor::dataRate()const

*/ @QtPropertyReader(name="dataRate") @QtUninvokable public final int dataRate(){ return dataRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int dataRate_native_constfct(long __this__nativeId); /** *

See QSensor::description()const

*/ @QtPropertyReader(name="description") @QtUninvokable public final java.lang.@NonNull String description(){ return description_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String description_native_constfct(long __this__nativeId); /** *

See QSensor::efficientBufferSize()const

*/ @QtPropertyReader(name="efficientBufferSize") @QtUninvokable public final int efficientBufferSize(){ return efficientBufferSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int efficientBufferSize_native_constfct(long __this__nativeId); /** *

See QSensor::error()const

*/ @QtPropertyReader(name="error") @QtUninvokable public final int error(){ return error_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int error_native_constfct(long __this__nativeId); /** *

See QSensor::filters()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList filters(){ return filters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList filters_native_constfct(long __this__nativeId); /** *

See QSensor::identifier()const

*/ @QtPropertyReader(name="identifier") @QtUninvokable public final io.qt.core.@NonNull QByteArray identifier(){ return identifier_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArray identifier_native_constfct(long __this__nativeId); /** *

See QSensor::isActive()const

*/ @QtPropertyReader(name="active") @QtUninvokable public final boolean isActive(){ return isActive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isActive_native_constfct(long __this__nativeId); /** *

See QSensor::isAlwaysOn()const

*/ @QtPropertyReader(name="alwaysOn") @QtUninvokable public final boolean isAlwaysOn(){ return isAlwaysOn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isAlwaysOn_native_constfct(long __this__nativeId); /** *

See QSensor::isBusy()const

*/ @QtPropertyReader(name="busy") @QtUninvokable public final boolean isBusy(){ return isBusy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isBusy_native_constfct(long __this__nativeId); /** *

See QSensor::isConnectedToBackend()const

*/ @QtPropertyReader(name="connectedToBackend") @QtUninvokable public final boolean isConnectedToBackend(){ return isConnectedToBackend_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isConnectedToBackend_native_constfct(long __this__nativeId); /** *

See QSensor::isFeatureSupported(QSensor::Feature)const

*/ public final boolean isFeatureSupported(io.qt.sensors.QSensor.@NonNull Feature feature){ return isFeatureSupported_native_QSensor_Feature_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), feature.value()); } private native boolean isFeatureSupported_native_QSensor_Feature_constfct(long __this__nativeId, int feature); /** *

See QSensor::maxBufferSize()const

*/ @QtPropertyReader(name="maxBufferSize") @QtUninvokable public final int maxBufferSize(){ return maxBufferSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int maxBufferSize_native_constfct(long __this__nativeId); /** *

See QSensor::outputRange()const

*/ @QtPropertyReader(name="outputRange") @QtUninvokable public final int outputRange(){ return outputRange_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int outputRange_native_constfct(long __this__nativeId); /** *

See QSensor::outputRanges()const

*/ @QtPropertyReader(name="outputRanges") @QtUninvokable public final io.qt.core.@NonNull QList outputRanges(){ return outputRanges_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList outputRanges_native_constfct(long __this__nativeId); /** *

See QSensor::reading()const

*/ @QtPropertyReader(name="reading") @QtDeclaredFinal @QtUninvokable public io.qt.sensors.@Nullable QSensorReading reading(){ return reading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.sensors.QSensorReading reading_native_constfct(long __this__nativeId); /** *

See QSensor::removeFilter(QSensorFilter*)

*/ @QtUninvokable public final void removeFilter(io.qt.sensors.@Nullable QSensorFilter filter){ removeFilter_native_QSensorFilter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(filter)); if (filter != null) { while (__rcFilters != null && __rcFilters.remove(filter)) ; } } @QtUninvokable private native void removeFilter_native_QSensorFilter_ptr(long __this__nativeId, long filter); /** *

See QSensor::setActive(bool)

*/ @QtPropertyWriter(name="active") @QtUninvokable public final void setActive(boolean active){ setActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), active); } @QtUninvokable private native void setActive_native_bool(long __this__nativeId, boolean active); /** *

See QSensor::setAlwaysOn(bool)

*/ @QtPropertyWriter(name="alwaysOn") @QtUninvokable public final void setAlwaysOn(boolean alwaysOn){ setAlwaysOn_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), alwaysOn); } @QtUninvokable private native void setAlwaysOn_native_bool(long __this__nativeId, boolean alwaysOn); /** *

See QSensor::setAxesOrientationMode(QSensor::AxesOrientationMode)

*/ @QtPropertyWriter(name="axesOrientationMode") @QtUninvokable public final void setAxesOrientationMode(io.qt.sensors.QSensor.@NonNull AxesOrientationMode axesOrientationMode){ setAxesOrientationMode_native_QSensor_AxesOrientationMode(QtJambi_LibraryUtilities.internal.nativeId(this), axesOrientationMode.value()); } @QtUninvokable private native void setAxesOrientationMode_native_QSensor_AxesOrientationMode(long __this__nativeId, int axesOrientationMode); /** *

See QSensor::setBufferSize(int)

*/ @QtPropertyWriter(name="bufferSize") @QtUninvokable public final void setBufferSize(int bufferSize){ setBufferSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), bufferSize); } @QtUninvokable private native void setBufferSize_native_int(long __this__nativeId, int bufferSize); /** *

See QSensor::setCurrentOrientation(int)

*/ @QtUninvokable public final void setCurrentOrientation(int currentOrientation){ setCurrentOrientation_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), currentOrientation); } @QtUninvokable private native void setCurrentOrientation_native_int(long __this__nativeId, int currentOrientation); /** *

See QSensor::setDataRate(int)

*/ @QtPropertyWriter(name="dataRate") @QtUninvokable public final void setDataRate(int rate){ setDataRate_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), rate); } @QtUninvokable private native void setDataRate_native_int(long __this__nativeId, int rate); /** *

See QSensor::setEfficientBufferSize(int)

*/ @QtUninvokable public final void setEfficientBufferSize(int efficientBufferSize){ setEfficientBufferSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), efficientBufferSize); } @QtUninvokable private native void setEfficientBufferSize_native_int(long __this__nativeId, int efficientBufferSize); /** *

See QSensor::setIdentifier(QByteArray)

*/ @QtPropertyWriter(name="identifier") @QtUninvokable public final void setIdentifier(io.qt.core.@NonNull QByteArray identifier){ setIdentifier_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(identifier)); } @QtUninvokable private native void setIdentifier_native_cref_QByteArray(long __this__nativeId, long identifier); /** *

See QSensor::setMaxBufferSize(int)

*/ @QtUninvokable public final void setMaxBufferSize(int maxBufferSize){ setMaxBufferSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), maxBufferSize); } @QtUninvokable private native void setMaxBufferSize_native_int(long __this__nativeId, int maxBufferSize); /** *

See QSensor::setOutputRange(int)

*/ @QtPropertyWriter(name="outputRange") @QtUninvokable public final void setOutputRange(int index){ setOutputRange_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native void setOutputRange_native_int(long __this__nativeId, int index); /** *

See QSensor::setSkipDuplicates(bool)

*/ @QtPropertyWriter(name="skipDuplicates") @QtUninvokable public final void setSkipDuplicates(boolean skipDuplicates){ setSkipDuplicates_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), skipDuplicates); } @QtUninvokable private native void setSkipDuplicates_native_bool(long __this__nativeId, boolean skipDuplicates); /** *

See QSensor::setUserOrientation(int)

*/ @QtPropertyWriter(name="userOrientation") @QtUninvokable public final void setUserOrientation(int userOrientation){ setUserOrientation_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), userOrientation); } @QtUninvokable private native void setUserOrientation_native_int(long __this__nativeId, int userOrientation); /** *

See QSensor::skipDuplicates()const

*/ @QtPropertyReader(name="skipDuplicates") @QtUninvokable public final boolean skipDuplicates(){ return skipDuplicates_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean skipDuplicates_native_constfct(long __this__nativeId); /** *

See QSensor::start()

*/ public final boolean start(){ return start_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native boolean start_native(long __this__nativeId); /** *

See QSensor::stop()

*/ public final void stop(){ stop_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void stop_native(long __this__nativeId); /** *

See QSensor::type()const

*/ @QtPropertyReader(name="type") @QtPropertyConstant @QtUninvokable public final io.qt.core.@NonNull QByteArray type(){ return type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArray type_native_constfct(long __this__nativeId); /** *

See QSensor::userOrientation()const

*/ @QtPropertyReader(name="userOrientation") @QtUninvokable public final int userOrientation(){ return userOrientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int userOrientation_native_constfct(long __this__nativeId); /** *

See QSensor::defaultSensorForType(QByteArray)

*/ public static io.qt.core.@NonNull QByteArray defaultSensorForType(io.qt.core.@NonNull QByteArray type){ return defaultSensorForType_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(type)); } private native static io.qt.core.QByteArray defaultSensorForType_native_cref_QByteArray(long type); /** *

See QSensor::sensorTypes()

*/ public native static io.qt.core.@NonNull QList sensorTypes(); /** *

See QSensor::sensorsForType(QByteArray)

*/ public static io.qt.core.@NonNull QList sensorsForType(io.qt.core.@NonNull QByteArray type){ return sensorsForType_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(type)); } private native static io.qt.core.QList sensorsForType_native_cref_QByteArray(long type); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QSensor(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QSensor(io.qt.core.QByteArray, io.qt.core.QObject)} * with parent = null.

*/ public QSensor(io.qt.core.@NonNull QByteArray type) { this(type, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QSensor(byte[], io.qt.core.QObject)} * with parent = null.

*/ public QSensor(byte @NonNull[] type) { this(type, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QSensor(io.qt.core.QByteArray, io.qt.core.QObject)}.

*/ public QSensor(byte @NonNull[] type, io.qt.core.@Nullable QObject parent) { this(new io.qt.core.QByteArray(type), parent); } /** * @hidden *

Kotlin property getter. In Java use {@link #availableDataRates()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QList> getAvailableDataRates() { return availableDataRates(); } /** * @hidden *

Kotlin property getter. In Java use {@link #axesOrientationMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.sensors.QSensor.@NonNull AxesOrientationMode getAxesOrientationMode() { return axesOrientationMode(); } /** * @hidden *

Kotlin property getter. In Java use {@link #bufferSize()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getBufferSize() { return bufferSize(); } /** * @hidden *

Kotlin property getter. In Java use {@link #currentOrientation()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCurrentOrientation() { return currentOrientation(); } /** * @hidden *

Kotlin property getter. In Java use {@link #dataRate()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getDataRate() { return dataRate(); } /** * @hidden *

Kotlin property getter. In Java use {@link #description()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getDescription() { return description(); } /** * @hidden *

Kotlin property getter. In Java use {@link #efficientBufferSize()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getEfficientBufferSize() { return efficientBufferSize(); } /** * @hidden *

Kotlin property getter. In Java use {@link #error()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getError() { return error(); } /** * @hidden *

Kotlin property getter. In Java use {@link #identifier()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QByteArray getIdentifier() { return identifier(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isActive()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getActive() { return isActive(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isAlwaysOn()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAlwaysOn() { return isAlwaysOn(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isBusy()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getBusy() { return isBusy(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isConnectedToBackend()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getConnectedToBackend() { return isConnectedToBackend(); } /** * @hidden *

Kotlin property getter. In Java use {@link #maxBufferSize()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMaxBufferSize() { return maxBufferSize(); } /** * @hidden *

Kotlin property getter. In Java use {@link #outputRange()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getOutputRange() { return outputRange(); } /** * @hidden *

Kotlin property getter. In Java use {@link #outputRanges()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QList getOutputRanges() { return outputRanges(); } /** * @hidden *

Kotlin property getter. In Java use {@link #reading()} instead.

*/ @QtPropertyReader(enabled=false) @QtDeclaredFinal @QtUninvokable public final io.qt.sensors.@Nullable QSensorReading getReading() { return reading(); } /** *

Overloaded function for {@link #setIdentifier(io.qt.core.QByteArray)}.

*/ @QtUninvokable public final void setIdentifier(byte @NonNull[] identifier) { setIdentifier(new io.qt.core.QByteArray(identifier)); } /** * @hidden *

Kotlin property getter. In Java use {@link #skipDuplicates()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getSkipDuplicates() { return skipDuplicates(); } /** * @hidden *

Kotlin property getter. In Java use {@link #type()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QByteArray getType() { return type(); } /** * @hidden *

Kotlin property getter. In Java use {@link #userOrientation()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getUserOrientation() { return userOrientation(); } /** *

Overloaded function for {@link #defaultSensorForType(io.qt.core.QByteArray)}.

*/ public static io.qt.core.@NonNull QByteArray defaultSensorForType(byte @NonNull[] type) { return defaultSensorForType(new io.qt.core.QByteArray(type)); } /** *

Overloaded function for {@link #sensorsForType(io.qt.core.QByteArray)}.

*/ public static io.qt.core.@NonNull QList sensorsForType(byte @NonNull[] type) { return sensorsForType(new io.qt.core.QByteArray(type)); } }