接收即将进行的活动的通知
Google 电子钱包会在结算前 3 小时向用户发送通知,
事件。事件时间由
class.dateTime.start
。
如要接收此通知,用户必须启用通知功能。为了确认这一点,他们可以
导航至设置 >通知并查看卡券的动态是否
。
如果用户已
<ph type="x-smartling-placeholder"></ph>
允许在锁定屏幕上启用通知。
通知采用以下不可修改的格式:
class.eventName
如果用户点按通知并解锁设备,Google 钱包应用中会显示他们的卡券。
如果用户有多张卡券,系统仅会显示即将可用的卡券。如果他们已将
根据将多个活动门票归为一组,通知中只会显示其中一个门票;
。但是,用户点按它后,可以左右滑动以查看其他卡券
该群组。
通知会固定,在用户打开通知后不会自动关闭。自动关闭出现 60 次
分钟之后,class.dateTime.start
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-10。
[null,null,["最后更新时间 (UTC):2024-09-10。"],[[["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."]]],[]]