# MediaMessageUploader

public class MediaMessageUploader

## Constructors

IRongCoreCallback.MediaMessageUploader
Link copied to clipboard
public void IRongCoreCallback.MediaMessageUploader(Message message, String pushContent, String pushData, IRongCoreCallback.ISendMediaMessageCallbackWithUploader callbackWithUploader)
public void IRongCoreCallback.MediaMessageUploader(Message message, String pushContent, String pushData, SendMessageOption option, IRongCoreCallback.ISendMediaMessageCallbackWithUploader callbackWithUploader)

## Functions

cancel
Link copied to clipboard
public void cancel()
取消上传时调用此接口
error
Link copied to clipboard
public void error()
上传失败时调用这个接口
getCallbackWithUploader
Link copied to clipboard
public IRongCoreCallback.ISendMediaMessageCallbackWithUploader getCallbackWithUploader()
getMessage
Link copied to clipboard
public Message getMessage()
getOption
Link copied to clipboard
public SendMessageOption getOption()
getPushContent
Link copied to clipboard
public String getPushContent()
getPushData
Link copied to clipboard
public String getPushData()
success
Link copied to clipboard
public void success(Uri uploadedUri)
上传成功时调用这个接口
update
Link copied to clipboard
public void update(int progress)
用户调用这个接口刷新进度