EosMetrics.EventRecorder.prototype.start_aggregate_timer_with_uid

function start_aggregate_timer_with_uid(uid: Number(guint), event_id: String, auxiliary_payload: GLib.Variant): EosMetrics.AggregateTimer {
    // Gjs wrapper for emtr_event_recorder_start_aggregate_timer_with_uid()
}
  

Requests the metrics daemon to create an aggregate timer.

uid

the UID to ascribe the event to

event_id

an RFC 4122 UUID representing the type of event that took place

auxiliary_payload

miscellaneous data to associate with the events. Must not contain maybe variants as they are not compatible with D-Bus.

Returns

a EosMetrics.AggregateTimer