getValueFromHMSMessageRecipientType static method
Implementation
static String getValueFromHMSMessageRecipientType(
HMSMessageRecipientType hmsMessageRecipientType) {
switch (hmsMessageRecipientType) {
case HMSMessageRecipientType.BROADCAST:
return 'broadCast';
case HMSMessageRecipientType.GROUP:
return 'roles';
case HMSMessageRecipientType.DIRECT:
return 'peer';
case HMSMessageRecipientType.unKnown:
return '';
}
}