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-09-04(UTC)
[null,null,["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eGeneric passes offer two notification types: upcoming and expiry, allowing users to receive timely alerts.\u003c/p\u003e\n"],["\u003cp\u003eUpcoming notifications, triggered 24 hours before a specified time interval, inform users that their generic object is available.\u003c/p\u003e\n"],["\u003cp\u003eExpiry notifications, appearing 48 hours prior to the end of a time interval, remind users of the impending expiration of their generic object.\u003c/p\u003e\n"],["\u003cp\u003eBoth notification types can be easily enabled by setting the respective boolean value (\u003ccode\u003eenabledNotification\u003c/code\u003e) to \u003ccode\u003etrue\u003c/code\u003e in the pass configuration.\u003c/p\u003e\n"]]],["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"],null,["# Notifications\n\nGeneric Passes support two types of notifications, you can configure either:\n\n1. Upcoming notification\n2. Expiry notification\n\nUpcoming notification\n---------------------\n\n[Upcoming notifications](/wallet/generic/rest/v1/genericobject#upcomingnotification)\nappear to the user 24 hours before the [time interval](/wallet/generic/rest/v1/TimeInterval)\nstarts.\n\nWhen the upcoming notification is configured, a notification with the title\n**\"`genericObject.cardTitle` is available now\"** and subtitle **\"View pass\"** will appear to the user.\n\nTo configure upcoming notifications, set the boolean value [UpcomingNotification.enabledNotification](/wallet/generic/rest/v1/genericobject#upcomingnotification)\nto `true`.\n\nExpiry notification\n-------------------\n\n[Expiry notifications](/wallet/generic/rest/v1/genericobject#expirynotification)\nappear 48 hours before the end of the [time interval](/wallet/generic/rest/v1/TimeInterval).\n\nWhen the notification is configured, a notification with the title\n**\"`genericObject.cardTitle` expires in \\[x\\] days\"** and subtitle **\"View pass\"** will appear to the user.\n\nTo configure upcoming notifications, set the boolean value\n[ExpiryNotification.enabledNotification](/wallet/generic/rest/v1/genericobject#expirynotification)\nto `true`."]]