webkit.geolocation_position

Module for [GeolocationPosition] class

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
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
GeolocationPosition self()Returns `this`, for use in `with` statements.
webkit.geolocation_position.GeolocationPosition copy()Make a copy of the #WebKitGeolocationPosition. Returns: a copy of position
void 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.
Constructors
this(void * ptr, Flag!"Take" take)
this(double latitude, double longitude, double accuracy)Create a new #WebKitGeolocationPosition.