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
- Understand api when working with registerUsageEvent().
- Understand licensekey<availablefrom v="4.0.409"/> when working with registerUsageEvent().
- Understand event when working with registerUsageEvent().
- Understand host when working with registerUsageEvent().
- 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.