onQueryGroupedChannelsResult

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.

Parameters

result

The result of the query grouped channels request.

limit

The request-level default per-group limit, or null for the server default.

groups

The per-group request options that were sent, or null when the request asked for the server-defined default set of groups.

watch

Whether watching was requested.

presence

Whether presence was requested.


open suspend fun onQueryGroupedChannelsResult(result: Result<GroupedChannels>, limit: Int?, groups: Map<String, GroupedChannelsGroupQuery>?, watch: Boolean, presence: Boolean, sort: QuerySorter<Channel>?)

Called when the query grouped channels request completes, with the requested sort. By default, calls the overload without the sort.

Parameters

result

The result of the query grouped channels request.

limit

The request-level default per-group limit, or null for the server default.

groups

The per-group request options that were sent, or null when the request asked for the server-defined default set of groups.

watch

Whether watching was requested.

presence

Whether presence was requested.

sort

The order requested for the channels in every group, or null for the server default.