Interface ChatGroupFileStatusCallback
interface ChatGroupFileStatusCallback { onError(groupId: string,
filePath: string,
error: ChatError): void; onProgress?(groupId: string,
filePath: string,
progress: number): void; onSuccess(groupId: string,
filePath: string): void; } Methods
onError
- onError(groupId, filePath, error): void
Parameters
- groupId: string
- filePath: string
- error: ChatError
Returns void
Optional
onProgress
- onProgress(groupId, filePath, progress): void
Parameters
- groupId: string
- filePath: string
- progress: number
Returns void
onSuccess
- onSuccess(groupId, filePath): void
Parameters
- groupId: string
- filePath: string
Returns void
群组共享文件状态变化监听器。