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 ().