Package 

Interface QueryChannelsListener

    • Method Detail

      • onQueryChannelsResult

        @Deprecated(message = This method will be removed in the future. Use QueryChannelsListener#onQueryChannelsResultWithPredefinedFilter(result, request) instead. For backwards compatibility, this method is still called internally by the new, non-deprecated method when its default implementation runs., replaceWith = @ReplaceWith(imports = {io.getstream.chat.android.client.api.models.QueryChannelsResult}, expression = onQueryChannelsResultWithPredefinedFilter(result.map { QueryChannelsResult(it, null) }, request))) Unit onQueryChannelsResult(Result<List<Channel>> result, QueryChannelsRequest request)

        Runs this function on the Result of this QueryChannelsRequest.

        Kept for backwards compatibility with listeners written before predefined filters existed — for backwards compatibility, this method is still called internally by the new, non-deprecated onQueryChannelsResultWithPredefinedFilter when that method's default implementation runs.

      • onQueryChannelsResultWithPredefinedFilter

         Unit onQueryChannelsResultWithPredefinedFilter(Result<QueryChannelsResult> result, QueryChannelsRequest request)

        Runs this function on the Result of this QueryChannelsRequest, exposing the optional server-resolved QueryChannelsResult.predefinedFilter alongside the channel list.

        The default implementation forwards to the deprecated onQueryChannelsResult overload, so listeners written before predefined-filter support keep receiving callbacks. Override this method (instead of the deprecated overload) when you want to inspect the resolved predefined filter.

        The Kotlin name differs from the deprecated overload because both signatures erase to the same JVM signature; this also keeps the deprecated overload's JVM symbol intact for binary compatibility with already-compiled customer overrides.