Livecode Wiki
Advertisement

Returns the current value of the magnetometer calibration timeout.Syntax:

iphoneHeadingCalibrationTimeout()

Examples:

get iphoneHeadingCalibrationTimeout()
put iphoneHeadingCalibrationTimeout() into tTimeout

Use the iphoneHeadingCalibrationTimeout function to find the current value of the magnetometer calibration timeout.

It is sometimes necessary for the system to prompt the user to calibrate the magnetometer in order to provide reliable heading information. The iphoneHeadingCalibrationTimeout function returns the number of seconds this prompt is shown for. The calibration timeout can be set using the iphoneSetHeadingCalibrationTimeout command.

See also: iphoneSetHeadingCalibrationTimeout (command),iphoneStartTrackingHeading (command),mobileCurrentHeading (function),mobileCanTrackHeading (function),trackingError (message),headingChanged (message),

Advertisement