getHMSPollStateFromString static method
Implementation
static HMSPollState getHMSPollStateFromString(String pollState) {
switch (pollState) {
case "started":
return HMSPollState.started;
case "stopped":
return HMSPollState.stopped;
case "created":
return HMSPollState.created;
default:
return HMSPollState.created;
}
}