SoundMark class Sensor Data Source
Represents a time interval in a recording where sound was captured.
A SoundMark identifies the start and end offsets (in milliseconds) of a section of a log that contains recorded audio and the geographic Coordinates associated with that interval.
Soundmarks are generated automatically during audio recording sessions.
Play the .mp4 file with an external media player to play the audio content
from the start to the end offsets.
See also:
- TextMark — Textual annotations at specific timestamps in the log.
- LogMetadata.soundMarks — Retrieve sound marks from a log's metadata.
- Implemented types
Constructors
- SoundMark.new(int start, int end, Coordinates coordinates)
- Creates a SoundMark with the specified start and end offsets and coordinates.
-
SoundMark.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- coordinates ↔ Coordinates
-
Coordinates associated with the sound interval.
getter/setter pair
- end ↔ int
-
End offset in milliseconds (between 0 and log length).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start ↔ int
-
Start offset in milliseconds (between 0 and log length).
getter/setter pair
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