Loading...
Searching...
No Matches
LocationListListener Class Referenceabstract

Class provides a callback to be invoked when LocationListManager class downloads list of available locations from server. More...

Public Member Functions

void onLocationListLoaded (Map< int, LocationInfo > locationInfos)
 Called when new list of available locations has been downloaded from server.
 
void onLocationListFailed (Error error)
 Called if unable to download list of available locations.
 

Detailed Description

Class provides a callback to be invoked when LocationListManager class downloads list of available locations from server.

Referenced from LocationListManager.

Note
The callback is invoked in the UI thread.

Definition at line 24 of file location_list_listener.dart.

Member Function Documentation

◆ onLocationListFailed()

void LocationListListener.onLocationListFailed ( Error error)

Called if unable to download list of available locations.

Parameters
errorhandled error.

◆ onLocationListLoaded()

void LocationListListener.onLocationListLoaded ( Map< int, LocationInfo > locationInfos)

Called when new list of available locations has been downloaded from server.

Parameters
locationInfosdictionary of LocationInfos which represents location id to location general info.

The documentation for this class was generated from the following file: