משתמשים ב-EventClass.appLinkData כדי להוסיף קישור לאפליקציה בתחתית כל הכרטיסים של הכיתה הזו.
אחד היתרונות של קישור אפליקציות הוא שבעזרתו אפשר להפנות משתמשים מהקריאה לפעולה לחוויות המותג שלכם מ-Google Wallet. קישורים עם התכונה הזו מופיעים בחלק התחתון של הכרטיס.
דוגמה לתכונה
המנפיק
הגדרת הקישור לאפליקציה בכרטיס ב-Google Wallet
לכרטיס אירוע נתון, מגדירים את השדה EventObject.appLinkData
כ-URI או כשם החבילה של האפליקציה או האתר.
הפורמט וההקשר של השדה appLinkData מופיעים בקוד המקור הבא:
השדה displayText מוגבל ל-30 תווים.
[null,null,["עדכון אחרון: 2025-02-28 (שעון UTC)."],[[["There are four ways to add links to event tickets, including using `EventClass` or `EventObject` properties for general links and `appLinkData` for app-specific links at the bottom of the pass."],["App linking allows you to direct users to your app or website directly from the Google Wallet pass, enhancing user engagement."],["To enable app linking, set the `EventObject.appLinkData` or `EventClass.appLinkData` field to the URI or package name of your app or website."],["The `appLinkData` field supports linking to both Android and web apps, providing flexibility in your call-to-action."],["When setting app links, ensure the `displayText` is limited to 30 characters for optimal display on the pass."]]],["Links can be added to event tickets in four ways: using `EventClass.LinksModuleData` for all tickets in a class, `EventObject.LinksModuleData` for a specific ticket, `EventObject.appLinkData` for an app link on a specific pass, or `EventClass.appLinkData` for an app link on all passes of a class. App links, which appear at the bottom of the pass, navigate users to branded experiences. `EventObject.appLinkData` can be set to an app's URI or package name, using either `androidAppLinkInfo` or `webAppLinkInfo`. The display text for the link is limited to 30 characters.\n"]]