QtMobility Reference Documentation

Contents

QML BluetoothDiscoveryModel Element

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

  • List of all members, including inherited members
  • 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

    read-onlyerror : string

    This property holds the last error reported by discovery.

    This property is read only.


    minimalDiscovery : bool

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


    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.

    See also QBluetoothUuid and QUuid.


    Signal Documentation

    BluetoothDiscoveryModel::discoveryChanged ()

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


    BluetoothDiscoveryModel::newServiceDiscovered ()

    This handler is called when a new service is discovered.