Table of Contents

Class GeolocationPosition

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class GeolocationPosition : BoxedRecord, IEquatable<GeolocationPosition>
Inheritance
GeolocationPosition
Implements
Inherited Members

Constructors

GeolocationPosition(GeolocationPositionOwnedHandle)

public GeolocationPosition(GeolocationPositionOwnedHandle handle)

Parameters

handle GeolocationPositionOwnedHandle

Properties

Handle

public GeolocationPositionOwnedHandle Handle { get; }

Property Value

GeolocationPositionOwnedHandle

Methods

Copy()

[Version("2.26")]
public GeolocationPosition Copy()

Returns

GeolocationPosition

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(GeolocationPosition?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(GeolocationPosition? other)

Parameters

other GeolocationPosition

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Free()

[Version("2.26")]
public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

New(double, double, double)

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

Parameters

latitude double
longitude double
accuracy double

Returns

GeolocationPosition

SetAltitude(double)

[Version("2.26")]
public void SetAltitude(double altitude)

Parameters

altitude double

SetAltitudeAccuracy(double)

[Version("2.26")]
public void SetAltitudeAccuracy(double altitudeAccuracy)

Parameters

altitudeAccuracy double

SetHeading(double)

[Version("2.26")]
public void SetHeading(double heading)

Parameters

heading double

SetSpeed(double)

[Version("2.26")]
public void SetSpeed(double speed)

Parameters

speed double

SetTimestamp(ulong)

[Version("2.26")]
public void SetTimestamp(ulong timestamp)

Parameters

timestamp ulong