共用方式為


ActivitySensorReadingChangedEventArgs 類別

定義

表示感應器讀取變更事件的資料。

public ref class ActivitySensorReadingChangedEventArgs 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 ActivitySensorReadingChangedEventArgs 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 ActivitySensorReadingChangedEventArgs
Public NotInheritable Class ActivitySensorReadingChangedEventArgs
繼承
Object Platform::Object IInspectable ActivitySensorReadingChangedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
activity

備註

當您的應用程式支援 ActivitySensor.ReadingChanged 事件時,就會存取此物件。

屬性

Reading

取得最新的感應器讀數。

適用於