AccelerometerShakenEventArgs AccelerometerShakenEventArgs AccelerometerShakenEventArgs AccelerometerShakenEventArgs Class

Provides data for the accelerometer-shaken event.

Syntax

Declaration

public sealed class AccelerometerShakenEventArgspublic sealed class AccelerometerShakenEventArgsPublic NotInheritable Class AccelerometerShakenEventArgspublic sealed class AccelerometerShakenEventArgs

Remarks

This object is accessed when your app supports the Shaken event.

Properties summary

Gets the time at which the sensor reported the shaken event.

Properties

  • Timestamp
    Timestamp
    Timestamp
    Timestamp

    Gets the time at which the sensor reported the shaken event.

    public DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffsetpublic DateTime Timestamp { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Sensors.dll