Recorder
class.
Recorder
class. Don’t forget to include the required files as seen previously with the monitor implementation.Recorder
class’ constructor :Recorder
class.generateRequestedLabels
method to provide labelsposition
key with a value set to the latitude and longitude in decimal degrees, separated by a comma and space character, for example "48.8580644, 2.3850982"
.
ℹ️ Info: This will add a map to the event page on the Heex Cloud pointing the event location.
tag
key will add the value to the event tags on the Heex Cloud. You can add multiple tags at once by separating them with the pipe character like so : "Tag 1|Tag 2|Tag 3"
.
sessionId
key with a free text value that could be used to group events by session or drive. In the near future, the Heex Cloud will allow you to filter events by this value.
generateRequestedLabels()
method of your recorder’s implementation, you can use the structure labels
to add labels as keys and values.
Key
and value
are added to the RecorderLabels
structure.HeexGps
type as an input. It is used to quickly assign separate latitude
and longitude
to the key "position"
key.⚠️ Warning: error Returning false signals an error and stops the entire event process.
generateRequestedFilePaths
method to provide Event RecordingsgenerateRequestedFilePaths()
method of your recorder, you need to access query informations:
query.eventId
)query.timestamp
)query.timestampedEventUuid
)query.recordIntervalStart
)query.recordIntervalEnd
)RecorderEventRecordingPartArgs
structure in the Query content for Event Recordings Parts for more details.
With this information you can generate a file (or collection of files) that represents the data you want to retreive for your events.
filepath
variable with your filepath value, pointing to your generated event recording part (filepath variable being passed by reference to the function)./*
as an extra suffix (wildcard at the end to include only files within the parent directory).⚠️ Warning: The event recording parts should have different names. Otherwise, some files may be overriden by your recorder before being fully uploaded.Your data generation may differ from what is resquested by the query. The SDK provides methods to run inside your
generateRequestedFilePaths()
implementation to integrate these changes per field.
ℹ️ Note:
Returning false
signals an error and stops the entire event process.