HmsPollAnswer

data class HmsPollAnswer(val questionId: Int, val questionType: HMSPollQuestionType, val skipped: Boolean = false, val selectedOption: Int = 0, val selectedOptions: List<Int>? = null, val answerText: String = "", val update: Boolean = false, val durationMillis: Long? = null)

Constructors

Link copied to clipboard
Link copied to clipboard
fun HmsPollAnswer(questionId: Int, questionType: HMSPollQuestionType, skipped: Boolean = false, selectedOption: Int = 0, selectedOptions: List<Int>? = null, answerText: String = "", update: Boolean = false, durationMillis: Long? = null)

Properties

Link copied to clipboard
@SerializedName(value = "text")
val answerText: String
Link copied to clipboard
@SerializedName(value = "duration")
val durationMillis: Long? = null
Link copied to clipboard
@SerializedName(value = "question")
val questionId: Int
Link copied to clipboard
@SerializedName(value = "type")
val questionType: HMSPollQuestionType
Link copied to clipboard
@SerializedName(value = "option")
val selectedOption: Int = 0
Link copied to clipboard
@SerializedName(value = "options")
val selectedOptions: List<Int>? = null
Link copied to clipboard
@SerializedName(value = "skipped")
val skipped: Boolean = false
Link copied to clipboard
@SerializedName(value = "update")
val update: Boolean = false