Table of Contents

Class GeolocationPosition

Namespace
WebKit.Internal
Assembly
WebKit-6.0.dll
public class GeolocationPosition
Inheritance
GeolocationPosition
Inherited Members

Methods

Copy(GeolocationPositionHandle)

Calls native method webkit_geolocation_position_copy. Version: 2.26

[Version("2.26")]
public static extern GeolocationPositionOwnedHandle Copy(GeolocationPositionHandle position)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

Returns

GeolocationPositionOwnedHandle

Transfer ownership: Full Nullable: False

Free(GeolocationPositionHandle)

Calls native method webkit_geolocation_position_free. Version: 2.26

[Version("2.26")]
public static extern void Free(GeolocationPositionHandle position)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function webkit_geolocation_position_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(double, double, double)

Calls native constructor webkit_geolocation_position_new. Version: 2.26

[Version("2.26")]
public static extern GeolocationPositionOwnedHandle New(double latitude, double longitude, double accuracy)

Parameters

latitude double

Transfer ownership: None Nullable: False

longitude double

Transfer ownership: None Nullable: False

accuracy double

Transfer ownership: None Nullable: False

Returns

GeolocationPositionOwnedHandle

Transfer ownership: Full Nullable: False

SetAltitude(GeolocationPositionHandle, double)

Calls native method webkit_geolocation_position_set_altitude. Version: 2.26

[Version("2.26")]
public static extern void SetAltitude(GeolocationPositionHandle position, double altitude)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

altitude double

Transfer ownership: None Nullable: False

SetAltitudeAccuracy(GeolocationPositionHandle, double)

Calls native method webkit_geolocation_position_set_altitude_accuracy. Version: 2.26

[Version("2.26")]
public static extern void SetAltitudeAccuracy(GeolocationPositionHandle position, double altitudeAccuracy)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

altitudeAccuracy double

Transfer ownership: None Nullable: False

SetHeading(GeolocationPositionHandle, double)

Calls native method webkit_geolocation_position_set_heading. Version: 2.26

[Version("2.26")]
public static extern void SetHeading(GeolocationPositionHandle position, double heading)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

heading double

Transfer ownership: None Nullable: False

SetSpeed(GeolocationPositionHandle, double)

Calls native method webkit_geolocation_position_set_speed. Version: 2.26

[Version("2.26")]
public static extern void SetSpeed(GeolocationPositionHandle position, double speed)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

speed double

Transfer ownership: None Nullable: False

SetTimestamp(GeolocationPositionHandle, ulong)

Calls native method webkit_geolocation_position_set_timestamp. Version: 2.26

[Version("2.26")]
public static extern void SetTimestamp(GeolocationPositionHandle position, ulong timestamp)

Parameters

position GeolocationPositionHandle

Transfer ownership: None Nullable: False

timestamp ulong

Transfer ownership: None Nullable: False