Detecting SDK menus

  ID.isVisible();

Closing SDK menus

  ID.closeMenu();

Saving custom analytics data

  ID.Analytics.customEvent('name', value)

Open user profile

  ID.openProfile()

Open advertisement (requires activation)

Sounds must be muted/unmuted before and after respectively.

ID.gameBreak(function() {
  // Ad skipped or finished
})