NotificationCleanupConfig
Configuration class for push notification cleanup settings. This class defines how push notifications are cleaned up automatically.
Properties
Link copied to clipboard
The notification cleanup strategy to use. Default is COUNT_BASED. Options are: - NONE: No automatic cleanup. - COUNT_BASED: Remove oldest notifications when count exceeds maximum. - AGE_BASED: Remove notifications older than the maximum age. - HYBRID: Apply both count and age limits.
Link copied to clipboard
Maximum age in days for notifications when using AGE_BASED or HYBRID mode.
Link copied to clipboard
Maximum number of notifications to retain when using COUNT_BASED or HYBRID mode.