BLOCKED: There is a query in flight and the new query will be dropped.
UNKNOWN: The current query state couldn't be determined.
getHeaderHeightPx
getHeaderHeightPx() returns Promise<height>
Determines the height of the header at the top of a display.
Parameters
height
number
The height in pixels.
InteractiveCanvasCallbacks
These callbacks provide a way for you to respond to information or requests
from your conversational action while the methods provide a way to send
information or requests to your conversational action.
onUpdate
onUpdate(data) returns undefined
Called when an HtmlResponse is sent from the conversational action. After
the end of the function call, the TTS will start immediately.
Parameters
data
Object
Updated data sent by the webhook.
onTtsMark
onTtsMark(markName) returns undefined
Callback that is invoked during TTS playback.
Special marks that always are triggered:
START indicates the start of the TTS.
END indicates the end of the TTS.
ERROR indicates an error playing the TTS.
You can also define custom marks by using
SSML
and the <mark> tag, like <mark name="custom"/>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Conditional logic in scenes uses values from intent, scene, session, user, home, device, canvas, and resource objects."],["Supported operations include logical (&&, ||, !), numerical (+, -, *, /), comparison (==, !=, \u003c, \u003c=, \u003e, \u003e=), and operations on lists and maps."],["Boolean constants `true`, `false`, and `!false` are available, and string operations support double or single quotes, substring checks, concatenation, lexicographical comparison, and size calculation."],["Data model objects like `intent`, `session`, and others provide access to various data points for conditional checks, and these values can also be referenced in static prompts."]]],[]]