@wscsports/blaze-rtn-sdk
Version:
WSC Sports Blaze SDK component for React Native
19 lines • 717 B
TypeScript
/**
* Events derived from `BlazePlayerEvent` are meant to provide specific information regarding player's events,
* such as when a new moment or story begins.
*/
export type BlazePlayerEvent = BlazePlayerEventOnMomentStart | BlazePlayerEventOnStoryStart | BlazePlayerEventOnVideoStart;
export type BlazePlayerEventType = 'OnMomentStart' | 'OnStoryStart' | 'OnVideoStart';
export interface BlazePlayerEventOnMomentStart {
momentId: string;
type: 'OnMomentStart';
}
export interface BlazePlayerEventOnStoryStart {
storyId: string;
type: 'OnStoryStart';
}
export interface BlazePlayerEventOnVideoStart {
videoId: string;
type: 'OnVideoStart';
}
//# sourceMappingURL=blaze-player-event.d.ts.map