AccelerometerShakenEventArgs AccelerometerShakenEventArgs AccelerometerShakenEventArgs AccelerometerShakenEventArgs Class

Definition

Provides data for the accelerometer-shaken event.

public : sealed class AccelerometerShakenEventArgs : IAccelerometerShakenEventArgs
public sealed class AccelerometerShakenEventArgs : IAccelerometerShakenEventArgs
Public NotInheritable Class AccelerometerShakenEventArgs Implements IAccelerometerShakenEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is accessed when your app supports 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 DateTimeOffset
var dateTimeOffset = accelerometerShakenEventArgs.timestamp;
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time at which the sensor reported the event.