Notifications
일반 패스는 두 가지 유형의 알림을 지원하며, 다음 중 하나를 구성할 수 있습니다.
- 예정된 알림
- 만료 알림
예정된 알림
예정된 알림은 시간 간격이 시작되기 24시간 전에 사용자에게 표시됩니다.
예정된 알림이 구성되면 'genericObject.cardTitle
이용 가능' 제목과 '패스 보기'라는 부제목이 포함된 알림이 사용자에게 표시됩니다.
예정된 알림을 구성하려면 불리언 값 UpcomingNotification.enabledNotification을 true
로 설정합니다.
만료 알림
만료 알림은 시간 간격이 끝나기 48시간 전에 표시됩니다.
알림이 구성되면 'genericObject.cardTitle
이(가) [x] 일 후 만료됩니다'라는 제목과 '패스 보기'라는 부제목이 포함된 알림이 사용자에게 표시됩니다.
예정된 알림을 구성하려면 부울 값 ExpiryNotification.enabledNotification을 true
로 설정합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-28(UTC)
[null,null,["최종 업데이트: 2025-02-28(UTC)"],[[["Generic passes offer two notification types: upcoming and expiry, allowing users to receive timely alerts."],["Upcoming notifications, triggered 24 hours before a specified time interval, inform users that their generic object is available."],["Expiry notifications, appearing 48 hours prior to the end of a time interval, remind users of the impending expiration of their generic object."],["Both notification types can be easily enabled by setting the respective boolean value (`enabledNotification`) to `true` in the pass configuration."]]],["Generic Passes offer upcoming and expiry notifications. Upcoming notifications, appearing 24 hours before the start time, display the pass's card title and \"View pass\" as the subtitle, enabled by setting `UpcomingNotification.enabledNotification` to `true`. Expiry notifications, appearing 48 hours before the end time, show the card title and an \"expires in [x] days\" message with a \"View pass\" subtitle, enabled by setting `ExpiryNotification.enabledNotification` to `true`.\n"]]