setCategories

open fun setCategories(categories: EnumSet<CardCategory>)

Calling this method will make BrazeFeedFragment display a list of cards where each card belongs to at least one of the given categories. When there are no cards in those categories, this method returns an empty list. When the passed in categories are null, all cards will be returned. When the passed in categories are empty EnumSet, an empty list will be returned.

Parameters

categories

an EnumSet of CardCategory. Please pass in a non-empty EnumSet of CardCategory, or a null. An empty EnumSet is considered invalid.