Compartir a través de


GattDeviceService.GetIncludedServicesForUuidAsync Método

Definición

Sobrecargas

GetIncludedServicesForUuidAsync(Guid)

Obtiene los servicios incluidos del serviceUuid asociado a esta instancia gattDeviceService.

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Obtiene los servicios incluidos del serviceUuid asociado a esta instancia gattDeviceService.

GetIncludedServicesForUuidAsync(Guid)

Obtiene los servicios incluidos del serviceUuid asociado a esta instancia 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)

Parámetros

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID del servicio GATT de Bluetooth de 128 bits, representado como un objeto GUID estándar.

Devoluciones

Una operación asincrónica que se completa con un objeto GattDeviceServicesResult.

Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Creators Update (se introdujo en la versión 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v4.0)
Características de aplicaciones
bluetooth

Se aplica a

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Obtiene los servicios incluidos del serviceUuid asociado a esta instancia 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)

Parámetros

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID del servicio GATT de Bluetooth de 128 bits, representado como un objeto GUID estándar.

cacheMode
BluetoothCacheMode

Modo de caché.

Devoluciones

Una operación asincrónica que se completa con un objeto GattDeviceServicesResult.

Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Creators Update (se introdujo en la versión 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v4.0)
Características de aplicaciones
bluetooth

Se aplica a