setForegroundNotificationDisplayPredicate

Sets a predicate that determines if a notification should be presented in the foreground or not.

Parameters

foregroundDisplayPredicate

The display predicate.