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

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

package io.qt.bluetooth;

import io.qt.*;


/**
 * 

Stores information about the Bluetooth Low Energy descriptor

*

Java wrapper for Qt class QLowEnergyDescriptor

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

See QLowEnergyDescriptor::QLowEnergyDescriptor()

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

See QLowEnergyDescriptor::QLowEnergyDescriptor(QLowEnergyDescriptor)

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

See QLowEnergyDescriptor::characteristicHandle()const

*/ @QtUninvokable protected final short characteristicHandle(){ return characteristicHandle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short characteristicHandle_native_constfct(long __this__nativeId); /** *

See QLowEnergyDescriptor::handle()const

*/ @QtUninvokable public final short handle(){ return handle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short handle_native_constfct(long __this__nativeId); /** *

See QLowEnergyDescriptor::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QLowEnergyDescriptor::name()const

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

See QLowEnergyDescriptor::operator=(QLowEnergyDescriptor)

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

See QLowEnergyDescriptor::operator==(QLowEnergyDescriptor)const

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

See QLowEnergyDescriptor::type()const

*/ @QtUninvokable public final io.qt.bluetooth.QBluetoothUuid.@NonNull DescriptorType type(){ return io.qt.bluetooth.QBluetoothUuid.DescriptorType.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int type_native_constfct(long __this__nativeId); /** *

See QLowEnergyDescriptor::uuid()const

*/ @QtUninvokable public final io.qt.bluetooth.@NonNull QBluetoothUuid uuid(){ return uuid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.bluetooth.QBluetoothUuid uuid_native_constfct(long __this__nativeId); /** *

See QLowEnergyDescriptor::value()const

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray value(){ return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArray value_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QLowEnergyDescriptor(QPrivateConstructor p) { super(p); } /** *

See QLowEnergyDescriptor::operator==(QLowEnergyDescriptor)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.bluetooth.QLowEnergyDescriptor) { return equals((io.qt.bluetooth.QLowEnergyDescriptor) other); } return false; } /** * Returns the objects's hash code computed by qHash(QLowEnergyDescriptor). */ @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 QLowEnergyDescriptor clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QLowEnergyDescriptor clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy