CMMagnetometerHandler Delegate

Definition

A delegate that is the handler for the StartMagnetometerUpdates(NSOperationQueue, CMMagnetometerHandler) method.

public delegate void CMMagnetometerHandler(CMMagnetometerData magnetometerData, NSError error);
type CMMagnetometerHandler = delegate of CMMagnetometerData * NSError -> unit

Parameters

magnetometerData
CMMagnetometerData

The magnetometer data being provider

error
NSError

Error, if any.

Remarks

Signature for a method that can receive magnetometer data from the CMMotionManager.

Applies to