ConfirmationValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
Input for AskForConfirmation
ConfirmationDialogSpec
Speech configurations for confirmation dialog. Please note that these configurations act more like a hint to confirmation dialog than absolute value. For example: In case of failure in receiving input from user for "request for confirmation", the confirmation dialog may respond: Sorry, $requestConfirmationText
.
JSON representation |
{
"requestConfirmationText": string
} |
Fields |
requestConfirmationText |
string
This is the question asked by confirmation sub-dialog. For example "Are you sure about that?"
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["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."],[[["Input for `AskForConfirmation` requires a `dialogSpec` object, which configures the confirmation dialog."],["`ConfirmationDialogSpec` provides speech configurations, acting as guidance for the dialog's behavior, like using `requestConfirmationText` for prompting the user."],["The `requestConfirmationText` field within `ConfirmationDialogSpec` defines the question posed to the user during confirmation, such as \"Are you sure about that?\"."]]],["The core content details a JSON structure for configuring a confirmation dialog. It involves a `dialogSpec` object which utilizes `ConfirmationDialogSpec`. This specification includes `requestConfirmationText`, a string field defining the question presented in the confirmation dialog, such as \"Are you sure about that?\". This structure provides a way to define the confirmation question that is asked to the user. The configurations serve as a suggestion to the confirmation dialog.\n"]]