uploadImage
Uploads an image not related to any channel. Progress can be accessed via progressCallback.
Return
The Result object containing an instance of UploadedFile in the case of a successful upload or an exception if the upload failed.
Executable async Call which completes with Result containing an instance of UploadedFile if the file was successfully uploaded.
Parameters
file
The image to be uploaded.
progressCallback
The callback to be invoked periodically to report upload progress.