importLog method

GemError importLog(
  1. String logPath, {
  2. String? importedFileName,
})

Import a log file in GM format.

Supported file formats include: GPX, NMEA, KML. If the name of the exported file is not specified, the log name will be used.

Parameters

  • IN logPath The path for the file to be imported.
  • IN importedFileName The imported file name.

Returns

Implementation

GemError importLog(final String logPath, {final String? importedFileName}) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RecorderBookmarks',
    'importLog',
    args: <String, Object?>{
      'logPath': logPath,
      'importedFileName': importedFileName,
    },
  );

  return GemErrorExtension.fromCode(resultString['result']);
}