includedServices_native_constfct(long __this__nativeId);
/**
* See QLowEnergyServiceData::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 QLowEnergyServiceData::operator=(QLowEnergyServiceData)
*/
@QtUninvokable
public final void assign(io.qt.bluetooth.@NonNull QLowEnergyServiceData other){
assign_native_cref_QLowEnergyServiceData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QLowEnergyServiceData(long __this__nativeId, long other);
/**
* Returns true if a and b are equal with respect to their public state, otherwise returns false
* See operator==(QLowEnergyServiceData,QLowEnergyServiceData)
*/
@QtUninvokable
public final boolean equals(io.qt.bluetooth.@NonNull QLowEnergyServiceData b){
return equals_native_cref_QLowEnergyServiceData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(b));
}
@QtUninvokable
private native boolean equals_native_cref_QLowEnergyServiceData(long __this__nativeId, long b);
/**
* See QLowEnergyServiceData::setCharacteristics(QList<QLowEnergyCharacteristicData>)
*/
@QtUninvokable
public final void setCharacteristics(java.util.@NonNull Collection extends io.qt.bluetooth.@NonNull QLowEnergyCharacteristicData> characteristics){
setCharacteristics_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), characteristics);
}
@QtUninvokable
private native void setCharacteristics_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.bluetooth.QLowEnergyCharacteristicData> characteristics);
/**
* See QLowEnergyServiceData::setIncludedServices(QList<QLowEnergyService*>)
*/
@QtUninvokable
public final void setIncludedServices(java.util.@NonNull Collection extends io.qt.bluetooth.@Nullable QLowEnergyService> services){
setIncludedServices_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), services);
if(__rcIncludedService!=null){
__rcIncludedService.clear();
}else{
__rcIncludedService = new java.util.ArrayList<>();
}
__rcIncludedService.addAll(services);
}
@QtUninvokable
private native void setIncludedServices_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.bluetooth.QLowEnergyService> services);
/**
* See QLowEnergyServiceData::setType(QLowEnergyServiceData::ServiceType)
*/
@QtUninvokable
public final void setType(io.qt.bluetooth.QLowEnergyServiceData.@NonNull ServiceType type){
setType_native_QLowEnergyServiceData_ServiceType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value());
}
@QtUninvokable
private native void setType_native_QLowEnergyServiceData_ServiceType(long __this__nativeId, int type);
/**
* See QLowEnergyServiceData::setUuid(QBluetoothUuid)
*/
@QtUninvokable
public final void setUuid(io.qt.bluetooth.@NonNull QBluetoothUuid uuid){
setUuid_native_cref_QBluetoothUuid(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(uuid));
}
@QtUninvokable
private native void setUuid_native_cref_QBluetoothUuid(long __this__nativeId, long uuid);
/**
* See QLowEnergyServiceData::swap(QLowEnergyServiceData&)
*/
@QtUninvokable
public final void swap(io.qt.bluetooth.@StrictNonNull QLowEnergyServiceData other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QLowEnergyServiceData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QLowEnergyServiceData(long __this__nativeId, long other);
/**
* See QLowEnergyServiceData::type()const
*/
@QtUninvokable
public final io.qt.bluetooth.QLowEnergyServiceData.@NonNull ServiceType type(){
return io.qt.bluetooth.QLowEnergyServiceData.ServiceType.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native_constfct(long __this__nativeId);
/**
* See QLowEnergyServiceData::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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QLowEnergyServiceData(QPrivateConstructor p) { super(p); }
/**
* See operator==(QLowEnergyServiceData,QLowEnergyServiceData)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.bluetooth.QLowEnergyServiceData) {
return equals((io.qt.bluetooth.QLowEnergyServiceData) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QLowEnergyServiceData)
.
*/
@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.
See QLowEnergyServiceData::QLowEnergyServiceData(QLowEnergyServiceData)
*/
@QtUninvokable
@Override
public QLowEnergyServiceData clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QLowEnergyServiceData clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #setUuid(io.qt.bluetooth.QBluetoothUuid)}.
*/
@QtUninvokable
public final void setUuid(io.qt.bluetooth.QBluetoothUuid.@NonNull ProtocolUuid uuid) {
setUuid(new io.qt.bluetooth.QBluetoothUuid(uuid));
}
/**
* Overloaded function for {@link #setUuid(io.qt.bluetooth.QBluetoothUuid)}.
*/
@QtUninvokable
public final void setUuid(io.qt.bluetooth.QBluetoothUuid.@NonNull ServiceClassUuid uuid) {
setUuid(new io.qt.bluetooth.QBluetoothUuid(uuid));
}
/**
* Overloaded function for {@link #setUuid(io.qt.bluetooth.QBluetoothUuid)}.
*/
@QtUninvokable
public final void setUuid(io.qt.bluetooth.QBluetoothUuid.@NonNull CharacteristicType uuid) {
setUuid(new io.qt.bluetooth.QBluetoothUuid(uuid));
}
/**
* Overloaded function for {@link #setUuid(io.qt.bluetooth.QBluetoothUuid)}.
*/
@QtUninvokable
public final void setUuid(io.qt.bluetooth.QBluetoothUuid.@NonNull DescriptorType uuid) {
setUuid(new io.qt.bluetooth.QBluetoothUuid(uuid));
}
/**
* Overloaded function for {@link #setUuid(io.qt.bluetooth.QBluetoothUuid)}.
*/
@QtUninvokable
public final void setUuid(io.qt.core.@NonNull QUuid uuid) {
setUuid(new io.qt.bluetooth.QBluetoothUuid(uuid));
}
}