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


Public Member Functions | |
| AlarmService & | setAlarmListener (AlarmListener listener) noexcept |
| Sets the alarm listener. | |
| AlarmService & | monitorArea (const GeographicArea &area, const String &areaId=String()) noexcept |
| Add new geographic area to monitor. | |
| AlarmService & | unmonitorArea (const GeographicArea &area) noexcept |
| Remove the given geographic area from monitor. | |
| AlarmService & | unmonitorAreas (const StringList &areaIds) noexcept |
| Remove the given geographic area id from monitor. | |
| AlarmService & | unmonitorAllAreas () noexcept |
| Remove the all geographic areas from monitor. | |
| AlarmMonitoredAreaList | getMonitoredAreas () noexcept |
| Get all monitored areas. | |
| AlarmService & | setAlarmDistance (double distance) noexcept |
| Sets the alarm distance in meters. | |
| double | getAlarmDistance () const noexcept |
| Gets the distance in meters for alarming. | |
| LandmarkStoreCollectionRef | lmks () noexcept |
| Gets access to the alarm settings for the landmark stores. | |
| OverlayMutableCollectionRef | overlays () noexcept |
| Gets access to the collection of overlays to use for alarm. | |
| AlarmService & | setMonitorWithoutRoute (bool value) noexcept |
| Select if alarms should be provided when navigating without route. | |
| bool | getMonitorWithoutRoute () const noexcept |
| Gets the status of the "alarming without route" flag. | |
| AlarmService & | setOverSpeedThreshold (double threshold, bool insideCityArea) noexcept |
| Set the alarm overspeed threshold value, in meters per second. | |
| double | getOverSpeedThreshold (bool insideCityArea) const noexcept |
| Get the alarm overspeed threshold value, in meters per second. | |
| sense::PositionPtr | getReferencePosition () const noexcept |
| Gets alarm current reference position. | |
| const GeographicAreaListRef | getCrossedBoundaries () const noexcept |
| Gets alarm current boundary crossed. | |
| AlarmMonitoredAreaListRef | getInsideAreas () const noexcept |
| Gets area list containing current referenced position. | |
| AlarmMonitoredAreaListRef | getOutsideAreas () const noexcept |
| Gets area list not containing current referenced position. | |
| const LandmarkAlarmsListRef | getLandmarkAlarms () const noexcept |
| Provides the list of active landmark alarms. | |
| const OverlayItemAlarmsListRef | getOverlayItemAlarms () const noexcept |
| Provides the list of active overlay item alarms. | |
| const LandmarkAlarmsListRef | getLandmarkAlarmsPassedOver () const noexcept |
| Provides the list of passed over landmark alarms. | |
| const OverlayItemAlarmsListRef | getOverlayItemAlarmsPassedOver () const noexcept |
| Provides the list of passed over overlay item alarms. | |
| int | setTrackedPositionSource (sense::DataSourcePtr positionSource) noexcept |
| Sets the tracking position source. | |
| sense::DataSourcePtr | getTrackedPositionSource () const noexcept |
| Gets the tracking position source. | |
Static Public Member Functions | |
| static StrongPointer< AlarmService > | produce (AlarmListener listener) |
| create an AlarmService object | |
AlarmService object.
Implements share-read / write Api object over IAlarmService.
Manages alarms and timed notifications in the SDK.
Allows applications to schedule, trigger, and cancel alarms that can be tied to navigation or sensor-driven events.
|
inlinenoexcept |
Gets the distance in meters for alarming.
|
inlinenoexcept |
Gets alarm current boundary crossed.
The function will always return empty GeographicAreaListRef
Use getInsideAreas and getOutsideAreas in order to get areas containing the location reference and areas not containing the location reference.
The API client can check if the current position enters or exits a geographic area using GeographicArea::containsCoordinates.
|
inlinenoexcept |
Gets area list containing current referenced position.
|
inlinenoexcept |
Provides the list of active landmark alarms.
When all alarms become inactive the list of landmark alarms is empty(const LandmarkAlarmsListRef.size() == 0).
|
inlinenoexcept |
Provides the list of passed over landmark alarms.
|
inlinenoexcept |
Get all monitored areas.
|
inlinenoexcept |
Gets the status of the "alarming without route" flag.
|
inlinenoexcept |
Gets area list not containing current referenced position.
|
inlinenoexcept |
Provides the list of active overlay item alarms.
When all alarms become inactive the list of overlay item alarms is empty(const OverlayItemAlarmsListRef.size() == 0).
|
inlinenoexcept |
Provides the list of passed over overlay item alarms.
|
inlinenoexcept |
Get the alarm overspeed threshold value, in meters per second.
| insideCityArea | Specify whether the returned threshold is for inside city area or for outside city area. |
|
inlinenoexcept |
Gets alarm current reference position.
|
inlinenoexcept |
Gets the tracking position source.
|
inlinenoexcept |
Gets access to the alarm settings for the landmark stores.
|
inlinenoexcept |
Add new geographic area to monitor.
| area | Area to be monitored. |
| areaId | The id of the area. |
|
inlinenoexcept |
Gets access to the collection of overlays to use for alarm.
|
inlinestatic |
create an AlarmService object
| listener | Alarm listener that will get all the alarm service related notifications. |
|
inlinenoexcept |
Sets the alarm distance in meters.
| distance | Distance in meters. |
|
inlinenoexcept |
Sets the alarm listener.
| listener | Alarm listener. |
If the listener is empty then the alarm service will stop sending notifications.
|
inlinenoexcept |
Select if alarms should be provided when navigating without route.
| value | Enable or disable monitoring without route. |
|
inlinenoexcept |
Set the alarm overspeed threshold value, in meters per second.
| threshold | Value in meters per second. |
| insideCityArea | Specify whether the given threshold is for inside city area or for outside city area. |
|
inlinenoexcept |
Sets the tracking position source.
| [in] | positionSource | The position source to be tracked. By default the tracked position source is the current set in PositionService |
|
inlinenoexcept |
Remove the all geographic areas from monitor.
|
inlinenoexcept |
Remove the given geographic area from monitor.
| area | Area to be unmonitored. |
|
inlinenoexcept |
Remove the given geographic area id from monitor.
| areaIds | Area ids to be unmonitored. |