Android.Hardware.GeomagneticField Class
Estimates magnetic field at a given point on Earth, and in particular, to compute the magnetic declination from true north.

See Also: GeomagneticField Members

Syntax

[Android.Runtime.Register("android/hardware/GeomagneticField", DoNotGenerateAcw=true)]
public class GeomagneticField : Java.Lang.Object

Remarks

Estimates magnetic field at a given point on Earth, and in particular, to compute the magnetic declination from true north.

This uses the World Magnetic Model produced by the United States National Geospatial-Intelligence Agency. More details about the model can be found at . This class currently uses WMM-2010 which is valid until 2015, but should produce acceptable results for several years after that. Future versions of Android may use a newer version of the model.

[Android Documentation]

Requirements

Namespace: Android.Hardware
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3