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

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

package io.qt.bluetooth;

import io.qt.*;


/**
 * 

Encapsulates the details of a local QBluetooth device

*

Java wrapper for Qt class QBluetoothHostInfo

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

See QBluetoothHostInfo::QBluetoothHostInfo()

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

See QBluetoothHostInfo::QBluetoothHostInfo(QBluetoothHostInfo)

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

See QBluetoothHostInfo::address()const

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

See QBluetoothHostInfo::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 QBluetoothHostInfo::operator=(QBluetoothHostInfo)

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

See QBluetoothHostInfo::operator==(QBluetoothHostInfo)const

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

See QBluetoothHostInfo::setAddress(QBluetoothAddress)

*/ @QtUninvokable public final void setAddress(io.qt.bluetooth.@NonNull QBluetoothAddress address){ setAddress_native_cref_QBluetoothAddress(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(address)); } @QtUninvokable private native void setAddress_native_cref_QBluetoothAddress(long __this__nativeId, long address); /** *

See QBluetoothHostInfo::setName(QString)

*/ @QtUninvokable public final void setName(java.lang.@NonNull String name){ setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QBluetoothHostInfo(QPrivateConstructor p) { super(p); } /** *

See QBluetoothHostInfo::operator==(QBluetoothHostInfo)const

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy