UploadImageStatusListener

Listens for image upload status.

If the user uploads images themselves, they need to update the upload progress on the UI by calling methods in UploadImageStatusListener. This listener is returned via IRongCoreCallback.SendImageMessageWithUploadListenerCallback for the user to utilize.

Constructors

public void IRongCoreListener.UploadImageStatusListener(Message message, String pushContent, String pushData, IRongCoreCallback.SendImageMessageWithUploadListenerCallback callback)

Functions

Link copied to clipboard
public void error()
Called when the upload fails
Link copied to clipboard
public Message getMessage()
Link copied to clipboard
public String getPushContent()
Link copied to clipboard
public String getPushData()
Link copied to clipboard
public void success(Uri uploadedUri)
This interface is called when the upload is successful.
Link copied to clipboard
public void update(int progress)
User calls this API to refresh the progress.