setFilters

fun setFilters(newFilters: FilterObject)

Allows for the change of filters used for channel queries.

Use this if you need to support runtime filter changes, through custom filters UI. The applied filter overrides the initialFilters set through the constructor.

Warning: The filter that's applied will override the initialFilters set through the constructor. Has no effect on view models constructed for a predefined-filter query (predefined identity is fixed at construction) or for a grouped query (the group's filter is server-owned).

Parameters

newFilters

The new filters to be used as a baseline for filtering channels.