Show / Hide Table of Contents

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
IMapboxLocationService.isEnabledByUser

lastData

Declaration
public IMapboxLocationInfo lastData { get; }
Property Value
Type Description
IMapboxLocationInfo
Implements
IMapboxLocationService.lastData

status

Declaration
public LocationServiceStatus status { get; }
Property Value
Type Description
LocationServiceStatus
Implements
IMapboxLocationService.status

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
IMapboxLocationService.Start(Single, Single)

Stop()

Declaration
public void Stop()
Implements
IMapboxLocationService.Stop()
Back to top © 2017 Mapbox