-
Notifications
You must be signed in to change notification settings - Fork 274
Migration guide: FilterObject
Jc Miñarro edited this page Mar 4, 2021
·
4 revisions
The class FilterObject
has been moved to a new package and refactored using a sealed class that represents all the different supported filters by Stream.
If you were creating filters by using the class Filters
, you will only need to update the import line:
Remove
import io.getstream.chat.android.client.utils.FilterObject
And Add
import io.getstream.chat.android.client.api.models.FilterObject
If you weren't using our Filters
class to create your filters and used the FilterObject
constructor, we recommend you to use the creation methods we provide on Filters
class, with them you should be able to create all filters you need for your app.