Interface DummyLocationManager

Package world.mappable.mapkit.location

All Superinterfaces:

LocationManager

interface DummyLocationManager extends 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.

Summary

Methods

Type and modifiers

Method and Description

void

setLocation(@NonNull Location location,
            @NonNull DummyLocationQuality quality)

Sets a location and notifies all consumers of this location.

Methods

setLocation

void setLocation(@NonNull Location location,
                 @NonNull DummyLocationQuality quality)

Sets a location and notifies all consumers of this location.

Parameters

location

Any desirable location that we would like to provide.