Class MessageStream

    • Method Detail

      • nextStreamOptions

        public StreamMessagesOptions nextStreamOptions()
        Only call this method if nextMarker().isPresent() returns true.
        Returns:
        The options necessary to get the next page of messages.
      • nextMarker

        public com.google.common.base.Optional<Object> nextMarker()
        Description copied from class: IterableWithMarker
        If there is a next marker, then the set is incomplete and you should issue another command to retrieve the rest, setting the option marker to this value
        Overrides:
        nextMarker in class PaginatedCollection<Message>
        Returns:
        next marker, or absent if list is complete