間近のフライトの通知を受け取る
Google ウォレットから、フライトの 3 時間前にユーザーに通知が送信されます。フライトの時間は class.localScheduledDepartureDateTime
で定義されます。
この通知を受け取るには、通知を有効にする必要があります。これを確認するには、[設定] > [通知] の順に移動し、[パスに関する最新情報] がオンになっているかを確認します。
通知は通知エリアに表示されます。ロック画面の通知を有効にした場合は、ロック画面にも表示されます。
通知は以下のような形式になっています。この形式は変更できません。
Boarding pass for your flight to class.destination.airportIataCode
通知をタップしてデバイスのロックを解除すると、Google ウォレット アプリにパスが表示されます。
複数のパスがある場合は、一番早く利用できるパスが 1 つだけ表示されます。また、複数の搭乗券をグループ化して追加している場合、グループ内の 1 つのパスのみが表示されます。このパスをタップして、左右にスワイプすると、グループ内の他のパスを表示できます。
通知は固定され、ユーザーが開いても自動的には閉じません。class.localScheduledDepartureDateTime
の 60 分後に自動的に閉じます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-13 UTC。
[null,null,["最終更新日 2024-08-13 UTC。"],[[["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."]]],[]]