|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| Geofence (const Geofence &)=delete | |
| Geofence (Geofence &&)=default | |
| Default move constructor noexcept is deduced. | |
| Geofence & | operator= (const Geofence &)=delete |
| Geofence & | operator= (Geofence &&navService)=default |
| Default move assignment noexcept is deduced. | |
| int | addArea (const GeographicArea &area, const String &id, const ParameterList &meta, ProgressListener listener) noexcept |
| Add a geographic area to the geofence. | |
| int | addAreas (const GeofenceAreaList &areas, ProgressListener listener) noexcept |
| Add list of geographic areas to the geofence. | |
| int | getAreas (GeofenceAreaList &areas, const StringList &ids, ProgressListener listener, const ParameterList &meta={}) noexcept |
| Get the geographic areas list filtered by id and meta data. | |
| int | removeAreas (const StringList &ids, ProgressListener listener, const ParameterList &meta={}) noexcept |
| Remove a geographic area, identified by id, from the geofence. | |
| int | getProximityAreas (GeofenceProximityAreaList &proxAreas, const Coordinates &coords, int radius, ProgressListener listener, int details=0) noexcept |
| Get geofence proximity areas for the given coordinates & radius. | |
| void | cancel (ProgressListener listener) noexcept |
| Cancel an asynchronous operation. | |
| int | startMonitoring (GeofenceListener listener, const StringList &ids=StringList()) noexcept |
| Start the monitoring for the given areas. | |
| int | startMonitoring (GeofenceListener listener, LargeInteger userId) noexcept |
| Start the monitoring for the given user. | |
| int | stopMonitoring (GeofenceListener listener) noexcept |
| Stop the monitoring for the given areas. | |
Geofence object.
Implements share-read / write Api object over IGeofence.
This behaves like a singleton, i.e. all instances are shared behind the same API interface
|
inlinenoexcept |
Add a geographic area to the geofence.
| [in] | area | The geographic area to be monitored |
| [in] | id | The area unique identifier. Must be unique in the geofence areas collection |
| [in] | meta | A list of parameters which compose the metadata. |
| [in] | listener | The operation progress listener |
|
inlinenoexcept |
Add list of geographic areas to the geofence.
| [in] | areas | The geofence area list to be monitored |
| [in] | listener | The operation progress listener |
|
inlinenoexcept |
Cancel an asynchronous operation.
| [in] | listener | The observer used to start the operation |
|
inlinenoexcept |
Get the geographic areas list filtered by id and meta data.
| [in] | areas | The areas list result, will be fully populated on IProgressListener::notifyComplete |
| [in] | listener | The operation progress listener |
| [in] | ids | The unique identifiers of the areas to filter. If empty, no ids filter is applied |
| [in] | meta | The meta data to filter the search. |
A result will match if filter meta data key = geofence meta data key and filter meta data value = geofence meta data value
If empty, no meta data filter is applied
|
inlinenoexcept |
Get geofence proximity areas for the given coordinates & radius.
| [in] | proxAreas | The proximity areas list result, will be fully populated on IProgressListener::notifyComplete |
| [in] | coords | The coordinates reference for search |
| [in] | radius | The search radius around the reference coordinates |
| [in] | listener | The operation progress listener |
| [in] | details | The GeofenceArea result details. A combination of ProximityAreaDetails options, default = 0 meaning only GeofenceArea::id will be available in the result |
|
default |
Default move assignment noexcept is deduced.
| [in] | navService | The object to be moved |
|
inlinenoexcept |
Remove a geographic area, identified by id, from the geofence.
| [in] | ids | The areas unique identifiers. If empty, all areas will be delete from the geofence |
| [in] | listener | The operation progress listener |
| [in] | meta | The meta data to filter the search. |
|
inlinenoexcept |
Start the monitoring for the given areas.
| [in] | listener | The geofence type listener which will receive the monitor events |
| [in] | ids | The monitored area ids list. If empty, the listener will monitor all geofence areas |
If the listener is already monitoring, the monitored filters will be updated
|
inlinenoexcept |
Start the monitoring for the given user.
| [in] | listener | The geofence type listener which will receive the monitor events |
| [in] | userId | The monitored user id |
If the listener is already monitoring, the monitored filters will be updated
|
inlinenoexcept |
Stop the monitoring for the given areas.
| [in] | listener | The geofence listener for which to stop the monitoring |