This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathlocationChanged.xml
More file actions
73 lines (58 loc) · 2.3 KB
/
Copy pathlocationChanged.xml
File metadata and controls
73 lines (58 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<doc>
<legacy_id></legacy_id>
<name>locationChanged</name>
<type>message</type>
<syntax>
<example>locationChanged<i> latitude, longitude, altitude</i></example>
</syntax>
<synonyms>
</synonyms>
<summary>Sent to the current card of the default stack when the location of the device changes.</summary>
<examples>
<example><p>on locationChanged pLatitude, pLongitude, pAltitude</p><p> put pAltitude into field "altitude"</p><p>end locationChanged</p></example>
<example><p>on locationChanged</p><p> put mobileCurrentLocation() into theLocation</p><p> updateMapPosition theLocation -- <i>update the marker on the map showing the current location</i></p><p>end locationChanged</p></example>
</examples>
<history>
<introduced version="4.5.2">Added.</introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
<changed version="5.5">Parameters updated, Android support</changed>
</history>
<objects>
</objects>
<platforms>
<ios/>
<android/>
</platforms>
<classes>
<mobile/>
</classes>
<security>
</security>
<classification>
</classification>
<references>
<function tag="mobileCurrentLocation">mobileCurrentLocation Function</function>
<command tag="mobileStartTrackingSensor">mobileStartTrackingSensor Command</command>
<command tag="mobileStopTrackingSensor">mobileStopTrackingSensor Command</command>
<message tag="trackingError">trackingError message</message>
</references>
<description>
<overview>Handle the <b>locationChanged</b> message if you want to perform tasks when the location of the device changes.</overview>
<parameters>
<parameter>
<name>latitude</name>
<description>the latitude of the device</description>
</parameter>
<parameter>
<name>longitude</name>
<description>the longitude of the device</description>
</parameter>
<parameter>
<name>altitude</name>
<description>the altitude of the device</description>
</parameter> </parameters>
<value></value>
<comments>The <b>locationChanged</b> message is sent to the current card of the default stack when the location of the device changes. <p></p><p>If location tracking cannot be started (typically due to the user 'not allowing' access to CoreLocation) then a trackingError message is sent instead.</p></comments>
</description>
</doc>