Obsolete Members for QBluetoothDeviceInfo

以下成员源于类 QBluetoothDeviceInfo 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) QBluetoothDeviceInfo::DataCompleteness serviceUuidsCompleteness () const
(obsolete) void setServiceUuids (const QList<QBluetoothUuid> & uuids , QBluetoothDeviceInfo::DataCompleteness completeness )

成员函数文档编制

QBluetoothDeviceInfo::DataCompleteness QBluetoothDeviceInfo:: serviceUuidsCompleteness () const

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

Returns the completeness of the service UUID list. If DataComplete is returned, serviceUuids () returns the complete list of service UUIDs supported by the device, otherwise only the partial or empty list of service UUIDs. To get a list of all services supported by the device, a full service discovery needs to be performed.

void QBluetoothDeviceInfo:: setServiceUuids (const QList < QBluetoothUuid > & uuids , QBluetoothDeviceInfo::DataCompleteness completeness )

此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

Sets the list of service UUIDs to uuids and the completeness of the data to completeness .

另请参阅 serviceUuids ().