Поделиться через


GattDeviceService.GetIncludedServicesForUuidAsync Метод

Определение

Перегрузки

GetIncludedServicesForUuidAsync(Guid)

Возвращает включенные службы из serviceUuid, связанного с этим экземпляром GattDeviceService.

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Возвращает включенные службы из serviceUuid, связанного с этим экземпляром GattDeviceService.

GetIncludedServicesForUuidAsync(Guid)

Возвращает включенные службы из serviceUuid, связанного с этим экземпляром GattDeviceService.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetIncludedServicesForUuidAsync(Platform::Guid serviceUuid) = GetIncludedServicesForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid);
[Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(Guid serviceUuid);
function getIncludedServicesForUuidAsync(serviceUuid)
Public Function GetIncludedServicesForUuidAsync (serviceUuid As Guid) As IAsyncOperation(Of GattDeviceServicesResult)

Параметры

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID 128-разрядной службы Bluetooth GATT, представленный в виде стандартного объекта GUID .

Возвращаемое значение

Асинхронная операция, которая завершается с объектом GattDeviceServicesResult.

Атрибуты

Требования к Windows

Семейство устройств
Windows 10 Creators Update (появилось в 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v4.0)
Возможности приложения
bluetooth

Применяется к

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Возвращает включенные службы из serviceUuid, связанного с этим экземпляром GattDeviceService.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetIncludedServicesForUuidAsync(Platform::Guid serviceUuid, BluetoothCacheMode cacheMode) = GetIncludedServicesForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(Guid serviceUuid, BluetoothCacheMode cacheMode);
function getIncludedServicesForUuidAsync(serviceUuid, cacheMode)
Public Function GetIncludedServicesForUuidAsync (serviceUuid As Guid, cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDeviceServicesResult)

Параметры

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID 128-разрядной службы Bluetooth GATT, представленный в виде стандартного объекта GUID .

cacheMode
BluetoothCacheMode

Режим кэша.

Возвращаемое значение

Асинхронная операция, которая завершается с объектом GattDeviceServicesResult.

Атрибуты

Требования к Windows

Семейство устройств
Windows 10 Creators Update (появилось в 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v4.0)
Возможности приложения
bluetooth

Применяется к