-
public interface ModerationConfigListStateAn observable object representing the current state of a moderation configuration list.
This class manages the state of moderation configurations, including the list of configurations, pagination information, and real-time updates from WebSocket events. It automatically handles configuration additions, updates, and deletions.
-
-
Method Summary
Modifier and Type Method Description abstract ModerationConfigsQuerygetQuery()The query configuration used to fetch configurations. abstract StateFlow<List<ModerationConfigData>>getConfigs()All the paginated moderation configurations. abstract PaginationDatagetPagination()Last pagination information from the most recent API response. BooleangetCanLoadMore()-
-
Method Detail
-
getQuery
abstract ModerationConfigsQuery getQuery()
The query configuration used to fetch configurations.
-
getConfigs
abstract StateFlow<List<ModerationConfigData>> getConfigs()
All the paginated moderation configurations.
This property contains the current list of configurations based on the query configuration. The list is automatically updated when new configurations are added, existing configurations are updated or deleted.
-
getPagination
abstract PaginationData getPagination()
Last pagination information from the most recent API response.
This property contains the pagination metadata from the last successful API request. It's used to determine if more configurations can be loaded and to construct subsequent pagination requests.
-
getCanLoadMore
Boolean getCanLoadMore()
-
-
-
-