export Log
external fun exportLog(logFile: String, albumName: String, completionCallback: (Int, String) -> Unit? = null): Int
Exports a log to public storage
Return
GemError.NoError If operation succeeds.
Parameters
log File
The file path to be exported.
album Name
Name of the album where the video files will be placed.
fun exportLog(logPath: String, type: EFileType, exportedFileName: String = "", positionDistance: Double = 0.0): Int
Exports a log file in a different format. If the name of the exported file is not specified, the log name will be used.
Return
GemError.NoError If the operation succeeds.
GemError.Exist If the exported file already exists in the folder.
GemError.General If the operation fails.
Parameters
log Path
The file to be exported.
type
The type of the exported file.
exported File Name
The name of the exported file.
position Distance
The distance between two consecutive GPS positions. To retain the exact positions from the original log, set this distance to 0.