convertToV2TIMReceiveMessageOpt static method
Implementation
static ReceiveMsgOptEnum convertToV2TIMReceiveMessageOpt(ReceiveMessageOption opt) {
switch (opt) {
case ReceiveMessageOption.receive:
return ReceiveMsgOptEnum.V2TIM_RECEIVE_MESSAGE;
case ReceiveMessageOption.notReceive:
return ReceiveMsgOptEnum.V2TIM_NOT_RECEIVE_MESSAGE;
case ReceiveMessageOption.notNotify:
return ReceiveMsgOptEnum.V2TIM_RECEIVE_NOT_NOTIFY_MESSAGE;
case ReceiveMessageOption.notNotifyExceptMention:
return ReceiveMsgOptEnum.V2TIM_RECEIVE_NOT_NOTIFY_MESSAGE_EXCEPT_AT;
case ReceiveMessageOption.notReceiveExceptMention:
return ReceiveMsgOptEnum.V2TIM_NOT_RECEIVE_MESSAGE_EXCEPT_AT;
}
}