Class GeolocationPosition
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
GeolocationPositionHandleTransfer 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
GeolocationPositionHandleTransfer 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
doubleTransfer ownership: None Nullable: False
longitude
doubleTransfer ownership: None Nullable: False
accuracy
doubleTransfer 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
GeolocationPositionHandleTransfer ownership: None Nullable: False
altitude
doubleTransfer 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
GeolocationPositionHandleTransfer ownership: None Nullable: False
altitudeAccuracy
doubleTransfer 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
GeolocationPositionHandleTransfer ownership: None Nullable: False
heading
doubleTransfer 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
GeolocationPositionHandleTransfer ownership: None Nullable: False
speed
doubleTransfer 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
GeolocationPositionHandleTransfer ownership: None Nullable: False
timestamp
ulongTransfer ownership: None Nullable: False