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.e.
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 retrieve 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 overridden by your recorder before being fully uploaded. You may use query.timestampedEventUuid
for unique namings.
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.