Recorder
class.
Recorder
class. Don’t forget to include the required files as seen previously with the monitor.Recorder
class’ constructor :Recorder
class.generateRequestedValues
API to provide Context Valuesposition
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.
generateRequestedValues()
method of your recorder’s implementation, you need to fill the variable contextValues
. When you receive it, it contains all the keys your recorder has to fill. You can extend the list with new keys and values.
contextValues
does not contain key
, key
and value
are added at the end of contextValues. Values are defaulted to an empty string.latitude
and longitude
to the key "position"
.contextValues
.
⚠️ Warning: error Returning false signals an error and stops the entire event process.
generateRequestedFilePaths
API to provide Event RecordingsgenerateRequestedFilePaths()
method of your recorder, you need to access query informations:
query.uuid
)query.eventUuid
)query.timestamp
)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.
RecordIntervalStart
and RecordIntervalEnd
fields:true
when the path to the event recording part have been replaced in filepath
. File(s) shall have been completely generated.
ℹ️ Note:
Returning false
signals an error and stops the entire event process.