Skip to main content

Adding Incidents

Incidents can be added either on Groups or Clips. Both Classes provide the (same) addIncident method.

  • Method: addIncident
  • Arguments (2):
    • Incident (the Incident to be added)
    • millisecond: the millisecond that we want to place it
  • Returns: object with the following keys:
    • result: either true or false
    • errors: an array of errors in case the addition is not valid