SensorDataThresholdTriggerDetails クラス

定義

データしきい値監視タスクをトリガーしたセンサーのデータを提供します。

public ref class SensorDataThresholdTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SensorDataThresholdTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SensorDataThresholdTriggerDetails
Public NotInheritable Class SensorDataThresholdTriggerDetails
継承
Object Platform::Object IInspectable SensorDataThresholdTriggerDetails
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

注釈

データしきい値トリガーに基づくセンサーのバックグラウンド トリガーをサポートするには、 GetReadingsFromTriggerDetails などのメソッドを実装する必要があります。 これは、データしきい値トリガーに応答するすべてのセンサーに対して行う必要があります。

プロパティ

DeviceId

しきい値トリガーをアクティブ化したデバイスのデバイス識別子を取得します。

SensorType

しきい値トリガーに関連付けられているセンサーの種類を取得します。

適用対象