ConfirmationValueSpec
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pole do wpisania parametru AskForConfirmation
ConfirmationDialogSpec
Konfiguracje mowy na potrzeby okna potwierdzenia. Pamiętaj, że te konfiguracje działają bardziej jak wskazówka do okna potwierdzenia niż wartość bezwzględna. Na przykład: w przypadku braku odpowiedzi użytkownika „prośba o potwierdzenie” może pojawić się odpowiedź w oknie potwierdzenia: Sorry, $requestConfirmationText
.
Zapis JSON |
{
"requestConfirmationText": string
} |
Pola |
requestConfirmationText |
string
Oto pytanie zadane w podrzędnym oknie potwierdzenia. na przykład „Czy masz pewność, że tak jest?”
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-22 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"]]