onProgress
功能介绍
信息
消息发送进度回调,一般在发送文件类消息时使用。
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
返回原型
Function(String clientMsgID, int progress)? onProgress;
返回结果
| 名称 | 类型 | 描述 |
|---|---|---|
| clientMsgID | String | 消息ID |
| progress | int | 进度值 |
消息发送进度回调,一般在发送文件类消息时使用。
Function(String clientMsgID, int progress)? onProgress;
| 名称 | 类型 | 描述 |
|---|---|---|
| clientMsgID | String | 消息ID |
| progress | int | 进度值 |