다음을 통해 공유


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

적용 대상