Show / Hide Table of Contents

Class AbstractLocationProvider

Inheritance
MonoBehaviour
AbstractLocationProvider
AbstractEditorLocationProvider
DeviceLocationProvider
DeviceLocationProviderAndroidNative
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
ILocationProvider.CurrentLocation

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>
Implements
ILocationProvider.OnLocationUpdated
Back to top © 2017 Mapbox