Client SDK API Reference
The Highlight client records and sends session data to Highlight. The Highlight client SDK contains functions to configure your recording, start and stop recording, and add custom user metadata and properties.
Just getting started?
Check out our getting started guide to get up and running quickly.
This method is called to initialize Highlight in your application.
This method is used to add an identity to a user for the session. You can learn more in Identifying Users.
This method is used to track events that happen during the session. You can learn more in Tracking Events.
This method is used to send a custom error to Highlight.
This method is used to submit custom metrics.
This method is used to get the Highlight session URL. This method provides the same URL as H.getSessionUrl() but this also gives you a URL for the exact time (relative to the session recording) the method is called. For example, an error is thrown in your app and you want to save the Highlight session URL to another app (Mixpanel, Sentry, Amplitude, etc.). If you just want a URL to the session, you can save url. If you want a URL that sets the player to the time of when the error is called, you can save urlWithTimestamp.
This method is used to get the Highlight session URL for the current recording session. This is useful to use if you'd like to send the session URL to another application. See H.getSessionDetails() if you want to get the URL with the current time.
This method is used to start Highlight if H.init() was called with manualStart set to true.
This method is used to stop Highlight from recording. Recording can be resumed later by calling H.start().