BluetoothLEDevice.GetGattServicesForUuidAsync Metodo

Definizione

Overload

GetGattServicesForUuidAsync(Guid)

Restituisce gattDeviceServices per il dispositivo Bluetooth LowDevice con l'UUID specificato.

GetGattServicesForUuidAsync(Guid, BluetoothCacheMode)

Restituisce gattDeviceServices per il dispositivo Bluetooth LowDevice con l'UUID specificato.

GetGattServicesForUuidAsync(Guid)

Restituisce gattDeviceServices per il dispositivo Bluetooth LowDevice con l'UUID specificato.

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)

Parametri

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID del servizio.

Restituisce

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v4.0)
Funzionalità dell'app
bluetooth

Commenti

Restituisce un'operazione asincrona che viene completata con un gattDeviceServicesResult.

Si applica a

GetGattServicesForUuidAsync(Guid, BluetoothCacheMode)

Restituisce gattDeviceServices per il dispositivo Bluetooth LowDevice con l'UUID specificato.

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)

Parametri

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID del servizio.

cacheMode
BluetoothCacheMode

Modalità cache.

Restituisce

Restituisce un'operazione asincrona che viene completata con un gattDeviceServicesResult.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v4.0)
Funzionalità dell'app
bluetooth

Si applica a