Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1    Statistic    FMM    Blog  

CoreLocation.startUpdatingHeading

Starts the generation of updates that report the user’s current heading.

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

Parameters

none

Result

Returns OK or error.

Description

Starts the generation of updates that report the user’s current heading.
This method returns immediately. Calling this method when the receiver is stopped causes it to obtain an initial heading and notify your delegate. After that, the receiver generates update events when the value in the headingFilter property is exceeded.
Before calling this method, you should always check the headingAvailable property to see whether heading information is supported on the current device. If heading information is not supported, calling this method has no effect and does not result in the delivery of events to your delegate.
Calling this method several times in succession does not automatically result in new events being generated. Calling stopUpdatingHeading() in between, however, does cause a new initial event to be sent the next time you call this method.
If you start this service and your app is suspended, the system stops the delivery of events until your app starts running again (either in the foreground or background). If your app is terminated, the delivery of new heading events stops altogether and must be restarted by your code when the app is relaunched.

Added macOS support with MBS Plugin 11.1 for macOS 10.15 and newer.

See also

Release notes

  • Version 11.1
    • Added CoreLocation.requestWhenInUseAuthorization, CoreLocation.startUpdatingHeading and CoreLocation.dismissHeadingCalibrationDisplay for macOS 10.15 or newer.

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


CoreLocation.startMonitoringSignificantLocationChanges   -   CoreLocation.startUpdatingLocation

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat