webkit.geolocation_position
Module for [GeolocationPosition] class
class GeolocationPosition
Types 1
An opaque struct to provide position updates to a #WebKitGeolocationManager.
WebKitGeolocationPosition is an opaque struct used to provide position updates to a #WebKitGeolocationManager using [webkit.geolocation_manager.GeolocationManager.updatePosition].
Methods
GeolocationPosition self()Returns `this`, for use in `with` statements.webkit.geolocation_position.GeolocationPosition copy()Make a copy of the #WebKitGeolocationPosition. Returns: a copy of positionvoid setAltitude(double altitude)Set the position altitude.void setAltitudeAccuracy(double altitudeAccuracy)Set the accuracy of position altitude.void setHeading(double heading)Set the position heading.void setSpeed(double speed)Set the position speed.void setTimestamp(ulong timestamp)Set the position timestamp.