Override Functions
It's possible to control Overrides through the SDK as well. Be careful that you cleanup afterwards and end the Override properly. You should usually only do this on Overlays instead of within a Webapp since if the app is destroyed by going to a new page you may not have had a chance to end the Override.
Override Functions
Function | Description | Returns |
---|---|---|
startOverride(name) | Starts an Override designated by the name (string) | null |
endOverride(name) | Stops an Override designated by the name (string) | null |
Code Samples
import { startOverride, endOverride } from '@telemetrytv/sdk'
// Start an override
startOverride('sample-override-name')
// End an override
endOverride('sample-override-name')
Updated 4 months ago
What’s Next