Difference between revisions of "Event.LOCATION UPDATE"

From GiderosMobile
Line 12: Line 12:
 
'''speed''': (number) <translate>The possible speed of user in m/s</translate><br/>
 
'''speed''': (number) <translate>The possible speed of user in m/s</translate><br/>
 
'''course''': (number) <translate>The possible course of user in degrees</translate><br/>
 
'''course''': (number) <translate>The possible course of user in degrees</translate><br/>
 +
'''accuracy''': (number) <translate>The position accuracy, in meters, if available</translate><br/>
 +
'''source''': (number) <translate>The source of the position, if available: P for GPS, N for Network,C for cellular, W for Wifi, F for fixed (simulator), O for obfuscated. </translate><br/>

Revision as of 11:55, 26 November 2019


Available since: Gideros 2011.6
Value: locationUpdate
Defined by: Geolocation

Description

This event is dispatched on each user location update

Parameters

latitude: (number) The latitude of current user position
longitude: (number) The longitude of current user position
altitude: (number) The possible altitude of user
speed: (number) The possible speed of user in m/s
course: (number) The possible course of user in degrees
accuracy: (number) The position accuracy, in meters, if available
source: (number) The source of the position, if available: P for GPS, N for Network,C for cellular, W for Wifi, F for fixed (simulator), O for obfuscated.