markLogUploaded method

GemError markLogUploaded(
  1. 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

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']);
}