EMMessage.createVoiceSendMessage constructor

EMMessage.createVoiceSendMessage(String filePath, int timeLength, String userName)

创建语音类型消息 filePath: 语音片断路径; timeLength: 语音时长; userName: 接收方id

Implementation

EMMessage.createVoiceSendMessage(
    String filePath, int timeLength, String userName)
    : this(direction: Direction.SEND);