trackingError

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
trackingError <pSensor>, <pErrorMessage>
Summary

Sent when sensor tracking could not be started or is terminated.

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pSensor

the name of the sensor that is the source of the error - "acceleration" - "heading" - "location" - "rotation rate"

pErrorMessage

The error message, giving the reason for the error

Example
on trackingError pSensor, pError
   answer "There was an error with sensor" && pSensor
end trackingError
RelatedCommand: mobileStopTrackingSensor, mobileStartTrackingSensor
Message: accelerationChanged, rotationRateChanged, locationChanged, headingChanged
Description

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.