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.broadcastEventConfigs(manifest: object)

Sends metrics configurations from the manifest to the gumband cloud

Expand
titleExample
Code Block
gumbandSDK.metrics.broadcastEventConfigs(manifest);

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

...

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

metrics.endInteraction(data?: object)

...