QueryGroupedChannelsListener
interface QueryGroupedChannelsListener
Listener used when querying grouped channels from the backend.
Inheritors
Functions
Link copied to clipboard
open suspend fun onQueryGroupedChannelsRequest(limit: Int?, groups: Map<String, GroupedChannelsGroupQuery>?, watch: Boolean, presence: Boolean)
Called before the query grouped channels request is dispatched to the API. Fires regardless of whether the call later succeeds or fails, so the state plugin can persist the request parameters early and recover them even when the response never lands.
Link copied to clipboard
abstract suspend fun onQueryGroupedChannelsResult(result: Result<GroupedChannels>, limit: Int?, groups: Map<String, GroupedChannelsGroupQuery>?, watch: Boolean, presence: Boolean)
Called when the query grouped channels request completes.