This topic has not yet been rated - Rate this topic

AccelerometerSensor.Start Method

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

4/22/2010

Starts the device’s accelerometer sensor, if it is not already running, and registers to receive events when accelerometer data is updated.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
public override void Start()

This method may throw one of the following exceptions.

UnauthorizedAccessException

The caller does not have access to the accelerometer sensor

AccelerometerStartFailedException

The platform was unable to start the accelerometer sensor.

Windows Phone OS 7.0

Did you find this helpful?
(1500 characters remaining)