Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExample
Code Block
languagejs
await gumbandSDK.logger.error("This is an error log message");

metrics.create(eventName: string, data: object)

Creates an event within the bounds of a start and end interaction for a given exhibit

Expand
titleExample
Code Block
gumbandSDK.metrics.create('Use_Pressed_Button_1', { buttonType: 'accept', score: 72, isGameOver: false})

metrics.endInteraction(data?: object)

...