AlarmService class Routes & Navigation

Alarm service class

Constructors

AlarmService(AlarmListener listener)
Creates a new instance of the AlarmService class.
factory
AlarmService.init(int id)

Properties

alarmDistance double
Gets the distance in meters for alarming.
getter/setter pair
alarmListener AlarmListener
Sets the alarm listener.
no getter
hashCode int
The hash code for this object.
no setterinherited
insideAreas List<AlarmMonitoredArea>
Gets areas containing current referenced position
no setter
landmarkAlarms LandmarkAlarmsList
Provides the list of active landmark alarms.
no setter
landmarkAlarmsPassedOver LandmarkAlarmsList
Provides the list of passed over landmark alarms.
no setter
landmarks LandmarkStoreCollection
Gets access to the alarm settings for the landmark stores.
no setter
monitoredAreas List<AlarmMonitoredArea>
Get all monitored areas
no setter
monitorWithoutRoute bool
Gets the status of the "alarming without route" flag.
getter/setter pair
outsideAreas List<AlarmMonitoredArea>
Gets areas not containing current referenced position
no setter
overlayItemAlarms OverlayItemAlarmsList
Provides the list of active overlay item alarms.
no setter
overlayItemAlarmsPassedOver OverlayItemAlarmsList
Provides the list of passed over overlay item alarms.
no setter
overlays OverlayMutableCollection
Gets access to the collection of overlays to use for alarm.
no setter
pointerId → dynamic
no setter
referencePosition GemPosition?
Gets alarm current reference position.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackedPositionSource DataSource
Gets the tracking position source.
no setter

Methods

dispose() → void
getOverSpeedThreshold(bool insideCityArea) double
Get the alarm overspeed threshold value, in meters per second.
monitorArea(GeographicArea area, {String id = ''}) → void
Add new geographic area to monitor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
setOverSpeedThreshold({required double threshold, required bool insideCityArea}) → void
Set the alarm overspeed threshold value, in meters per second.
toString() String
A string representation of this object.
inherited
unmonitorAllAreas() → void
Remove the all geographic areas from monitor.
unmonitorArea(GeographicArea area) → void
Remove the given geographic area from monitor.
unmonitorAreasByIds(List<String> ids) → void
Remove the given geographic areas ids from monitor.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

isSafetyCameraEnabled bool
Check if the safety camera overlay is enabled.
no setter
isSocialReportsEnabled bool
Check if the social reports overlay is enabled.
no setter

Static Methods

disableSafetyCamera() GemError
Disables the safety camera overlay.
disableSocialReports() GemError
Disables the social reports overlay.
disableSocialReportsWithCategory(int categoryId) GemError
Disables the social reports overlay for a specified category.
enableSafetyCamera() GemError
Enables the safety camera overlay.
enableSocialReports() GemError
Enables the social reports overlay.
enableSocialReportsWithCategory(int categoryId) GemError
Enables the social reports overlay for a specified category.
isSocialReportsEnabledWithCategory(int categoryId) bool
Check if the social reports overlay for a specified category is enabled.