Home > @magiclane/maps-sdk > RecorderBookmarks > markLogUploaded
RecorderBookmarks.markLogUploaded() method
Marks a GM log as uploaded.
Use this to indicate that the log has been successfully transmitted to a server; uploader components or UI can then avoid re-uploading it.
Signature:
markLogUploaded(logPath: string): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
logPath |
string |
The path to the GM file to mark as uploaded. |
Returns:
GemError
- GemError.success when the operation succeeds. - GemError.general when the operation fails.