Package live.hms.video.polls
Class HMSPollBuilder
-
- All Implemented Interfaces:
public final class HMSPollBuilderCreate polls and add questions. When ready, pass to HmsInteractivityCenter.quickStartPoll
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHMSPollBuilder.Builder
-
Field Summary
Fields Modifier and Type Field Description private final Stringtitleprivate final Longdurationprivate final StringpollIdprivate final Booleananonymousprivate final HmsPollCategorycategoryprivate final HmsPollUserTrackingModemodeprivate final List<String>rolesThatCanVoteprivate final List<String>rolesThatCanViewResponsesprivate final List<HMSPollQuestion>questions
-
Method Summary
Modifier and Type Method Description final StringgetTitle()final LonggetDuration()final StringgetPollId()final BooleangetAnonymous()final HmsPollCategorygetCategory()final HmsPollUserTrackingModegetMode()final List<String>getRolesThatCanVote()final List<String>getRolesThatCanViewResponses()final List<HMSPollQuestion>getQuestions()-
-
Method Detail
-
getDuration
final Long getDuration()
-
getAnonymous
final Boolean getAnonymous()
-
getCategory
final HmsPollCategory getCategory()
-
getMode
final HmsPollUserTrackingMode getMode()
-
getRolesThatCanVote
final List<String> getRolesThatCanVote()
-
getRolesThatCanViewResponses
final List<String> getRolesThatCanViewResponses()
-
getQuestions
final List<HMSPollQuestion> getQuestions()
-
-
-
-