|
bool | startUploadSession (const char *mapfilePath, slamtec_aurora_sdk_mapstorage_session_result_callback_t resultCallBack=nullptr, void *userData=nullptr, slamtec_aurora_sdk_errorcode_t *errCode=nullptr) |
| Start an upload session. More...
|
|
bool | startDownloadSession (const char *mapfilePath, slamtec_aurora_sdk_mapstorage_session_result_callback_t resultCallBack=nullptr, void *userData=nullptr, slamtec_aurora_sdk_errorcode_t *errCode=nullptr) |
| Start a download session. More...
|
|
bool | startSession (const char *mapfilePath, slamtec_aurora_sdk_mapstorage_session_type_t sessionType, slamtec_aurora_sdk_mapstorage_session_result_callback_t resultCallBack=nullptr, void *userData=nullptr, slamtec_aurora_sdk_errorcode_t *errCode=nullptr) |
| Start a map streaming session. More...
|
|
bool | isSessionActive () |
| Check if the map streaming session is active. More...
|
|
void | abortSession () |
| Abort the map streaming session. More...
|
|
bool | querySessionStatus (slamtec_aurora_sdk_mapstorage_session_status_t &progressOut, slamtec_aurora_sdk_errorcode_t *errCode=nullptr) |
| Query the status of the map streaming session. More...
|
|
The map manager class for managing the map data.
Use this class to upload or download the map to the remote device
The map data accessing provided by the RemoteDataProvider class is only for visualization
Start an upload session.
Start an upload session to upload the map file to the remote device
It the device has already working on a map streaming session, the new upload session will be failed
The SDK will enter the low rate mode during the upload session to reduce the data traffic
The low rate mode will be automatically disabled after the upload session is done
- Parameters
-
[in] | mapfilePath | The path to the map file to upload |
[in] | resultCallBack | The callback function to receive the session result, set to nullptr if not interested |
[in] | userData | The user data to pass to the callback function, set to nullptr if not interested |
[out] | errCode | The error code, set to nullptr if not interested |
- Returns
- True if the upload session is started successfully, false otherwise