接收近期活動的通知
Google 電子錢包會在
活動。事件時間是由
class.dateTime.start
。
如要接收這類通知,使用者必須啟用通知功能。他們可以
依序點選「設定」圖示 >通知,並查看票證最新消息
已開啟。
該通知會顯示在通知區域和螢幕鎖定畫面中 (如果使用者
已啟用螢幕鎖定通知功能。
通知的格式如下 (此格式無法修改):
class.eventName
使用者輕觸通知並解鎖裝置後,票證就會顯示在 Google 錢包應用程式中。
如果使用者擁有多張票證,系統只會顯示最快使用的票證。如果他們將項目加入群組
根據將多份活動票券分組一節所述,通知只會顯示
即可。不過使用者輕觸通知時,可以向左或向右滑動來查看其他票證
該群組。
使用者開啟通知後,該通知會固定顯示且不會自動關閉,發生 60 次自動關閉的情形
分鐘 (在 class.dateTime.start
過後)。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-28 (世界標準時間)。
[null,null,["上次更新時間:2025-02-28 (世界標準時間)。"],[[["Google Wallet sends an event reminder notification three hours before the `class.dateTime.start` time, provided the user has enabled notifications in settings."],["The notification displays the `class.eventName` and, when tapped, opens the relevant pass (or group of passes) within the Google Wallet app."],["For users with multiple passes, the notification prioritizes the soonest usable pass or one representative pass from a group."],["The notification persists for 60 minutes after the event start time before automatically dismissing."]]],["Google Wallet notifies users three hours before an event, based on `class.dateTime.start`, provided notifications are enabled in device settings. The notification displays `class.eventName` and appears on the lock screen if enabled. Tapping the notification opens the pass in the Google Wallet app. Only the nearest pass is shown, but grouped passes can be accessed via swiping. The notification is pinned and auto-dismisses 60 minutes after the event's start time.\n"]]