sendImage

Uploads an image for the given channel. Progress can be accessed via callback.

The Stream CDN imposes the following restrictions on image uploads:

Return

Executable async Call which completes with Result containing an instance of UploadedFile if the image was successfully uploaded.

Parameters

file

The image file that needs to be uploaded.

callback

The callback to track progress.

See also