對話動作已於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
LinkValueSpec
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從應用程式傳遞為 actions.intent.LINK 的輸入內容。
| 欄位 |
openUrlAction |
object (OpenUrlAction)
應用程式應連結的目的地。可以是網址、對話連結或 Android 意圖。網址的用途是將流量轉至特定網站。對話連結是用來提供指向其他 AoG 應用程式的深層連結。Android 意圖 URI 的用途是觸發 Android 意圖。必須指定 packageName。
|
dialogSpec |
object (DialogSpec)
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["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"]]