Package 

Interface ModerationConfigListState


  • 
    public interface ModerationConfigListState
    
                        

    An 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 Detail

      • 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.