onResult

abstract fun onResult(polls: List<Poll>?, e: SendbirdException?)

Called when operation is done. If done successfully, a list of Poll instance will be passed as polls. If no poll is found, this list will be empty. This list will be paginated and if there are more elements to retrieve, PollListQuery.hasNext will be false. If error occurred, e will be non-null.

Since

4.1.0