TextMark class Sensor Data Source
Represents a textual annotation at a specific moment in a recording.
A TextMark stores an offset timestamp, geographic Coordinates, and a
textual report describing the moment. Text marks are useful for bookmarks,
notes, or labeling events during a recording session.
Text marks are added by calling the Recorder.addTextMark method while recording.
See also:
- SoundMark — time intervals associated with recorded audio.
- LogMetadata.textMarks — retrieve text marks from a log's metadata.
- Recorder.addTextMark — add text marks during recording.
- Implemented types
Constructors
- TextMark.new(int offset, Coordinates coordinates, String report)
- Creates a TextMark with the specified offset, coordinates, and report.
-
TextMark.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- coordinates ↔ Coordinates
-
The geographical coordinates where the text mark was recorded.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset ↔ int
-
The timestamp (in milliseconds) of the text mark within the log.
getter/setter pair
- report ↔ String
-
A textual note or annotation associated with the mark.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited