- data
- The accelerometer data for this event.
- error
- An error, or null if there have been no errors.
This signature is used as an argument to the CoreMotion.CMMotionManager's StartAccelerometerUpdates.
C# Example
var motionManager = new CMMotionManager (); motionManager.AccelerometerUpdateInterval = 0.01; // 100Hz motionManager.StartAccelerometerUpdates (NSOperationQueue.CurrentQueue, (data, error) => { Console.WriteLine ("Got an acceleration event {0}", data.Acceleration.X); });