getHMSPollCategoryFromString static method
Implementation
static HMSPollCategory getHMSPollCategoryFromString(String pollCategory) {
switch (pollCategory) {
case "poll":
return HMSPollCategory.poll;
case "quiz":
return HMSPollCategory.quiz;
default:
return HMSPollCategory.poll;
}
}