monitorWithoutRoute property
bool
get
monitorWithoutRoute
Whether alarms are triggered when navigating without an active route.
When true, landmark and overlay item alarms are triggered while freely exploring the map.
When false, alarms are only triggered during active navigation or simulation on a route.
Returns
bool:trueif monitoring without route is enabled, otherwisefalse.
Also see:
- NavigationService - Manage active navigation sessions.
Implementation
bool get monitorWithoutRoute {
final OperationResult result = objectMethod(
_pointerId,
'AlarmService',
'getMonitorWithoutRoute',
);
return result['result'];
}
set
monitorWithoutRoute
(bool value)
Enables or disables alarm triggering when navigating without an active route.
Parameters
value:trueto enable alarming without a route,falseto disable.
Implementation
set monitorWithoutRoute(final bool value) {
objectMethod(
_pointerId,
'AlarmService',
'setMonitorWithoutRoute',
args: value,
);
}