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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
GeolocationPosition self() nothrowReturns `this`, for use in `with` statements.
webkit.geolocation_position.GeolocationPosition copy() nothrowMake a copy of the #WebKitGeolocationPosition. Returns: a copy of position
void setAltitude(double altitude) nothrowSet the position altitude.
void setAltitudeAccuracy(double altitudeAccuracy) nothrowSet the accuracy of position altitude.
void setHeading(double heading) nothrowSet the position heading.
void setSpeed(double speed) nothrowSet the position speed.
void setTimestamp(ulong timestamp) nothrowSet the position timestamp.
Constructors
this(void * ptr, Flag!"Take" take)
this(double latitude, double longitude, double accuracy)Create a new #WebKitGeolocationPosition.