MyLocation interface
April 11, 2018 ยท View on GitHub
Interface members
(optional) fields are filled in if the location provider gives those information.
| Params | Type | Details |
|---|---|---|
| latLng | ILatLng | device location |
| elapsedRealtimeNanos | number | The time in nanoseconds since boot, including time spent in sleep. |
| time | string | The time that obtained this information |
| provider | number | The provider of this information |
| accuracy | number | (optional)The accuracy in meter |
| bearing | number | (optional)The bearing of this device |
| altitude | number | (optional)The altitude of this device in meter |
| speed | number | (optional)The speed of this device |