Show / Hide Table of Contents

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
IMapboxLocationInfo.altitude

horizontalAccuracy

Declaration
public float horizontalAccuracy { get; }
Property Value
Type Description
System.Single
Implements
IMapboxLocationInfo.horizontalAccuracy

latitude

Declaration
public float latitude { get; }
Property Value
Type Description
System.Single
Implements
IMapboxLocationInfo.latitude

longitude

Declaration
public float longitude { get; }
Property Value
Type Description
System.Single
Implements
IMapboxLocationInfo.longitude

timestamp

Declaration
public double timestamp { get; }
Property Value
Type Description
System.Double
Implements
IMapboxLocationInfo.timestamp

verticalAccuracy

Declaration
public float verticalAccuracy { get; }
Property Value
Type Description
System.Single
Implements
IMapboxLocationInfo.verticalAccuracy
Back to top © 2017 Mapbox