Class provides a callback to be invoked when LocationManager class downloads the location from server or load it from the storage. More...
Public Member Functions | |
void | onLocationLoaded (Location location) |
Called when new location version has been downloaded from server or load it from the storage. | |
void | onLocationFailed (int locationId, Error error) |
Called if unable to download location version from CMS. | |
Class provides a callback to be invoked when LocationManager class downloads the location from server or load it from the storage.
Referenced from LocationManager.
Definition at line 24 of file location_listener.dart.
void LocationListener.onLocationFailed | ( | int | locationId, |
Error | error ) |
Called if unable to download location version from CMS.
locationId | location unique identifier in SMC. |
error | handled error. |
void LocationListener.onLocationLoaded | ( | Location | location | ) |
Called when new location version has been downloaded from server or load it from the storage.
location | Location instance or nil if server url or USER_HASH was changed. |