HmsInteractivityCenter
class HmsInteractivityCenter
Functions
Link copied to clipboard
fun add(response: HMSPollResponseBuilder, completion: HmsTypedActionResultListener<PollAnswerResponse>)
Adds a response (vote) to a poll.
Link copied to clipboard
fun fetchLeaderboard(pollId: String, count: Long = 50, startIndex: Long = 0, includeCurrentPeer: Boolean = false, completion: HmsTypedActionResultListener<PollLeaderboardResponse>)
Link copied to clipboard
Link copied to clipboard
fun fetchPollQuestions(poll: HmsPoll, completion: HmsTypedActionResultListener<List<HMSPollQuestion>>)
Link copied to clipboard
Link copied to clipboard
fun getResponses(poll: HmsPoll, offset: Int = 0, @IntRange(from = 1, to = 50) count: Int = 50, ownResponsesOnly: Boolean, completion: HmsTypedActionResultListener<List<HMSPollQuestionResponse>>)
Retrieve full responses.
Link copied to clipboard
Start a poll.
Link copied to clipboard
Link copied to clipboard
This function update state of current whitebaard session HMSWhiteboardUpdate.Start and HMSWhiteboardUpdate.Stop
Link copied to clipboard
This function starts a new whiteboard session, make sure you have the admin permission in []
Link copied to clipboard
End a poll.
Link copied to clipboard
This function stops the current whiteboard session.