Class PollUpdateEvent

    public final class PollUpdateEvent

    Class representing an event that a poll has been updated. The affected poll may be in multiple channels. This event will be passed to SendBird.ChannelHandler.onPollUpdated. Once this event is received, the user must find cached messages that contain this poll and apply changes using UserMessage.applyPollUpdateEvent. When the poll is removed, the Poll.details field may be missing so status field is additionally given for such case.

    since 3.0.171

    • Method Summary

      Modifier and Type Method Description
      final Poll getPoll() Full representation of changed poll.
      final Poll.Status getStatus() Status of the affected poll.
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait