C

BtDevice QML Type

A singleton QML type for controlling bluetooth settings. More...

Import Statement: import QtDeviceUtilities.BluetoothSettings 1.0

Properties

Methods

Detailed Description

There is no need to create an instance of this object. To use it, simply import the QtDeviceUtilities.BluetoothSettings module.

Property Documentation

[read-only] deviceModel : object

Holds the device model.


powered : bool

Powers the Bluetooth device on or off.


scanning : bool

Controls whether the Bluetooth device is scanning for remote devices.


Method Documentation

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.


Available under certain Qt licenses.
Find out more.