GattCharacteristicNotificationTriggerDetails 类

定义

提供有关导致此触发器触发的蓝牙 LE 设备的信息。

public ref class GattCharacteristicNotificationTriggerDetails sealed
/// [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 GattCharacteristicNotificationTriggerDetails final
[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 sealed class GattCharacteristicNotificationTriggerDetails
Public NotInheritable Class GattCharacteristicNotificationTriggerDetails
继承
Object Platform::Object IInspectable GattCharacteristicNotificationTriggerDetails
属性

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

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1703 15063 错误
1703 15063 EventTriggeringMode
1703 15063 ValueChangedEvents

属性

Characteristic

获取已更改的 GATT 特征。

Error

获取触发器的错误状态。

EventTriggeringMode

获取事件触发器模式。

Value

获取包含特征的新值的字节流。

ValueChangedEvents

获取此触发器的值更改事件。

适用于