AppLinkData
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ช่อง |
androidAppLinkInfo |
object (AppLinkInfo )
ข้อมูลเกี่ยวกับลิงก์แอปพาร์ทเนอร์ (ไม่บังคับ)
|
iosAppLinkInfo (deprecated) |
object (AppLinkInfo )
เลิกใช้งานแล้ว ระบบไม่รองรับลิงก์ที่เปิดแอป iOS
|
webAppLinkInfo |
object (AppLinkInfo )
ข้อมูลเกี่ยวกับเว็บลิงก์ของพาร์ทเนอร์ (ไม่บังคับ)
|
displayText |
object (LocalizedString )
ข้อความที่แสดง (ไม่บังคับ) สำหรับปุ่มลิงก์แอป จำนวนอักขระสูงสุดคือ 30 ตัว
|
AppLinkInfo
ช่อง |
appLogoImage (deprecated) |
object (Image )
เลิกใช้งานแล้ว โมดูล App Link ไม่รองรับรูปภาพ
|
title (deprecated) |
object (LocalizedString )
เลิกใช้งานแล้ว โมดูล App Link ไม่รองรับชื่อ
|
description (deprecated) |
object (LocalizedString )
เลิกใช้งานแล้ว โมดูล App Link ไม่รองรับคำอธิบาย
|
appTarget |
object (AppTarget )
เป้าหมายที่จะติดตามเมื่อเปิดลิงก์แอปในไคลเอ็นต์ พาร์ทเนอร์จะใช้ URL นี้เพื่อเปิดแอปหรือหน้าเว็บ
|
AppTarget
การแสดง 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 .
} |
ช่อง |
ฟิลด์สหภาพ target target ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น
|
targetUri |
object (Uri )
URI สําหรับ AppTarget ต้องตั้งค่าคําอธิบายใน URI โปรดใช้ช่องการตั้งค่าแพ็กเกจแทน หากมีการกําหนดเป้าหมายนี้สําหรับแอปพลิเคชันของคุณ
|
packageName |
string
ชื่อแพ็กเกจสําหรับ AppTarget เช่น com.google.android.gm
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eAppLinkData objects contain information about app links for Android, iOS, and web apps, along with display text.\u003c/p\u003e\n"],["\u003cp\u003eAppLinkInfo objects, while largely deprecated, can define targets for opening app links.\u003c/p\u003e\n"],["\u003cp\u003eAppTarget objects specify either a URI or package name as the target for the app link.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edisplayText\u003c/code\u003e field within AppLinkData allows for customization of the app link button's text, with a 30-character limit.\u003c/p\u003e\n"],["\u003cp\u003eApp link functionality enables integration with external apps or web pages directly from Google Wallet passes.\u003c/p\u003e\n"]]],["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"],null,["# AppLinkData\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AppLinkInfo](#AppLinkInfo)\n - [JSON representation](#AppLinkInfo.SCHEMA_REPRESENTATION)\n- [AppTarget](#AppTarget)\n - [JSON representation](#AppTarget.SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"androidAppLinkInfo\": { object (/wallet/reference/rest/v1/AppLinkData#AppLinkInfo) }, \"iosAppLinkInfo\": { object (/wallet/reference/rest/v1/AppLinkData#AppLinkInfo) }, \"webAppLinkInfo\": { object (/wallet/reference/rest/v1/AppLinkData#AppLinkInfo) }, \"displayText\": { object (/wallet/reference/rest/v1/LocalizedString) } } ``` |\n\n| Fields ||\n|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `androidAppLinkInfo` | `object (`[AppLinkInfo](/wallet/reference/rest/v1/AppLinkData#AppLinkInfo)`)` Optional information about the partner app link. |\n| `iosAppLinkInfo` **(deprecated)** | `object (`[AppLinkInfo](/wallet/reference/rest/v1/AppLinkData#AppLinkInfo)`)` | This item is deprecated! Deprecated. Links to open iOS apps are not supported. |\n| `webAppLinkInfo` | `object (`[AppLinkInfo](/wallet/reference/rest/v1/AppLinkData#AppLinkInfo)`)` Optional information about the partner web link. |\n| `displayText` | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` Optional display text for the app link button. Character limit is 30. |\n\nAppLinkInfo\n-----------\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"appLogoImage\": { object (/wallet/reference/rest/v1/Image) }, \"title\": { object (/wallet/reference/rest/v1/LocalizedString) }, \"description\": { object (/wallet/reference/rest/v1/LocalizedString) }, \"appTarget\": { object (/wallet/reference/rest/v1/AppLinkData#AppTarget) } } ``` |\n\n| Fields ||\n|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `appLogoImage` **(deprecated)** | `object (`[Image](/wallet/reference/rest/v1/Image)`)` | This item is deprecated! Deprecated. Image isn't supported in the app link module. |\n| `title` **(deprecated)** | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` | This item is deprecated! Deprecated. Title isn't supported in the app link module. |\n| `description` **(deprecated)** | `object (`[LocalizedString](/wallet/reference/rest/v1/LocalizedString)`)` | This item is deprecated! Deprecated. Description isn't supported in the app link module. |\n| `appTarget` | `object (`[AppTarget](/wallet/reference/rest/v1/AppLinkData#AppTarget)`)` Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage. |\n\nAppTarget\n---------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `target` can be only one of the following: \"targetUri\": { object (/wallet/reference/rest/v1/Uri) }, \"packageName\": string // End of list of possible types for union field `target`. } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `target`. `target` can be only one of the following: ||\n| `targetUri` | `object (`[Uri](/wallet/reference/rest/v1/Uri)`)` URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application. |\n| `packageName` | `string` Package name for AppTarget. For example: com.google.android.gm |"]]