接收航班动态通知
当航班的某些字段发生更改时,添加了一张或多张登机牌的用户会在其设备上收到推送通知。只有在满足特定条件时才会发生这种情况。
出发地航站楼和登机口
如果您更改 class.origin.terminal
或 class.origin.gate
,并且满足以下条件,用户将收到有关字段已更改的通知。
- 距离
class.localScheduledDepartureDateTime
不到三个小时。
通知的格式如下:“某某航空公司已将登机口更新为 A1”。格式无法更改。
登机时间和起飞时间
如果您更改 class.localBoardingDateTime
或 class.localEstimatedOrActualDepartureDateTime
,并且满足以下条件,用户将收到有关字段已更改的通知。
- 距离
class.localScheduledDepartureDateTime
不到 24 小时。
- 各个时间的变化幅度至少为 10 分钟或更长时间。
通知的格式如下:“_示例航空公司已将登机时间更新为下午 6:00。_”格式或语言无法自定义。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-06。
[null,null,["最后更新时间 (UTC):2024-09-06。"],[[["Push notifications are sent to users with boarding passes when specific flight details like origin terminal, gate, boarding time, or departure time are changed, but only under certain conditions."],["Notifications regarding origin terminal or gate changes are triggered if the change occurs within three hours of the scheduled departure time."],["Boarding time or departure time change notifications are sent if the change is at least 10 minutes and within 24 hours of the scheduled departure."],["The notification formats for gate, boarding time, and departure time updates are pre-defined and cannot be customized."]]],[]]