Package-level declarations

Types

Link copied to clipboard
data class HMSPollLeaderboardEntry(val position: Long?, val score: Long?, val totalResponses: Long?, val correctResponses: Long?, val duration: Long?, val peer: HMSPollResponsePeerInfo?)
Link copied to clipboard
data class HMSPollLeaderboardResponse(val pollId: String, val last: Boolean?, val leaderboard: List<LeaderboardQuestion>?, val totalUsers: Long?, val votedUsers: Long?, val correctUsers: Long?, val avgTime: Long?, val avgScore: Float?)
Link copied to clipboard
data class HMSPollLeaderboardSummary(val totalPeersCount: Int?, val respondedPeersCount: Int?, val respondedCorrectlyPeersCount: Int?, val averageTime: Long?, val averageScore: Float?)
Link copied to clipboard
data class LeaderboardQuestion(val questionIndex: Long?, val position: Long?, val duration: Long?, val totalResponse: Long?, val correctResponses: Long?, val score: Float?, val pollPeer: HMSPollResponsePeerInfo?)
Link copied to clipboard
data class PollCreateResponse(val pollId: String, val version: String)
Link copied to clipboard
data class PollGetResponsesReply(val pollId: String, val version: String, val isLast: Boolean, val responses: List<SingleResponse>)
Link copied to clipboard
data class PollLeaderboardResponse(val entries: List<HMSPollLeaderboardEntry>?, val summary: HMSPollLeaderboardSummary?, val hasNext: Boolean?)
Link copied to clipboard
data class PollQuestionGetResponse(val last: Boolean, val pollId: String, val version: String, val questions: List<HmsPollQuestionContainer>)
Link copied to clipboard
data class PollResultsDisplay(val totalResponses: Long? = null, val votingUsers: Long? = null, val totalDistinctUsers: Long? = null, val questions: List<PollStatsQuestions>)
Link copied to clipboard
data class PollResultsItems(val questionIndex: Long, val correct: Long, val type: HMSPollQuestionType, val skipped: Long, val total: Long, val error: HMSException?)
Link copied to clipboard
data class PollResultsResponse(val pollId: String, val totalResponses: Long, val votingUsers: Long, val totalDistinctUsers: Long, val question: List<PollStatsQuestions>)
Link copied to clipboard
data class PollStartRequest(val pollId: String, val version: String = "1.0")
Link copied to clipboard
data class QuestionContainer(val questions: List<HMSPollQuestion>? = null, val error: Throwable? = null)
Link copied to clipboard
data class SetQuestionsResponse(val pollId: String, val totalQuestions: Int, val version: String)