Interface DummyLocationManager

com.yandex.mapkit.location

public interface DummyLocationManager extends LocationManager

All Superinterfaces:
LocationManager

Provides the ability to set any location and notify all consumers of this location.

This is a very simple location manager that is responsible for passing any locations via setLocation method and notifying all consumers.

Note: The main reason why we need this class is to allow the user to set this LocationManager to Guide via setLocationManager, just to correct any desirable location via Guide.

Methods

void setLocation(@NonNull Location location)

Sets a location and notifies all consumers of this location.

Method Detail

setLocation

public void setLocation (@NonNull Location location)

Sets a location and notifies all consumers of this location.

Parameters:
location

Any desirable location that we would like to provide.