Class MapboxLocationServiceMock
Class to mock Unity's location service Input.location
Inheritance
System.Object
MapboxLocationServiceMock
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:Mapbox.Unity.Location
Assembly:cs.temp.dll.dll
Syntax
public class MapboxLocationServiceMock : IMapboxLocationService, IDisposable
Constructors
MapboxLocationServiceMock(Byte[])
Declaration
public MapboxLocationServiceMock(byte[] locationLogFileContents)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | locationLogFileContents |
Properties
isEnabledByUser
Declaration
public bool isEnabledByUser { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
lastData
Declaration
public IMapboxLocationInfo lastData { get; }
Property Value
Type | Description |
---|---|
IMapboxLocationInfo |
Implements
status
Declaration
public LocationServiceStatus status { get; }
Property Value
Type | Description |
---|---|
LocationServiceStatus |
Implements
Methods
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposeManagedResources)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposeManagedResources |
Finalize()
Declaration
protected void Finalize()
Start(Single, Single)
Declaration
public void Start(float desiredAccuracyInMeters, float updateDistanceInMeters)
Parameters
Type | Name | Description |
---|---|---|
System.Single | desiredAccuracyInMeters | |
System.Single | updateDistanceInMeters |
Implements
Stop()
Declaration
public void Stop()