GeolocationPosition

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.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(double latitude, double longitude, double accuracy)

Create a new #WebKitGeolocationPosition.

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
webkit.geolocation_position.GeolocationPosition copy()

Make a copy of the #WebKitGeolocationPosition.

self
GeolocationPosition self()

Returns this, for use in with statements.

setAltitude
void setAltitude(double altitude)

Set the position altitude.

setAltitudeAccuracy
void setAltitudeAccuracy(double altitudeAccuracy)

Set the accuracy of position altitude.

setHeading
void setHeading(double heading)

Set the position heading.

setSpeed
void setSpeed(double speed)

Set the position speed.

setTimestamp
void setTimestamp(ulong timestamp)

Set the position timestamp.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.