-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.Platform.getLocation
Maros316 edited this page Aug 12, 2020
·
4 revisions
| Argument | Type | Description |
|---|---|---|
| success | function(result) | A callback function for successful asynchronous result. The result will carry an object with properties latitude and longitude. |
| failed | function(error) | A callback function for command failure. The error argument will carry the error message. |
| scope | A scope for calling the callbacks; set "null" to call the callbacks in global scope. | |
| age | Number | Max age in seconds to accept GPS. |
| precision | Number | Desired accuracy in meters. |
| timeout | Number | Timeout in milliseconds (since v10.1). |