persistentMapStoragePath property

String persistentMapStoragePath
getter/setter pair

Path to store persistent map data. This should be the a path to the desired location for which the application has read/write permissions. The path can be on internal or external storage. By default, this returns an empty string. Setting a new string, will overwrite the internally used default paths:

Application Library directory for iOS and Context.getFilesDir().getPath() for Android. If an absolute path is set, it will be used instead. If a relative path is set then directory Application Library directory for iOS and Context.getFilesDir().getPath() for Android is used as parent path. Note: Offline maps stored at <persistent_map_storage_path>/v1/<access_key_id>/ocm-map/, where <access_key_id> is taken from SDKOptions.authenticationMode. When SDKOptions initialized with AuthenticationMode.withToken or AuthenticationMode.withExternal, then <access_key_id> left empty.

Note: If the persistent map storage location has the read only permission, then the SDKOptions.dataPath must be configured.

Implementation

String persistentMapStoragePath;