isOfflineMode property - SDKNativeEngine class - core.engine library - Dart API
isOfflineMode property
The offline mode.
Sets offline mode for the HERE SDK to offline or online.
Defaults to false, which means the HERE SDK uses an online connection.
When enabled, this prevents the HERE SDK from initiating any online connection except for provided pass through features if set.
See SDKNativeEngine.passThroughFeatures.
Note that the flag does not cancel pending requests.
The mode can be enabled or disabled at any time. In order to fully operate offline, the mode
needs to be enabled via SDKOptions.offlineMode.
Initialization of the HERE SDK itself does not require an internet connection.
Returns true if the HERE SDK uses offline connection mode, otherwise returns false.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process. Gets the current offline mode.
Implementation
bool get isOfflineMode;
The offline mode.
Sets offline mode for the HERE SDK to offline or online.
Defaults to false, which means the HERE SDK uses an online connection.
When enabled, this prevents the HERE SDK from initiating any online connection except for provided pass through features if set.
See SDKNativeEngine.passThroughFeatures.
Note that the flag does not cancel pending requests.
The mode can be enabled or disabled at any time. In order to fully operate offline, the mode
needs to be enabled via SDKOptions.offlineMode.
Initialization of the HERE SDK itself does not require an internet connection.
Returns true if the HERE SDK uses offline connection mode, otherwise returns false.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process. Sets the offline mode.
Implementation
set isOfflineMode(bool value);