-
public final class PollVoterListQuery
A class representing query to retrieve the list of voters for each poll options.
since 3.0.171
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PollVoterListQuery.Companion
-
Method Summary
Modifier and Type Method Description final Boolean
hasNext()
Checks if there is a next page. final Unit
setHasNext(Boolean hasNext)
final Boolean
isLoading()
final Long
getPollId()
A unique identifier for the poll which contains this poll option. final Long
getPollOptionId()
A unique identifier for this poll option. final String
getChannelUrl()
Url of the channel that this poll belongs to. final Integer
getLimit()
The maximum number of voters per queried page. final Unit
setLimit(Integer limit)
The maximum number of voters per queried page. final Unit
next(PollVoterListQueryResultHandler handler)
Gets the list of users who voted on this option. -
-
Method Detail
-
setHasNext
final Unit setHasNext(Boolean hasNext)
-
getPollId
final Long getPollId()
A unique identifier for the poll which contains this poll option.
since 3.0.171
-
getPollOptionId
final Long getPollOptionId()
A unique identifier for this poll option.
since 3.0.171
-
getChannelUrl
final String getChannelUrl()
Url of the channel that this poll belongs to.
since 3.0.171
-
setLimit
final Unit setLimit(Integer limit)
The maximum number of voters per queried page.
since 3.0.171
-
next
final Unit next(PollVoterListQueryResultHandler handler)
Gets the list of users who voted on this option. A url of the BaseChannel should be passed as channelUrl. The response will be paginated.
The default value for limit is 100. This value must be between 1 and 100.
Once finished, PollVoterListQueryResultHandler will be invoked.
since 3.0.171
-
-
-
-