HmsInteractivityCenter

Functions

Link copied to clipboard

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
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
fun stop(poll: HmsPoll, completion: HMSActionResultListener)

End a poll.

Link copied to clipboard

This function stops the current whiteboard session.

Properties

Link copied to clipboard
Link copied to clipboard

The array of polls managed by the interactivity center.

Link copied to clipboard

Called when a poll is started/stopped/updated.