An opaque struct to provide position updates to a
<WebKitGeolocationManager>.
WebKitGeolocationPosition is an opaque struct used to provide position
updates to a <WebKitGeolocationManager>
using geolocation-manager:update-position.
Make a copy of the
<WebKitGeolocationPosition>.
Passed: a <WebKitGeolocationPosition>.
Returned: a
<WebKitGeolocationPosition>.
a copy of self
Free the <WebKitGeolocationPosition>
Passed: a <WebKitGeolocationPosition>.
Create a new
<WebKitGeolocationPosition>.
Passed: a real number.
a valid latitude in degrees
Passed: a real number.
a valid longitude in degrees
Passed: a real number.
accuracy of location in meters
Returned: a
<WebKitGeolocationPosition>.
a newly created
<WebKitGeolocationPosition>
Set the self altitude.
Passed: a <WebKitGeolocationPosition>.
Passed: a real number.
altitude in meters
Set the accuracy of self altitude.
Passed: a <WebKitGeolocationPosition>.
Passed: a real number.
accuracy of position altitude in meters
Set the self heading.
Set the self heading, as a positive angle between the direction of movement and the North direction, in clockwise direction.
Passed: a <WebKitGeolocationPosition>.
Passed: a real number.
heading in degrees
Set the self speed.
Passed: a <WebKitGeolocationPosition>.
Passed: a real number.
speed in meters per second
Set the self timestamp.
By default it’s the time when the self was created.
Passed: a <WebKitGeolocationPosition>.
Passed: an unsigned 64-bit integer.
timestamp in seconds since the epoch, or 0 to use current time