markLogUploaded method
- String logPath
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.
Parameters
logPath: The path to the GM file to mark as uploaded.
Returns
- GemError.success when the operation succeeds.
- GemError.general when the operation fails.
See also:
isUploaded— Checks whether a log is marked as uploaded.
Implementation
GemError markLogUploaded(final String logPath) {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderBookmarks',
'markLogUploaded',
args: logPath,
);
return GemErrorExtension.fromCode(resultString['result']);
}