getMethodFromName static method
Implementation
static HMSPollListenerMethod getMethodFromName(String name) {
switch (name) {
case 'on_poll_update':
return HMSPollListenerMethod.onPollUpdate;
default:
return HMSPollListenerMethod.unknown;
}
}