A Message sent when sensor tracking could not be started or is terminated. If there is a message handler by the same name in the message path, then it will be executed.
Message[]
Syntax:
trackingError <sensor>, <errorMessage>
The parameter <sensor> the name of the sensor that is the source of the error - acceleration, heading, location & rotation rate. The parameter <errorMessage> is giving the reason for the error.
The trackingError message is sent when sensor tracking could not be started or is terminated.
The trackingError message is sent to the current card of the default stack when sensor tracking could not be started or sensor tracking is terminated.
Message handler[]
Examples:
on trackingError pSensor, pError answer "There was an error with sensor" && pSensor end trackingError
See also: mobileStartTrackingSensor, accelerationChanged, rotationRateChanged, locationChanged, headingChanged.