AccelerometerShakenEventArgs AccelerometerShakenEventArgs AccelerometerShakenEventArgs AccelerometerShakenEventArgs Class

Provides data for the accelerometer-shaken event.

Syntax

Declaration

public sealed class AccelerometerShakenEventArgspublic sealed class AccelerometerShakenEventArgsPublic NotInheritable 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 DateTime Timestamp { get; }Public ReadOnly Property Timestamp As DateTime

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

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

Details

Assembly

Windows.Devices.Sensors.dll