Class AbstractLocationProvider
Inheritance
MonoBehaviour
AbstractLocationProvider
Namespace:Mapbox.Unity.Location
Assembly:cs.temp.dll.dll
Syntax
public abstract class AbstractLocationProvider : MonoBehaviour, ILocationProvider
Fields
_currentLocation
Declaration
protected Location _currentLocation
Field Value
Type | Description |
---|---|
Location |
Properties
CurrentLocation
Gets the last known location.
Declaration
public Location CurrentLocation { get; }
Property Value
Type | Description |
---|---|
Location | The current location. |
Implements
Methods
SendLocation(Location)
Declaration
protected virtual void SendLocation(Location location)
Parameters
Type | Name | Description |
---|---|---|
Location | location |
Events
OnLocationUpdated
Declaration
public event Action<Location> OnLocationUpdated
Event Type
Type | Description |
---|---|
System.Action<Location> |