Cible à suivre lors de l'ouverture du lien de l'application sur les clients. Les partenaires l'utiliseront pour ouvrir leur application ou leur page Web.
AppTarget
Représentation JSON
{// Union field target can be only one of the following:"targetUri": {object (Uri)},"packageName": string// End of list of possible types for union field target.}
URI pour AppTarget. La description de l'URI doit être définie. Nous vous recommandons de définir plutôt le champ "package", si cette cible est définie pour votre application.
packageName
string
Nom du package pour AppTarget. Par exemple: com.google.android.gm
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/11/16 (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/11/16 (UTC)."],[[["AppLinkData objects contain information about app links for Android, iOS, and web apps, along with display text."],["AppLinkInfo objects, while largely deprecated, can define targets for opening app links."],["AppTarget objects specify either a URI or package name as the target for the app link."],["The `displayText` field within AppLinkData allows for customization of the app link button's text, with a 30-character limit."],["App link functionality enables integration with external apps or web pages directly from Google Wallet passes."]]],["The core content describes data structures for app links, including `JSON representation`, `AppLinkInfo`, and `AppTarget`. `AppLinkInfo` contains information for Android and web app links, with `displayText`. `AppLinkInfo` further specifies `appTarget`, which defines how to open the link, via either a `targetUri` or `packageName`. Several fields, such as `iosAppLinkInfo`, `appLogoImage`, `title`, and `description`, are deprecated. `target` is a union field with either `targetUri` or `packageName`.\n"]]