RecorderBookmarks class Sensor Data Source
Provides access to recorded logs and their metadata on the device.
RecorderBookmarks lets you list, inspect, export, import and manage
recorded .gm and .mp4 files stored in a logs directory.
Do not instantiate directly; use create to obtain an instance bound to a specific folder.
See also:
- LogMetadata for per-log metadata access.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointerId → int
-
The pointer ID of the native object
no setterinherited
-
protectedLogsList
→ List<
String> -
Returns a list of logs that are marked as protected.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteLog(
String logPath) → GemError - Deletes the specified log file from the filesystem. Does not delete protected logs.
-
dispose(
) → void -
Disposes the native object.
inherited
-
exportLog(
String logPath, FileType type, {String? exportedFileName}) → GemError - Exports a recorded log to a different file format (for example GPX or CSV).
-
getLogDurationInSeconds(
String logPath) → int - Returns the duration of an MP4 log file, in seconds.
-
getLogMetadata(
String logPath) → LogMetadata? - Retrieves metadata for a specific log file.
-
getLogsList(
{FileSortOrder sortOrder = FileSortOrder.asc, FileSortType sortType = FileSortType.date}) → List< String> -
Lists all
.gmand.mp4log files in the bound folder. -
importLog(
String logPath, {String? importedFileName}) → GemError - Imports a log file (GPX, NMEA, KML) and stores it in the logs folder in GM format.
-
markLogProtected(
String logPath) → GemError - Marks a GM log as protected to prevent automatic deletion.
-
markLogUploaded(
String logPath) → GemError - Marks a GM log as uploaded.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
String path) → RecorderBookmarks? - Creates a RecorderBookmarks instance for the provided folder path.