Methods
- createContent(id: string, spec: ContentSpec<Record<string, unknown>>): void
- destroyContent(id: string): void
- destroyItself(): Promise<void>
- hideContent(id: string): void
- runQueuedTask(taskId: string): Promise<void>
Parameters
Returns Promise<void>
- sequenceEnded(id: string): void
- shouldBlockContentSwitch(from: number, to: number): boolean
Parameters
Returns boolean
- showContent(id: string): void
- sync(progress: number, time: number): void
Parameters
progress: number
time: number
Returns void
will blocks both preload and showing of next asset instance when it returns true see unblockNextContentSetup and unblockContentSwitch on CoreFunctions