- gyroData
- The gyroscope data for this event.
- error
- Error or null if there are no errors.
This signature is used as an argument to the MonoTouch.CoreMotion.CMMotionManager's StartGyroUpdates.
For example:
C# Example
var motionManager = new CMMotionManager ();
motionManager.AccelerometerUpdateInterval = 0.01; // 100Hz
motionManager.StartDeviceMotionUpdates (NSOperationQueue.CurrentQueue, (gyroData, error) => {
Console.WriteLine ("RotationRate={0}", gyroData.RotationRate);
});