Share via


BluetoothLEDevice.GetGattServicesAsync Metodo

Definizione

Overload

GetGattServicesAsync()

Ottiene il GattDeviceServices per questo dispositivo Bluetooth LowManager.

GetGattServicesAsync(BluetoothCacheMode)

Restituisce gattDeviceServices per questo dispositivo Bluetooth LowManager con la modalità cache specificata.

GetGattServicesAsync()

Ottiene il GattDeviceServices per questo dispositivo Bluetooth LowManager.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetGattServicesAsync() = GetGattServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetGattServicesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetGattServicesAsync();
[Windows.Foundation.Metadata.Overload("GetGattServicesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetGattServicesAsync();
function getGattServicesAsync()
Public Function GetGattServicesAsync () As IAsyncOperation(Of GattDeviceServicesResult)

Restituisce

Restituisce un'operazione asincrona che viene completata con 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

GetGattServicesAsync(BluetoothCacheMode)

Restituisce gattDeviceServices per questo dispositivo Bluetooth LowManager con la modalità cache specificata.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetGattServicesAsync(BluetoothCacheMode cacheMode) = GetGattServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetGattServicesWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetGattServicesAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetGattServicesWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetGattServicesAsync(BluetoothCacheMode cacheMode);
function getGattServicesAsync(cacheMode)
Public Function GetGattServicesAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDeviceServicesResult)

Parametri

cacheMode
BluetoothCacheMode

Modalità cache.

Restituisce

Restituisce un'operazione asincrona che viene completata con 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