navigationRouteLowRateUpdate property
Get the navigation route low-rate update flag.
When enabled, navigation route updates are delivered at a lower rate to reduce CPU and network usage during active navigation.
Returns
- True if navigation route low-rate updates are enabled, false otherwise.
Also see:
- navigationRouteLowRateUpdate — Enable or disable low-rate navigation updates.
Implementation
bool get navigationRouteLowRateUpdate {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewExtensions',
'getNavigationRouteLowRateUpdate',
dependencyId: _mapControllerId,
);
return resultString['result'];
}
Enable or disable navigation route low-rate updates.
Parameters
bEnable: True to enable lower-rate navigation updates, false to disable.
Also see:
- navigationRouteLowRateUpdate — Get the current state of low-rate navigation updates.
Implementation
set navigationRouteLowRateUpdate(final bool bEnable) {
objectMethod(
_pointerId,
'MapViewExtensions',
'setNavigationRouteLowRateUpdate',
args: bEnable,
dependencyId: _mapControllerId,
);
}