# setFilter

abstract fun setFilter(filterPosition: Int, @NonNull baseFilterRender: BaseFilterRender)

Replaces the filter at the specified position with the specified filter. You can modify filter's parameters after set it to stream.

#### Parameters

filterPosition

filter position

baseFilterRender

filter to set

abstract fun setFilter(@NonNull baseFilterRender: BaseFilterRender)

Replace the filter in position 0 or add the filter if list is empty. You can modify filter's parameters after set it to stream.

#### Parameters

baseFilterRender

filter to set.