MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML BluetoothDiscoveryModel Element

The BluetoothDiscoveryModel element provides access device and service scanning More...

This element was introduced in Mobility 1.2.

Properties

Signals

Detailed Description

This element is part of the QtMobility.connectivity 1.2 module.

BluetoothDiscoveryModel provides a model of connectable services. The contents of the model can be filtered by UUID allowing discovery to be limited to a single service such as a game.

The model roles provided by BluetoothDiscoveryModel are display, decoration and Service. Through the Service role the BluetoothService maybe accessed for more details.

See also QBluetoothServiceDiscoveryAgent.

Property Documentation

discovery : bool

This property starts or stops discovery.

This property group was introduced in Mobility 1.2.


read-onlyerror : string

This property holds the last error reported by discovery.

This property is read only.

This property group was introduced in Mobility 1.2.


minimalDiscovery : bool

This property controls minimalDiscovery, which is faster than full discocvery but it only guarantees the device and UUID information to be correct.

This property group was introduced in Mobility 1.2.


uuidFilter : string

This property holds an optional UUID filter. A UUID can be used to return only matching services. 16 bit, 32 bit or 128 bit UUIDs maybe used. The string format is the same format as QUuid.

This property group was introduced in Mobility 1.2.

See also QBluetoothUuid and QUuid.


Signal Documentation

BluetoothDiscoveryModel::discoveryChanged ()

This handler is called when discovery has completed and no further results will be generated.

This documentation was introduced in Mobility 1.2.


BluetoothDiscoveryModel::newServiceDiscovered ()

This handler is called when a new service is discovered.

This documentation was introduced in Mobility 1.2.