ConfirmationValueSpec
ConfirmationDialogSpec
确认对话框的语音配置。请注意,这些配置更像是确认对话框,而不是绝对值。例如:如果未能收到用户的“请求确认”输入,确认对话框可能会响应:Sorry, $requestConfirmationText
。
JSON 表示法 |
{
"requestConfirmationText": string
} |
字段 |
requestConfirmationText |
string
这是确认子对话框提出的问题。例如,“您确定吗?”
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[[["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"]]