Capítulo 411 de 988

Chapter 411: registerUsageEvent()

Core Idea

Registers a usage point for your Remotion license. Allows for accurate and up to date reporting and to track your usage on the Remotion dashboard.

Key Concepts

  • API
  • licenseKey<AvailableFrom v="4.0.409"/>
  • event
  • host
  • succeeded
  • Return value
  • billable
  • classification

Code Examples

await registerUsageEvent({
  licenseKey: 'rm_pub_xxxxx',
  event: 'cloud-render',
  host: 'https://myapp.com',
  succeeded: true,
});
  • What it demonstrates: Usage pattern for registerUsageEvent() from the official docs.

Key Takeaways

  1. Understand api when working with registerUsageEvent().
  2. Understand licensekey<availablefrom v="4.0.409"/> when working with registerUsageEvent().
  3. Understand event when working with registerUsageEvent().
  4. Understand host when working with registerUsageEvent().
  5. Understand succeeded when working with registerUsageEvent().

Connects To

  • Accessibility: related page in the Legal, Meta & Support section.
  • dev: related page in the Legal, Meta & Support section.
  • pro: related page in the Legal, Meta & Support section.