setPredicate

fun setPredicate(predicate: Predicate<Message>?)

Sets the Predicate used to filter messages.