Language

BluetoothLEDevice.GetGattServicesAsync メソッド

定義

オーバーロード

Name 説明
GetGattServicesAsync()

このBluetooth LowEnergy デバイスの GattDeviceServices を取得します。

GetGattServicesAsync(BluetoothCacheMode)

指定したキャッシュ モードを持つこのBluetooth LowEnergy デバイスの GattDeviceServices を返します。

GetGattServicesAsync()

このBluetooth LowEnergy デバイスの GattDeviceServices を取得します。

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)

返品

GattDeviceServicesResult で完了する非同期操作を返します。

属性

Windows の要件

要件 説明
デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)
アプリの機能
bluetooth

適用対象

GetGattServicesAsync(BluetoothCacheMode)

指定したキャッシュ モードを持つこのBluetooth LowEnergy デバイスの GattDeviceServices を返します。

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)

パラメーター

cacheMode
BluetoothCacheMode

キャッシュ モード。

返品

GattDeviceServicesResult で完了する非同期操作を返します。

属性

Windows の要件

要件 説明
デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)
アプリの機能
bluetooth

適用対象