ContentFunctions
Index
Methods
destroy
Returns void
dialogActionTriggered
User clicked dialog active
Parameters
action: DialogActionTriggerResponse
Returns void
dialogAreaClosed
Should be called when the dialog area was closed by user
Returns void
dialogAreaOpened
Should be called when the dialog area was opened by user
Returns void
dialogMessage
Send a user input message to the content
Parameters
text: string
Returns void
finishPayment
User finished payment action
Parameters
type: string
Returns void
hide
Should be called when the content will be hidden
Returns void
pause
Should be called when the content will be paused
Returns void
play
Should be called when the content will be playing
Returns void
requestHeartbeat
Get a heartbeat signal from the content to check that the content is alive
Returns void
runQueuedTask
Trigger the queued task
Parameters
taskId: string
Returns void
seek
Should be called when the content will be seeked to a specific time
Parameters
time: number
Returns void
sequenceEnded
Parameters
id: string
Returns void
show
Should be called when the content will be visible
Returns void
updateEnvironment
Update environment variables for content
Parameters
env: Record<string, unknown>
Returns void
updateResolution
Update Resolution for content
Parameters
x: number
y: number
Returns void
updateTextField
Parameters
id: string
content: string
Returns void
videoModalClosed
User closed the video modal
Parameters
Returns void
Should be called when the content will be destroyed