接收即将出发的航班的通知
Google 电子钱包会在结算前 3 小时向用户发送通知,
广告投放期。航班时间由
class.localScheduledDepartureDateTime
。
如要接收此通知,用户必须启用通知功能。为了确认这一点,他们可以
导航至设置 >通知并查看卡券的动态是否
。
如果用户已
<ph type="x-smartling-placeholder"></ph>
允许在锁定屏幕上启用通知。
通知采用以下不可修改的格式:
Boarding pass for your flight to class.destination.airportIataCode
如果用户点按通知并解锁设备,Google 钱包应用中会显示他们的卡券。
如果用户有多张卡券,系统仅会显示即将可用的卡券。如果他们已将
根据将多个登机牌归为一组,通知中只会显示
。但是,用户点按它后,可以左右滑动以查看其他卡券
该群组。
通知会固定,在用户打开通知后不会自动关闭。自动关闭出现 60 次
分钟之后,class.localScheduledDepartureDateTime
。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["Google Wallet sends a flight boarding pass notification three hours before the scheduled departure time, as indicated by `class.localScheduledDepartureDateTime`."],["Users must enable \"Updates about your passes\" in notification settings to receive these alerts, which appear in the notification area and, if enabled, the lock screen."],["The notification displays a fixed format message: \"Boarding pass for your flight to `class.destination.airportIataCode`,\" and opening it leads to the relevant pass in the Google Wallet app."],["For users with multiple passes, only the next upcoming pass is shown in the notification; grouped passes display one pass initially, with the ability to swipe and view others within the group."],["This pinned notification remains visible after being opened and automatically dismisses 60 minutes after the scheduled departure time."]]],[]]