GeolocationPosition

class GeolocationPosition(pointer: <Error class: unknown class><<Error class: unknown class>>)

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_update_position().

Since

2.26

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitGeolocationPositionPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Make a copy of the #WebKitGeolocationPosition.

Link copied to clipboard
fun free()

Free the #WebKitGeolocationPosition

Link copied to clipboard
fun setAltitude(altitude: <Error class: unknown class>)

Set the @position altitude.

Link copied to clipboard
fun setAltitudeAccuracy(altitudeAccuracy: <Error class: unknown class>)

Set the accuracy of @position altitude.

Link copied to clipboard
fun setHeading(heading: <Error class: unknown class>)

Set the @position heading.

Link copied to clipboard
fun setSpeed(speed: <Error class: unknown class>)

Set the @position speed.

Link copied to clipboard
fun setTimestamp(timestamp: <Error class: unknown class>)

Set the @position timestamp.