BtDevice QML Type
A singleton QML type for controlling bluetooth settings. More...
|Import Statement:||import QtDeviceUtilities.BluetoothSettings 1.0|
- deviceModel : object
- powered : bool
- scanning : bool
- void requestConnect(string address)
- void requestDisconnect(string address)
- void requestPairing(string address)
There is no need to create an instance of this object. To use it, simply import the
powered : bool
Powers the Bluetooth device on or off.
scanning : bool
Controls whether the Bluetooth device is scanning for remote devices.
void requestConnect(string address)
Connects to a remove device specified by address.
See also requestDisconnect().
void requestDisconnect(string address)
Disconnects from the remove device specified by address.
See also requestConnect().
void requestPairing(string address)
Starts the process of pairing to a remove device specified by address, and connects to it if the pairing was successful.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.