Freigeben über


GattDeviceService.GetIncludedServicesForUuidAsync Methode

Definition

Überlädt

GetIncludedServicesForUuidAsync(Guid)

Ruft die enthaltenen Dienste aus dem serviceUuid ab, das diesem GattDeviceService-instance zugeordnet ist.

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Ruft die enthaltenen Dienste aus dem serviceUuid ab, das diesem GattDeviceService-instance zugeordnet ist.

GetIncludedServicesForUuidAsync(Guid)

Ruft die enthaltenen Dienste aus dem serviceUuid ab, das diesem GattDeviceService-instance zugeordnet ist.

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)

Parameter

serviceUuid
Guid

Platform::Guid

winrt::guid

Eine UUID des 128-Bit-Bluetooth GATT-Diensts, die als GUID-Standardobjekt dargestellt wird.

Gibt zurück

Ein asynchroner Vorgang, der mit einem GattDeviceServicesResult-Objekt abgeschlossen wird.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
App-Funktionen
bluetooth

Gilt für:

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Ruft die enthaltenen Dienste aus dem serviceUuid ab, das diesem GattDeviceService-instance zugeordnet ist.

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)

Parameter

serviceUuid
Guid

Platform::Guid

winrt::guid

Eine UUID des 128-Bit-Bluetooth GATT-Diensts, die als GUID-Standardobjekt dargestellt wird.

cacheMode
BluetoothCacheMode

Der Cachemodus.

Gibt zurück

Ein asynchroner Vorgang, der mit einem GattDeviceServicesResult-Objekt abgeschlossen wird.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
App-Funktionen
bluetooth

Gilt für: