Class VotesQuery


  • public class VotesQuery
    extends java.lang.Object
    • Method Detail

      • forActivity

        public static VotesQuery forActivity​(java.lang.String activityId)
        Get all users voted to activity with ID.
        Parameters:
        activityId - ID of activity.
        Returns:
        new query object.
      • filterByPollOptionId

        public VotesQuery filterByPollOptionId​(java.lang.String pollOptionId)
        Get only users reacted with specific reaction.
        Parameters:
        pollOptionId - Id of the poll option to filter by.
        Returns:
        the same query instance.
      • getPollOptionId

        public java.lang.String getPollOptionId()