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

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

package io.qt.bluetooth;

import io.qt.*;


/**
 * 

Access to Bluetooth Low Energy Devices

*

Java wrapper for Qt class QLowEnergyController

*/ public class QLowEnergyController extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLowEnergyController.class); /** *

Java wrapper for Qt enum QLowEnergyController::ControllerState

*/ public enum ControllerState implements QtEnumerator { /** *

Representing QLowEnergyController::UnconnectedState

*/ UnconnectedState(0), /** *

Representing QLowEnergyController::ConnectingState

*/ ConnectingState(1), /** *

Representing QLowEnergyController::ConnectedState

*/ ConnectedState(2), /** *

Representing QLowEnergyController::DiscoveringState

*/ DiscoveringState(3), /** *

Representing QLowEnergyController::DiscoveredState

*/ DiscoveredState(4), /** *

Representing QLowEnergyController::ClosingState

*/ ClosingState(5), /** *

Representing QLowEnergyController::AdvertisingState

*/ AdvertisingState(6); static { QtJambi_LibraryUtilities.initialize(); } private ControllerState(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 ControllerState resolve(int value) { switch (value) { case 0: return UnconnectedState; case 1: return ConnectingState; case 2: return ConnectedState; case 3: return DiscoveringState; case 4: return DiscoveredState; case 5: return ClosingState; case 6: return AdvertisingState; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QLowEnergyController::Error

*/ public enum Error implements QtEnumerator { /** *

Representing QLowEnergyController::NoError

*/ NoError(0), /** *

Representing QLowEnergyController::UnknownError

*/ UnknownError(1), /** *

Representing QLowEnergyController::UnknownRemoteDeviceError

*/ UnknownRemoteDeviceError(2), /** *

Representing QLowEnergyController::NetworkError

*/ NetworkError(3), /** *

Representing QLowEnergyController::InvalidBluetoothAdapterError

*/ InvalidBluetoothAdapterError(4), /** *

Representing QLowEnergyController::ConnectionError

*/ ConnectionError(5), /** *

Representing QLowEnergyController::AdvertisingError

*/ AdvertisingError(6), /** *

Representing QLowEnergyController::RemoteHostClosedError

*/ RemoteHostClosedError(7), /** *

Representing QLowEnergyController::AuthorizationError

*/ AuthorizationError(8); static { QtJambi_LibraryUtilities.initialize(); } private Error(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 Error resolve(int value) { switch (value) { case 0: return NoError; case 1: return UnknownError; case 2: return UnknownRemoteDeviceError; case 3: return NetworkError; case 4: return InvalidBluetoothAdapterError; case 5: return ConnectionError; case 6: return AdvertisingError; case 7: return RemoteHostClosedError; case 8: return AuthorizationError; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QLowEnergyController::RemoteAddressType

*/ public enum RemoteAddressType implements QtEnumerator { /** *

Representing QLowEnergyController::PublicAddress

*/ PublicAddress(0), /** *

Representing QLowEnergyController::RandomAddress

*/ RandomAddress(1); static { QtJambi_LibraryUtilities.initialize(); } private RemoteAddressType(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 RemoteAddressType resolve(int value) { switch (value) { case 0: return PublicAddress; case 1: return RandomAddress; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QLowEnergyController::Role

*/ public enum Role implements QtEnumerator { /** *

Representing QLowEnergyController::CentralRole

*/ CentralRole(0), /** *

Representing QLowEnergyController::PeripheralRole

*/ PeripheralRole(1); static { QtJambi_LibraryUtilities.initialize(); } private Role(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 Role resolve(int value) { switch (value) { case 0: return CentralRole; case 1: return PeripheralRole; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QLowEnergyController::connected()

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

See QLowEnergyController::connectionUpdated(QLowEnergyConnectionParameters)

*/ public final @NonNull Signal1 connectionUpdated = new Signal1<>(); /** *

See QLowEnergyController::disconnected()

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

See QLowEnergyController::discoveryFinished()

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

See QLowEnergyController::error(QLowEnergyController::Error)

*/ public final @NonNull Signal1 error = new Signal1<>(); /** *

See QLowEnergyController::serviceDiscovered(QBluetoothUuid)

*/ public final @NonNull Signal1 serviceDiscovered = new Signal1<>(); /** *

See QLowEnergyController::stateChanged(QLowEnergyController::ControllerState)

*/ public final @NonNull Signal1 stateChanged = new Signal1<>(); /** *

See QLowEnergyController::QLowEnergyController(QBluetoothAddress,QBluetoothAddress,QObject*)

*/ public QLowEnergyController(io.qt.bluetooth.@NonNull QBluetoothAddress remoteDevice, io.qt.bluetooth.@NonNull QBluetoothAddress localDevice, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, remoteDevice, localDevice, parent); } private native static void initialize_native(QLowEnergyController instance, io.qt.bluetooth.QBluetoothAddress remoteDevice, io.qt.bluetooth.QBluetoothAddress localDevice, io.qt.core.QObject parent); /** *

See QLowEnergyController::QLowEnergyController(QBluetoothAddress,QObject*)

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

See QLowEnergyController::QLowEnergyController(QBluetoothDeviceInfo,QObject*)

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

See QLowEnergyController::addService(QLowEnergyServiceData,QObject*)

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService addService(io.qt.bluetooth.@NonNull QLowEnergyServiceData service, io.qt.core.@Nullable QObject parent){ return addService_native_cref_QLowEnergyServiceData_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(service), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native io.qt.bluetooth.QLowEnergyService addService_native_cref_QLowEnergyServiceData_QObject_ptr(long __this__nativeId, long service, long parent); /** *

See QLowEnergyController::connectToDevice()

*/ @QtUninvokable public final void connectToDevice(){ connectToDevice_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void connectToDevice_native(long __this__nativeId); /** *

See QLowEnergyController::createServiceObject(QBluetoothUuid,QObject*)

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.@NonNull QBluetoothUuid service, io.qt.core.@Nullable QObject parent){ return createServiceObject_native_cref_QBluetoothUuid_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(service), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native io.qt.bluetooth.QLowEnergyService createServiceObject_native_cref_QBluetoothUuid_QObject_ptr(long __this__nativeId, long service, long parent); /** *

See QLowEnergyController::disconnectFromDevice()

*/ @QtUninvokable public final void disconnectFromDevice(){ disconnectFromDevice_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void disconnectFromDevice_native(long __this__nativeId); /** *

See QLowEnergyController::discoverServices()

*/ @QtUninvokable public final void discoverServices(){ discoverServices_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void discoverServices_native(long __this__nativeId); /** *

See QLowEnergyController::error()const

*/ @QtUninvokable public final io.qt.bluetooth.QLowEnergyController.@NonNull Error error(){ return io.qt.bluetooth.QLowEnergyController.Error.resolve(error_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int error_native_constfct(long __this__nativeId); /** *

See QLowEnergyController::errorString()const

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

See QLowEnergyController::localAddress()const

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

See QLowEnergyController::remoteAddress()const

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

See QLowEnergyController::remoteAddressType()const

*/ @QtUninvokable public final io.qt.bluetooth.QLowEnergyController.@NonNull RemoteAddressType remoteAddressType(){ return io.qt.bluetooth.QLowEnergyController.RemoteAddressType.resolve(remoteAddressType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int remoteAddressType_native_constfct(long __this__nativeId); /** *

See QLowEnergyController::remoteDeviceUuid()const

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

See QLowEnergyController::remoteName()const

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

See QLowEnergyController::requestConnectionUpdate(QLowEnergyConnectionParameters)

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

See QLowEnergyController::role()const

*/ @QtUninvokable public final io.qt.bluetooth.QLowEnergyController.@NonNull Role role(){ return io.qt.bluetooth.QLowEnergyController.Role.resolve(role_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int role_native_constfct(long __this__nativeId); /** *

See QLowEnergyController::services()const

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

See QLowEnergyController::setRemoteAddressType(QLowEnergyController::RemoteAddressType)

*/ @QtUninvokable public final void setRemoteAddressType(io.qt.bluetooth.QLowEnergyController.@NonNull RemoteAddressType type){ setRemoteAddressType_native_QLowEnergyController_RemoteAddressType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value()); } @QtUninvokable private native void setRemoteAddressType_native_QLowEnergyController_RemoteAddressType(long __this__nativeId, int type); /** *

See QLowEnergyController::startAdvertising(QLowEnergyAdvertisingParameters,QLowEnergyAdvertisingData,QLowEnergyAdvertisingData)

*/ @QtUninvokable public final void startAdvertising(io.qt.bluetooth.@NonNull QLowEnergyAdvertisingParameters parameters, io.qt.bluetooth.@NonNull QLowEnergyAdvertisingData advertisingData, io.qt.bluetooth.@NonNull QLowEnergyAdvertisingData scanResponseData){ startAdvertising_native_cref_QLowEnergyAdvertisingParameters_cref_QLowEnergyAdvertisingData_cref_QLowEnergyAdvertisingData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parameters), QtJambi_LibraryUtilities.internal.checkedNativeId(advertisingData), QtJambi_LibraryUtilities.internal.checkedNativeId(scanResponseData)); } @QtUninvokable private native void startAdvertising_native_cref_QLowEnergyAdvertisingParameters_cref_QLowEnergyAdvertisingData_cref_QLowEnergyAdvertisingData(long __this__nativeId, long parameters, long advertisingData, long scanResponseData); /** *

See QLowEnergyController::state()const

*/ @QtUninvokable public final io.qt.bluetooth.QLowEnergyController.@NonNull ControllerState state(){ return io.qt.bluetooth.QLowEnergyController.ControllerState.resolve(state_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int state_native_constfct(long __this__nativeId); /** *

See QLowEnergyController::stopAdvertising()

*/ @QtUninvokable public final void stopAdvertising(){ stopAdvertising_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void stopAdvertising_native(long __this__nativeId); /** *

See QLowEnergyController::createCentral(QBluetoothAddress,QBluetoothAddress,QObject*)

*/ public static io.qt.bluetooth.@Nullable QLowEnergyController createCentral(io.qt.bluetooth.@NonNull QBluetoothAddress remoteDevice, io.qt.bluetooth.@NonNull QBluetoothAddress localDevice, io.qt.core.@Nullable QObject parent){ return createCentral_native_cref_QBluetoothAddress_cref_QBluetoothAddress_QObject_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(remoteDevice), QtJambi_LibraryUtilities.internal.checkedNativeId(localDevice), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native static io.qt.bluetooth.QLowEnergyController createCentral_native_cref_QBluetoothAddress_cref_QBluetoothAddress_QObject_ptr(long remoteDevice, long localDevice, long parent); /** *

See QLowEnergyController::createCentral(QBluetoothDeviceInfo,QObject*)

*/ public static io.qt.bluetooth.@Nullable QLowEnergyController createCentral(io.qt.bluetooth.@NonNull QBluetoothDeviceInfo remoteDevice, io.qt.core.@Nullable QObject parent){ return createCentral_native_cref_QBluetoothDeviceInfo_QObject_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(remoteDevice), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native static io.qt.bluetooth.QLowEnergyController createCentral_native_cref_QBluetoothDeviceInfo_QObject_ptr(long remoteDevice, long parent); /** *

See QLowEnergyController::createPeripheral(QObject*)

*/ public static io.qt.bluetooth.@Nullable QLowEnergyController createPeripheral(io.qt.core.@Nullable QObject parent){ return createPeripheral_native_QObject_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native static io.qt.bluetooth.QLowEnergyController createPeripheral_native_QObject_ptr(long parent); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QLowEnergyController(QPrivateConstructor p) { super(p); } /** *

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

*/ public QLowEnergyController(io.qt.bluetooth.@NonNull QBluetoothAddress remoteDevice, io.qt.bluetooth.@NonNull QBluetoothAddress localDevice) { this(remoteDevice, localDevice, (io.qt.core.QObject)null); } /** *

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

*/ public QLowEnergyController(io.qt.bluetooth.@NonNull QBluetoothAddress remoteDevice) { this(remoteDevice, (io.qt.core.QObject)null); } /** *

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

*/ public QLowEnergyController(io.qt.bluetooth.@NonNull QBluetoothDeviceInfo remoteDevice) { this(remoteDevice, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #addService(io.qt.bluetooth.QLowEnergyServiceData, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService addService(io.qt.bluetooth.@NonNull QLowEnergyServiceData service) { return addService(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.@NonNull QBluetoothUuid service) { return createServiceObject(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid.ProtocolUuid, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull ProtocolUuid service) { return createServiceObject(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid, io.qt.core.QObject)}.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull ProtocolUuid service, io.qt.core.@Nullable QObject parent) { return createServiceObject(new io.qt.bluetooth.QBluetoothUuid(service), parent); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid.ServiceClassUuid, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull ServiceClassUuid service) { return createServiceObject(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid, io.qt.core.QObject)}.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull ServiceClassUuid service, io.qt.core.@Nullable QObject parent) { return createServiceObject(new io.qt.bluetooth.QBluetoothUuid(service), parent); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid.CharacteristicType, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull CharacteristicType service) { return createServiceObject(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid, io.qt.core.QObject)}.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull CharacteristicType service, io.qt.core.@Nullable QObject parent) { return createServiceObject(new io.qt.bluetooth.QBluetoothUuid(service), parent); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid.DescriptorType, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull DescriptorType service) { return createServiceObject(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid, io.qt.core.QObject)}.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.bluetooth.QBluetoothUuid.@NonNull DescriptorType service, io.qt.core.@Nullable QObject parent) { return createServiceObject(new io.qt.bluetooth.QBluetoothUuid(service), parent); } /** *

Overloaded function for {@link #createServiceObject(io.qt.core.QUuid, io.qt.core.QObject)} * with parent = null.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.core.@NonNull QUuid service) { return createServiceObject(service, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createServiceObject(io.qt.bluetooth.QBluetoothUuid, io.qt.core.QObject)}.

*/ @QtUninvokable public final io.qt.bluetooth.@Nullable QLowEnergyService createServiceObject(io.qt.core.@NonNull QUuid service, io.qt.core.@Nullable QObject parent) { return createServiceObject(new io.qt.bluetooth.QBluetoothUuid(service), parent); } /** *

Overloaded function for {@link #startAdvertising(io.qt.bluetooth.QLowEnergyAdvertisingParameters, io.qt.bluetooth.QLowEnergyAdvertisingData, io.qt.bluetooth.QLowEnergyAdvertisingData)} * with scanResponseData = new io.qt.bluetooth.QLowEnergyAdvertisingData().

*/ @QtUninvokable public final void startAdvertising(io.qt.bluetooth.@NonNull QLowEnergyAdvertisingParameters parameters, io.qt.bluetooth.@NonNull QLowEnergyAdvertisingData advertisingData) { startAdvertising(parameters, advertisingData, new io.qt.bluetooth.QLowEnergyAdvertisingData()); } /** *

Overloaded function for {@link #createCentral(io.qt.bluetooth.QBluetoothAddress, io.qt.bluetooth.QBluetoothAddress, io.qt.core.QObject)} * with parent = null.

*/ public static io.qt.bluetooth.@Nullable QLowEnergyController createCentral(io.qt.bluetooth.@NonNull QBluetoothAddress remoteDevice, io.qt.bluetooth.@NonNull QBluetoothAddress localDevice) { return createCentral(remoteDevice, localDevice, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createCentral(io.qt.bluetooth.QBluetoothDeviceInfo, io.qt.core.QObject)} * with parent = null.

*/ public static io.qt.bluetooth.@Nullable QLowEnergyController createCentral(io.qt.bluetooth.@NonNull QBluetoothDeviceInfo remoteDevice) { return createCentral(remoteDevice, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #createPeripheral(io.qt.core.QObject)} * with parent = null.

*/ public static io.qt.bluetooth.@Nullable QLowEnergyController createPeripheral() { return createPeripheral((io.qt.core.QObject)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy