Class GeolocationPosition
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class GeolocationPosition : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<GeolocationPosition>, IDisposable
- 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
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe 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
otherGeolocationPositionAn 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
altitudedouble
SetAltitudeAccuracy(double)
[Version("2.26")]
public void SetAltitudeAccuracy(double altitudeAccuracy)
Parameters
altitudeAccuracydouble
SetHeading(double)
[Version("2.26")]
public void SetHeading(double heading)
Parameters
headingdouble
SetSpeed(double)
[Version("2.26")]
public void SetSpeed(double speed)
Parameters
speeddouble
SetTimestamp(ulong)
[Version("2.26")]
public void SetTimestamp(ulong timestamp)
Parameters
timestampulong