Search
Preparing search index...
The search index is not available
RongIMLib - v5.12.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
RongIMLib - v5.12.0
IUploadHooks
Interface IUploadHooks
上传过程中的回调钩子
Hierarchy
IUploadHooks
Index
Methods
on
Progress
on
Complete
Methods
Optional
on
Progress
on
Progress
(
progress
:
number
)
:
void
文件上传进度回调
Parameters
progress:
number
Returns
void
Optional
on
Complete
on
Complete
(
fileInfo
:
{
url
:
string
}
)
:
void
|
BaseMessage
<
any
>
文件上传完成回调,可通过修改返回值以修改待发布的消息内容,如实现自定义消息
Parameters
fileInfo:
{
url
:
string
}
url
:
string
Returns
void
|
BaseMessage
<
any
>
Method
onProgress
onComplete
上传过程中的回调钩子