उस क्लास के सभी पास के सबसे नीचे ऐप्लिकेशन का लिंक डालने के लिए, LoyaltyClass.appLinkData का इस्तेमाल करें.
ऐप्लिकेशन लिंक करने का एक फ़ायदा यह है कि इससे आपके कॉल-टू-ऐक्शन को बेहतर बनाने में मदद मिलती है. इससे, उपयोगकर्ताओं को Google Wallet से आपके ब्रैंडेड अनुभवों पर ले जाया जा सकता है. इस सुविधा वाले लिंक, पास के सबसे नीचे दिखते हैं.
सुविधा का उदाहरण
जारी करने वाला
अपने Google Wallet पास पर ऐप्लिकेशन का लिंक सेट करना
किसी लॉयल्टी कार्ड के लिए, LoyaltyObject.appLinkData फ़ील्ड को अपने ऐप्लिकेशन या वेबसाइट के यूआरआई या पैकेज के नाम पर सेट करें.
नीचे दिए गए सोर्स कोड में, appLinkData फ़ील्ड का फ़ॉर्मैट और कॉन्टेक्स्ट देखें: displayText फ़ील्ड में 30 से ज़्यादा वर्ण नहीं हो सकते.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-06-24 (UTC) को अपडेट किया गया."],[[["There are four ways to add links to a loyalty card, including using `LoyaltyClass.LinksModuleData`, `LoyaltyObject.LinksModuleData`, `LoyaltyObject.appLinkData`, and `LoyaltyClass.appLinkData`."],["App linking allows you to direct users to your branded experiences (app or website) from Google Wallet passes, with links appearing at the bottom of the pass."],["The `appLinkData` field can be used to set the URI or Package name of your app or website for a given loyalty card."],["The `displayText` field within `appLinkData` is limited to 30 characters and is used to display a call-to-action on the pass."],["`appLinkData` supports linking to Android apps using package names or Play Store URLs and websites using URIs."]]],["Links can be added to loyalty cards via `LoyaltyClass.LinksModuleData` (for all cards) or `LoyaltyObject.LinksModuleData` (for a specific card). App links, set using `LoyaltyObject.appLinkData` or `LoyaltyClass.appLinkData`, appear at the bottom of the Pass, enabling navigation to branded experiences. `appLinkData` includes fields for Android or web app links, with `displayText` limited to 30 characters. Deep linking requires `webAppLinkInfo` and the target URI.\n"]]