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

io.qt.bluetooth.QLowEnergyConnectionParameters Maven / Gradle / Ivy

package io.qt.bluetooth;

import io.qt.*;


/**
 * 

Used when requesting or reporting an update of the parameters of a Bluetooth LE connection

*

Java wrapper for Qt class QLowEnergyConnectionParameters

*/ public class QLowEnergyConnectionParameters extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QLowEnergyConnectionParameters::QLowEnergyConnectionParameters()

*/ public QLowEnergyConnectionParameters(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QLowEnergyConnectionParameters instance); /** *

See QLowEnergyConnectionParameters::QLowEnergyConnectionParameters(QLowEnergyConnectionParameters)

*/ public QLowEnergyConnectionParameters(io.qt.bluetooth.@NonNull QLowEnergyConnectionParameters other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QLowEnergyConnectionParameters instance, io.qt.bluetooth.QLowEnergyConnectionParameters other); /** *

See QLowEnergyConnectionParameters::latency()const

*/ @QtUninvokable public final int latency(){ return latency_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int latency_native_constfct(long __this__nativeId); /** *

See QLowEnergyConnectionParameters::maximumInterval()const

*/ @QtUninvokable public final double maximumInterval(){ return maximumInterval_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double maximumInterval_native_constfct(long __this__nativeId); /** *

See QLowEnergyConnectionParameters::minimumInterval()const

*/ @QtUninvokable public final double minimumInterval(){ return minimumInterval_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double minimumInterval_native_constfct(long __this__nativeId); /** *

See QLowEnergyConnectionParameters::operator=(QLowEnergyConnectionParameters)

*/ @QtUninvokable public final void assign(io.qt.bluetooth.@NonNull QLowEnergyConnectionParameters other){ assign_native_cref_QLowEnergyConnectionParameters(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QLowEnergyConnectionParameters(long __this__nativeId, long other); /** *

See operator==(QLowEnergyConnectionParameters,QLowEnergyConnectionParameters)

*/ @QtUninvokable public final boolean equals(io.qt.bluetooth.@NonNull QLowEnergyConnectionParameters p2){ return equals_native_cref_QLowEnergyConnectionParameters(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p2)); } @QtUninvokable private native boolean equals_native_cref_QLowEnergyConnectionParameters(long __this__nativeId, long p2); /** *

See QLowEnergyConnectionParameters::setIntervalRange(double,double)

*/ @QtUninvokable public final void setIntervalRange(double minimum, double maximum){ setIntervalRange_native_double_double(QtJambi_LibraryUtilities.internal.nativeId(this), minimum, maximum); } @QtUninvokable private native void setIntervalRange_native_double_double(long __this__nativeId, double minimum, double maximum); /** *

See QLowEnergyConnectionParameters::setLatency(int)

*/ @QtUninvokable public final void setLatency(int latency){ setLatency_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), latency); } @QtUninvokable private native void setLatency_native_int(long __this__nativeId, int latency); /** *

See QLowEnergyConnectionParameters::setSupervisionTimeout(int)

*/ @QtUninvokable public final void setSupervisionTimeout(int timeout){ setSupervisionTimeout_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), timeout); } @QtUninvokable private native void setSupervisionTimeout_native_int(long __this__nativeId, int timeout); /** *

See QLowEnergyConnectionParameters::supervisionTimeout()const

*/ @QtUninvokable public final int supervisionTimeout(){ return supervisionTimeout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int supervisionTimeout_native_constfct(long __this__nativeId); /** *

See QLowEnergyConnectionParameters::swap(QLowEnergyConnectionParameters&)

*/ @QtUninvokable public final void swap(io.qt.bluetooth.@StrictNonNull QLowEnergyConnectionParameters other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QLowEnergyConnectionParameters(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QLowEnergyConnectionParameters(long __this__nativeId, long other); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QLowEnergyConnectionParameters(QPrivateConstructor p) { super(p); } /** *

See operator==(QLowEnergyConnectionParameters,QLowEnergyConnectionParameters)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.bluetooth.QLowEnergyConnectionParameters) { return equals((io.qt.bluetooth.QLowEnergyConnectionParameters) other); } return false; } /** * Returns the objects's hash code computed by qHash(QLowEnergyConnectionParameters). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

*/ @QtUninvokable @Override public QLowEnergyConnectionParameters clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QLowEnergyConnectionParameters clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy