Struct MapboxLocationInfoMock
Wrapper to mock our 'Location' objects as Unity's 'LocationInfo'
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:Mapbox.Unity.Location
Assembly:cs.temp.dll.dll
Syntax
public struct MapboxLocationInfoMock : IMapboxLocationInfo
Constructors
MapboxLocationInfoMock(Location)
Declaration
public MapboxLocationInfoMock(Location location)
Parameters
Type | Name | Description |
---|---|---|
Location | location |
Properties
altitude
Declaration
public float altitude { get; }
Property Value
Type | Description |
---|---|
System.Single |
Implements
horizontalAccuracy
Declaration
public float horizontalAccuracy { get; }
Property Value
Type | Description |
---|---|
System.Single |
Implements
latitude
Declaration
public float latitude { get; }
Property Value
Type | Description |
---|---|
System.Single |
Implements
longitude
Declaration
public float longitude { get; }
Property Value
Type | Description |
---|---|
System.Single |
Implements
timestamp
Declaration
public double timestamp { get; }
Property Value
Type | Description |
---|---|
System.Double |
Implements
verticalAccuracy
Declaration
public float verticalAccuracy { get; }
Property Value
Type | Description |
---|---|
System.Single |