Share via


BluetoothLEDevice.GetGattServicesForUuidAsync メソッド

定義

オーバーロード

GetGattServicesForUuidAsync(Guid)

指定した UUID を持つ Bluetooth LowEnergy デバイスの GattDeviceServices を返します。

GetGattServicesForUuidAsync(Guid, BluetoothCacheMode)

指定した UUID を持つ Bluetooth LowEnergy デバイスの GattDeviceServices を返します。

GetGattServicesForUuidAsync(Guid)

指定した UUID を持つ Bluetooth LowEnergy デバイスの GattDeviceServices を返します。

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)

パラメーター

serviceUuid
Guid

Platform::Guid

winrt::guid

サービス UUID。

戻り値

属性

Windows の要件

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

注釈

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

適用対象

GetGattServicesForUuidAsync(Guid, BluetoothCacheMode)

指定した UUID を持つ Bluetooth LowEnergy デバイスの GattDeviceServices を返します。

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)

パラメーター

serviceUuid
Guid

Platform::Guid

winrt::guid

サービス UUID。

cacheMode
BluetoothCacheMode

キャッシュ モード。

戻り値

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

属性

Windows の要件

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

適用対象