Class GeolocationSensor
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
[Value("GeolocationSensor")]
public class GeolocationSensor : Sensor
- Inheritance
-
GeolocationSensor
- Inherited Members
-
Constructors
GeolocationSensor()
public GeolocationSensor()
GeolocationSensor(GeolocationSensorOptions)
public GeolocationSensor(GeolocationSensorOptions options = null)
Parameters
options GeolocationSensorOptions
Properties
Accuracy
[Value("accuracy")]
public double? Accuracy { get; }
Property Value
- double?
Altitude
[Value("altitude")]
public double? Altitude { get; }
Property Value
- double?
AltitudeAccuracy
[Value("altitudeAccuracy")]
public double? AltitudeAccuracy { get; }
Property Value
- double?
Heading
[Value("heading")]
public double? Heading { get; }
Property Value
- double?
Latitude
[Value("latitude")]
public double? Latitude { get; }
Property Value
- double?
Longitude
[Value("longitude")]
public double? Longitude { get; }
Property Value
- double?
Speed
[Value("speed")]
public double? Speed { get; }
Property Value
- double?
Methods
Read(ReadOptions)
[Value("read")]
public static Task<GeolocationSensorReading> Read(ReadOptions readOptions = null)
Parameters
readOptions ReadOptions
Returns
- Task<GeolocationSensorReading>