PollVoteEventHandler

The callback handler for functions related to Poll.

Since

4.1.0

See also

GroupChannel.votePoll

Functions

Link copied to clipboard
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.