mobileStopTrackingSensor

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileStopTrackingSensor <sensor>
Summary

Stops listening for readings from the named sensor.

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
sensor

The name of the sensor you wish to stop using

"location": stops tracking the location of the device
"heading": stops tracking the heading of the device
"acceleration": disables the accelerometer on the device
"rotation rate": stops tracking the rotation of the device
Example
mobileStopTrackingSensor "location"
RelatedCommand: mobileStartTrackingSensor
Function: mobileCanTrackHeading, mobileCanTrackLocation, mobileCurrentHeading, mobileSensorReading, mobileCurrentLocation
Message: headingChanged, accelerationChanged, locationChanged, rotationRateChanged, trackingError
Description

Use the mobileStopTrackingSensor command to stop listening for readings from a sensor.

The mobileStopTrackingSensor command stops listening for readings from the named sensor.