Package com.github.twitch4j.helix.domain
Klasse Poll.PollBuilder
java.lang.Object
com.github.twitch4j.helix.domain.Poll.PollBuilder
- Umschließende Klasse:
Poll
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbitsPerVote(Integer bitsPerVote) Veraltet.Twitch no longer supports bits on polls.broadcasterId(String broadcasterId) ID of the broadcaster.broadcasterLogin(String broadcasterLogin) Login name of the broadcaster.broadcasterName(String broadcasterName) Display name of the broadcaster.build()channelPointsPerVote(Integer channelPointsPerVote) Number of Channel Points required to vote once with Channel Points.choice(PollChoice choice) choices(Collection<? extends PollChoice> choices) durationSeconds(Integer durationSeconds) Total duration for the poll (in seconds).UTC timestamp for the poll’s start time.ID of the poll.isBitsVotingEnabled(Boolean isBitsVotingEnabled) Veraltet.Twitch no longer supports bits on polls.isChannelPointsVotingEnabled(Boolean isChannelPointsVotingEnabled) Indicates whether Channel Points can be used for voting.UTC timestamp for the poll’s start time.status(PollStatus status) Poll status.Question displayed for the poll.toString()
-
Methodendetails
-
id
ID of the poll.- Gibt zurück:
this.
-
broadcasterId
ID of the broadcaster.- Gibt zurück:
this.
-
broadcasterName
Display name of the broadcaster.- Gibt zurück:
this.
-
broadcasterLogin
Login name of the broadcaster.- Gibt zurück:
this.
-
title
Question displayed for the poll. Maximum: 60 characters.- Gibt zurück:
this.
-
choice
-
choices
-
clearChoices
-
isBitsVotingEnabled
Veraltet.Twitch no longer supports bits on polls.Indicates whether Bits can be used for voting. Default: false.- Gibt zurück:
this.
-
bitsPerVote
Veraltet.Twitch no longer supports bits on polls.Number of Bits required to vote once with Bits. Minimum: 0. Maximum: 10000.- Gibt zurück:
this.
-
isChannelPointsVotingEnabled
Indicates whether Channel Points can be used for voting. Default: false.- Gibt zurück:
this.
-
channelPointsPerVote
Number of Channel Points required to vote once with Channel Points. Minimum: 0. Maximum: 1000000.- Gibt zurück:
this.
-
status
Poll status.- Gibt zurück:
this.
-
durationSeconds
Total duration for the poll (in seconds). Minimum: 15. Maximum: 1800.- Gibt zurück:
this.
-
startedAt
UTC timestamp for the poll’s start time.- Gibt zurück:
this.
-
endedAt
UTC timestamp for the poll’s start time.- Gibt zurück:
this.
-
build
-
toString
-