PlaceDialogSpec
Stay organized with collections
Save and categorize content based on your preferences.
Speech configurations for AskForPlace. Please note that these configurations act more like a hint to location dialog than absolute value. The location dialog has several other types of responses that are not covered in this config. Even in case of responses that are configurable with this input, location dialog may choose to add additional info to override these hints. For example: In case of failure in receiving input from user for "request location", the location dialog might respond: "Sorry; $request_location".
JSON representation |
{
"requestPrompt": string,
"permissionContext": string
} |
Fields |
requestPrompt |
string
This is the initial prompt by AskForPlace sub-dialog. For example "What place do you want?"
|
permissionContext |
string
This is the context for seeking permission to access various user related data if the user prompts for personal location during the sub-dialog like "Home", "Work" or "Dad's house". For example "*To help you find juice stores*, I just need to check your location. Can I get that from Google?". The first part of this permission prompt is configurable.
|
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."],[[["Speech configurations in AskForPlace act as hints to the location dialog, not absolute values."],["The location dialog may add information or override the configurations."],["`requestPrompt` configures the initial prompt for asking the user's desired place."],["`permissionContext` configures the prompt for seeking permission to access user location data when personal locations are requested."]]],[]]