LinkValueSpec
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Transmis depuis l'application en tant qu'entrée pour actions.intent.LINK
.
Champs |
openUrlAction |
object (OpenUrlAction )
Destination vers laquelle l'application doit rediriger. Il peut s'agir d'une URL Web, d'un lien de conversation ou d'un intent Android. Une URL Web est utilisée pour transférer le flux vers un site Web. Un lien conversationnel est utilisé pour fournir un lien profond vers une autre application AoG. Un URI d'intent Android permet de déclencher un intent Android. Cela nécessite de spécifier le packageName.
|
dialogSpec |
object (DialogSpec )
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/22 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/08/22 (UTC)."],[[["`actions.intent.LINK` requires a JSON input with `openUrlAction` and `dialogSpec` fields."],["`openUrlAction` specifies the destination for the link, which can be a web URL, conversational link, or Android intent."],["`dialogSpec` is an object providing additional information for the linking action."]]],["The `actions.intent.LINK` input, represented in JSON, contains two key fields: `openUrlAction` and `dialogSpec`. `openUrlAction` specifies the destination for linking, which can be a web URL, a conversational link to another app, or an Android intent. For Android intents, the package name must be included. `dialogSpec` is the second key which contains dialog specification information. This information details where the app should navigate upon the user engaging the intent.\n"]]