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: true if monitoring without route is enabled, otherwise false.

Also see:

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: true to enable alarming without a route, false to disable.

Implementation

set monitorWithoutRoute(final bool value) {
  objectMethod(
    _pointerId,
    'AlarmService',
    'setMonitorWithoutRoute',
    args: value,
  );
}