BluetoothLEDevice.GetGattServicesForUuidAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| GetGattServicesForUuidAsync(Guid) |
Gibt gattDeviceServices für das Bluetooth LowEnergie-Gerät mit der angegebenen UUID zurück. |
| GetGattServicesForUuidAsync(Guid, BluetoothCacheMode) |
Gibt gattDeviceServices für das Bluetooth LowEnergie-Gerät mit der angegebenen UUID zurück. |
GetGattServicesForUuidAsync(Guid)
Gibt gattDeviceServices für das Bluetooth LowEnergie-Gerät mit der angegebenen UUID zurück.
public:
virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetGattServicesForUuidAsync(Platform::Guid serviceUuid) = GetGattServicesForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetGattServicesForUuidAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetGattServicesForUuidAsync(winrt::guid const& serviceUuid);
[Windows.Foundation.Metadata.Overload("GetGattServicesForUuidAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetGattServicesForUuidAsync(Guid serviceUuid);
function getGattServicesForUuidAsync(serviceUuid)
Public Function GetGattServicesForUuidAsync (serviceUuid As Guid) As IAsyncOperation(Of GattDeviceServicesResult)
Parameter
- serviceUuid
-
Guid
Platform::Guid
winrt::guid
Der Dienst UUID.
Gibt zurück
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| 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
|
Hinweise
Gibt einen asynchronen Vorgang zurück, der mit einem GattDeviceServicesResult abgeschlossen wird.
Gilt für:
GetGattServicesForUuidAsync(Guid, BluetoothCacheMode)
Gibt gattDeviceServices für das Bluetooth LowEnergie-Gerät mit der angegebenen UUID zurück.
public:
virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetGattServicesForUuidAsync(Platform::Guid serviceUuid, BluetoothCacheMode cacheMode) = GetGattServicesForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetGattServicesForUuidWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetGattServicesForUuidWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetGattServicesForUuidAsync(Guid serviceUuid, BluetoothCacheMode cacheMode);
function getGattServicesForUuidAsync(serviceUuid, cacheMode)
Public Function GetGattServicesForUuidAsync (serviceUuid As Guid, cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDeviceServicesResult)
Parameter
- serviceUuid
-
Guid
Platform::Guid
winrt::guid
Der Dienst UUID.
- cacheMode
- BluetoothCacheMode
Der Cachemodus.
Gibt zurück
Gibt einen asynchronen Vorgang zurück, der mit einem GattDeviceServicesResult abgeschlossen wird.
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| 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
|