@wscsports/blaze-rtn-sdk
Version:
WSC Sports Blaze SDK component for React Native
50 lines • 1.76 kB
TypeScript
import { BlazeMomentsPlayerStyle } from "./moments-player-style";
import { BlazeStoryPlayerStyle } from "./stories-player-style";
import { BlazeVideosPlayerStyle } from "./videos-player-style";
import { BlazeDataSourceType } from "./widgets-props.interface";
export interface PlayStoryOptions {
storyId: string;
pageId?: string;
playerStyle?: BlazeStoryPlayerStyle;
triggerSource?: BlazeEntryPointTriggerSource;
}
export interface PrepareStoriesOptions {
dataSource: BlazeDataSourceType;
}
export interface PlayStoriesOptions {
dataSource: BlazeDataSourceType;
playerStyle?: BlazeStoryPlayerStyle;
shouldOrderContentByReadStatus?: boolean;
triggerSource?: BlazeEntryPointTriggerSource;
}
export interface PlayMomentOptions {
momentId: string;
playerStyle?: BlazeMomentsPlayerStyle;
triggerSource?: BlazeEntryPointTriggerSource;
}
export interface PrepareMomentsOptions {
dataSource: BlazeDataSourceType;
}
export interface PlayMomentsOptions {
dataSource: BlazeDataSourceType;
playerStyle?: BlazeMomentsPlayerStyle;
shouldOrderContentByReadStatus?: boolean;
triggerSource?: BlazeEntryPointTriggerSource;
}
export interface PlayVideoOptions {
videoId: string;
playerStyle?: BlazeVideosPlayerStyle;
triggerSource?: BlazeEntryPointTriggerSource;
}
export interface PrepareVideosOptions {
dataSource: BlazeDataSourceType;
}
export interface PlayVideosOptions {
dataSource: BlazeDataSourceType;
playerStyle?: BlazeVideosPlayerStyle;
shouldOrderContentByReadStatus?: boolean;
triggerSource?: BlazeEntryPointTriggerSource;
}
type BlazeEntryPointTriggerSource = 'notification' | 'deepLink' | 'entryPoint';
export {};
//# sourceMappingURL=actions-options.interface.d.ts.map