onResult

abstract fun onResult(pollVoteEvent: PollVoteEvent?, e: SendbirdException?)

Called when operation is done. If done successfully, a non-null PollVoteEvent instance will be passed as pollVoteEvent. When failed, a non-null SendbirdException instance will be passed as e. When succeeded, the user must find cached messages that contain this poll and apply changes using Poll.applyPollVoteEvent.

Since

4.1.0

See also