GattDescriptorUuids 类

定义

表示最知名的描述符 UUID 值的枚举,并提供使用 GATT 描述符 UUID 的便捷方法,以及为常见 GATT 描述符提供描述符 UUID 的静态属性。

public ref class GattDescriptorUuids abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattDescriptorUuids final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GattDescriptorUuids final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class GattDescriptorUuids
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GattDescriptorUuids
Public Class GattDescriptorUuids
继承
Object Platform::Object IInspectable GattDescriptorUuids
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
bluetooth

属性

CharacteristicAggregateFormat

获取蓝牙 SIG 定义的特征聚合格式描述符 UUID。

CharacteristicExtendedProperties

获取蓝牙 SIG 定义的特征扩展属性描述符 UUID。

CharacteristicPresentationFormat

获取蓝牙 SIG 定义的特征表示格式描述符 UUID。

CharacteristicUserDescription

获取蓝牙 SIG 定义的特征用户描述符 UUID。

ClientCharacteristicConfiguration

获取蓝牙 SIG 定义的客户端特征配置描述符 UUID。

ServerCharacteristicConfiguration

获取蓝牙 SIG 定义的服务器特征配置描述符 UUID。

适用于