Package com.yandex.mapkit.location
Interface DummyLocationManager
All Superinterfaces:
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.
Примечание
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) |
Methods
setLocation
void setLocation(@NonNull Location location) |
Sets a location and notifies all consumers of this location.
Parameters |
|
|
Any desirable location that we would like to provide. |