Platforms to show: All Mac Windows Linux Cross-Platform

Back to CLHeadingMBS class.

CLHeadingMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

CLHeadingMBS.copy as CLHeadingMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a clone of this object.

CLHeadingMBS.DateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The time at which this heading was determined. (read-only)

Available in OS X v10.7 and later.

CLHeadingMBS.description as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the heading data in a formatted text string.

A string of the form "magneticHeading <magnetic> trueHeading <heading> accuracy <accuracy> x <x> y <y> z <z> @ <date-time>" where <magnetic>, <heading>, <accuracy>, <x>, <y>, and <z> are formatted floating-point numbers and <date-time> is a formatted date string that includes date, time, and time zone information.

Available in OS X v10.7 and later.

CLHeadingMBS.headingAccuracy as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The maximum deviation (measured in degrees) between the reported heading and the true geomagnetic heading. (read-only)

A positive value in this property represents the potential error between the value reported by the magneticHeading property and the actual direction of magnetic north. Thus, the lower the value of this property, the more accurate the heading. A negative value means that the reported heading is invalid, which can occur when the device is uncalibrated or there is strong interference from local magnetic fields.

Available in OS X v10.7 and later.

CLHeadingMBS.magneticHeading as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The heading (measured in degrees) relative to magnetic north. (read-only)

The value in this property represents the heading relative to the magnetic North Pole, which is different from the geographic North Pole. The value 0 means the device is pointed toward magnetic north, 90 means it is pointed east, 180 means it is pointed south, and so on. The value in this property should always be valid.

If the headingAccuracy property contains a negative value, the value in this property should be considered unreliable.

Available in OS X v10.7 and later.

CLHeadingMBS.timestamp as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The time at which this heading was determined. (read-only)

Available in OS X v10.7 and later.

CLHeadingMBS.trueHeading as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The heading (measured in degrees) relative to true north. (read-only)

The value in this property represents the heading relative to the geographic North Pole. The value 0 means the device is pointed toward true north, 90 means it is pointed due east, 180 means it is pointed due south, and so on. A negative value indicates that the heading could not be determined.

Important This property contains a valid value only if location updates are also enabled for the corresponding location manager object. Because the position of true north is different from the position of magnetic north on the Earth's surface, Core Location needs the current location of the device to compute the value of this property.

Available in OS X v10.7 and later.

CLHeadingMBS.x as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The geomagnetic data (measured in microteslas) for the x-axis. (read-only)

This value represents the x-axis deviation from the magnetic field lines being tracked by the device.
Available in OS X v10.7 and later.

CLHeadingMBS.y as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The geomagnetic data (measured in microteslas) for the y-axis. (read-only)

This value represents the y-axis deviation from the magnetic field lines being tracked by the device.
Available in OS X v10.7 and later.

CLHeadingMBS.z as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The geomagnetic data (measured in microteslas) for the z-axis. (read-only)

This value represents the z-axis deviation from the magnetic field lines being tracked by the device.
Available in OS X v10.7 and later.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...