다음을 통해 공유


BluetoothLEDevice.GattServices 속성

정의

디바이스에서 지원하는 GATT 서비스의 읽기 전용 목록을 가져옵니다.

중요

GattServices API는 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. 대신 GetGattServicesAsync를 사용합니다.

public:
 property IVectorView<GattDeviceService ^> ^ GattServices { IVectorView<GattDeviceService ^> ^ get(); };
IVectorView<GattDeviceService> GattServices();
/// [get: Windows.Foundation.Metadata.Deprecated("Use GetGattServicesAsync instead of GattServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDeviceService> GattServices();
public IReadOnlyList<GattDeviceService> GattServices { get; }
public IReadOnlyList<GattDeviceService> GattServices { [Windows.Foundation.Metadata.Deprecated("Use GetGattServicesAsync instead of GattServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var iVectorView = bluetoothLEDevice.gattServices;
Public ReadOnly Property GattServices As IReadOnlyList(Of GattDeviceService)

속성 값

이 Bluetooth LE 디바이스에서 지원하는 GATT 서비스의 읽기 전용 목록입니다.

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상