Watch movement details
A continuous watch can report more than coordinates. This sample displays the latest accuracy, altitude, direction, speed, and timestamp while the watch is running.
What you will learn
- How repeated callbacks update a display
- Which extra values may be unavailable
- How to stop the watch when movement tracking ends
Not watching.
- Latitude
- -
- Longitude
- -
- Accuracy
- -
- Altitude
- -
- Heading
- -
- Speed
- -
- Timestamp
- -
Altitude, heading, and speed can be null, especially on devices without the required sensors or when the device is not moving. A missing value is a normal result.