Accelerometer.Shaken Event

Occurs when the accelerometer detects that the PC has been shaken.

Note This event is currently not implemented.

Syntax

public:
event TypedEventHandler<Accelerometer^ , AccelerometerShakenEventArgs^ >^ Shaken {
         EventRegistrationToken add (TypedEventHandler<Accelerometer^ , AccelerometerShakenEventArgs^ >^ value);
         void remove (EventRegistrationToken token);
}  

Remarks

Use this event to receive notification that the device containing the accelerometer has been shaken. The app is not required to set a report interval prior to registering for Shaken events.

Requirements

Namespace: Windows.Devices.Sensors

Metadata: windows.winmd

See also

Reference

Accelerometer Class

Accelerometer Members

Windows.Devices.Sensors Namespace