Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CoreLocation.stopUpdatingHeading

Stops the generation of heading updates.

Component Version macOS Windows Linux Server iOS SDK
CoreLocation 9.1 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "CoreLocation.stopUpdatingHeading" )

Parameters

none

Result

Returns OK or error.

Description

Stops the generation of heading updates.
Call this method whenever your code no longer needs to receive heading-related events. Disabling event delivery gives the receiver the option of disabling the appropriate hardware (and thereby saving power) when no clients need location data. You can always restart the generation of heading updates by calling the startUpdatingHeading() method again.

See also

This function checks for a license.

Created 17th February 2019, last changed 17th February 2019


CoreLocation.stopMonitoringSignificantLocationChanges - CoreLocation.stopUpdatingLocation