headingChanged | |||||||
Type | message | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Sent to the current card of the defaultStack when the heading of the device changes. | ||||||
Introduced | 4.6.1 | ||||||
OS | ios, android | ||||||
Platforms | mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Command: iphoneSetHeadingCalibrationTimeout Function: mobileCanTrackHeading, mobileCanTrackLocation, mobileCurrentHeading, iphoneHeadingCalibrationTimeout Message: trackingError | ||||||
Description | Handle the headingChanged message if you want to perform tasks when the heading of the device changes. The headingChanged message is sent to the current card of the defaultStack when the heading of the device changes. If heading tracking cannot be started (typically due to a lack of calibration) then a trackingError message is sent instead. |