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
Properties
Handle
public GeolocationPositionOwnedHandle Handle { get; }
Property Value
Methods
Copy()
[Version("2.26")]
public GeolocationPosition Copy()
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Equals(GeolocationPosition?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GeolocationPosition? other)
Parameters
other
GeolocationPositionAn object to compare with this object.
Returns
Free()
[Version("2.26")]
public void Free()
GetGType()
public static Type GetGType()
Returns
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
Returns
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