|
Maps SDK for C++ 1.0.0
|
SearchService object. More...


Public Member Functions | |
| SearchService (const SearchService &)=delete | |
| SearchService (SearchService &&)=default | |
| Default move constructor noexcept is deduced. | |
| SearchService & | operator= (const SearchService &)=delete |
| SearchService & | operator= (SearchService &&ss)=default |
| Default move assignment noexcept is deduced. | |
| int | search (LandmarkList &results, ProgressListener listener, const AddressInfo &addressInfo, const Coordinates &referenceCoordinates, const SearchPreferences &preferences=SearchPreferences(), const GeographicArea &locationHint=RectangleGeographicArea()) noexcept |
| Search using address and geographic area as discriminants. | |
| int | search (LandmarkList &results, ProgressListener listener, const String &textFilter, const Coordinates &referenceCoordinates, const SearchPreferences &preferences=SearchPreferences(), const GeographicArea &locationHint=RectangleGeographicArea()) noexcept |
| Search using text and geographic area as discriminants. | |
| int | searchAlongRoute (LandmarkList &results, ProgressListener listener, const Route &route, const String &textFilter=String(), const SearchPreferences &preferences=SearchPreferences()) noexcept |
| Search for landmarks along the specified route. | |
| int | searchAlongPath (LandmarkList &results, ProgressListener listener, const Path &path, const String &textFilter=String(), const SearchPreferences &preferences=SearchPreferences()) noexcept |
| Search for landmarks along the specified path. | |
| int | searchAroundPosition (LandmarkList &results, ProgressListener listener, const Coordinates &position, const String &textFilter=String(), const SearchPreferences &preferences=SearchPreferences()) noexcept |
| Get list of landmarks for specific coordinates. | |
| int | searchInArea (LandmarkList &results, ProgressListener listener, const GeographicArea &area, const Coordinates &referenceCoordinates, const String &textFilter=String(), const SearchPreferences &preferences=SearchPreferences()) noexcept |
| Get list of landmarks in the given geographic area. | |
| int | searchLandmarkDetails (ILandmarkList &results, ProgressListener listener) noexcept |
| Get details for the given landmark list. | |
| void | cancelSearch (ProgressListener progressListener) noexcept |
| Cancel specific request identified by the progress listener. | |
| TransferStatisticsRef | getTransferStatistics () const noexcept |
| Get data transfer statistics for this service. | |
SearchService object.
It provides the support for map search, landmark search, search along route, and search around position.
Implements share-read / write Api object over ISearchService.
This behaves like a singleton, i.e. all instances are shared behind the same API interface
|
inlinenoexcept |
Cancel specific request identified by the progress listener.
| [in] | progressListener | The progress listener associated with the request to be canceled |
|
inlinenoexcept |
Get data transfer statistics for this service.
|
default |
Default move assignment noexcept is deduced.
| ss | SearchService |
|
inlinenoexcept |
Search using address and geographic area as discriminants.
| [in] | results | The landmark list where to store the result. |
| [in] | listener | The listener for the operation. |
| [in] | addressInfo | The searched address info. |
| [in] | referenceCoordinates | Results will be relevant to this position. |
| [in] | preferences | The search preferences. Optional, if not defined the default preferences are used |
| [in] | locationHint | The location hint. The search will be restricted to the provided geographic area. Optional. |
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete
|
inlinenoexcept |
Search using text and geographic area as discriminants.
| [out] | results | landmark list. |
| [in] | listener | The listener for the operation. |
| [in] | textFilter | The text filter. |
| [in] | referenceCoordinates | The reference position. Results will be relevant to this position. |
| [in] | preferences | The search preferences. Optional, if not defined the default preferences are used. |
| [in] | locationHint | The location hint. The search will be restricted to the provided geographic area. Optional. |
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete
|
inlinenoexcept |
Search for landmarks along the specified path.
| [in] | results | The landmark list where to store the result. |
| [in] | listener | The listener for the operation. |
| [in] | path | The target path. |
| [in] | textFilter | The text filter. Optional. |
| [in] | preferences | The search preferences. Optional, if not defined the default preferences are used. |
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete
|
inlinenoexcept |
Search for landmarks along the specified route.
| [in] | results | The landmark list where to store the result. |
| [in] | listener | The listener for the operation. |
| [in] | route | The target route. |
If route.getRouteResultType() == ERouteResultType::RRT_Path, the search is performed along the route path
If route.getRouteResultType() == ERouteResultType::RRT_Range, the search is performed within the route range polygon
| [in] | textFilter | The text filter. Optional. |
| [in] | preferences | The search preferences. Optional, if not defined the default preferences are used. |
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete
|
inlinenoexcept |
Get list of landmarks for specific coordinates.
| [in] | results | The landmark list where to store the result. |
| [in] | listener | The listener for the operation. |
| [in] | position | The position. |
| [in] | textFilter | The optional text filter. Optional. |
| [in] | preferences | The search preferences. Optional, if not defined the default preferences are used. |
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete
|
inlinenoexcept |
Get list of landmarks in the given geographic area.
| [in] | results | The landmark list where to store the result. |
| [in] | listener | The listener for the operation. |
| [in] | area | The search target area |
| [in] | referenceCoordinates | The reference position. Results will be relevant to this position. |
| [in] | textFilter | The optional text filter. Optional. |
| [in] | preferences | The search preferences. Optional, if not defined the default preferences are used. |
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete
|
inlinenoexcept |
Get details for the given landmark list.
| [in] | results | The landmark list to be populated with details |
| [in] | listener | The listener for the operation. |
If the landmarks in the list already have the details populated, the function will return error::KUpToDate
If online search service is available and no restriction set via SdkSettings().getOnlineServiceRestriction( MapDataService ) == 0 ) and SearchPreferences::getSearchOnlyOnboard is false, the search is performed online
Possible error codes returned in IProgressListener::notifyComplete