setPredicate

open fun setPredicate(predicate: Predicate<Message>)

Sets the predicate to use for filtering messages. If unset, the default @link{MessageCenter} predicate will be used.

Parameters

predicate

A predicate for filtering messages.