getMessages

open fun getMessages(predicate: Predicate<Message>): List<Message>

Gets a list of RichPushMessages, filtered by the provided predicate. Sorted by descending sent-at date.

Return

List of filtered and sorted Messages.

Parameters

predicate

A predicate for filtering messages. If null, no predicate will be applied.


open fun getMessages(): List<Message>

Gets a list of RichPushMessages. Sorted by descending sent-at date.

Return

List of sorted Messages.