imageUpload

@NotNull
open fun imageUpload(imageData: @NotNull Array<Byte>, @NotNull callback: @NotNull UploadCallback): @NotNull TransferController

Start image upload.

Multiple calls will queue multiple uploads, executed sequentially. This includes core downloads executed from coreDownload.

The upload may be controlled using the TransferController returned by this method.

Return

The object used to control this upload.

Parameters

imageData

The image data to upload.

callback

Receives callbacks from the upload.

See also


@NotNull
open fun imageUpload(imageData: @NotNull Array<Byte>, image: Int, @NotNull callback: @NotNull UploadCallback): @NotNull TransferController

Start image upload.

Multiple calls will queue multiple uploads, executed sequentially. This includes core downloads executed from coreDownload.

The upload may be controlled using the TransferController returned by this method.

Return

The object used to control this upload.

Parameters

imageData

The image data to upload.

image

The image number, default is 0. Use 0 for core0, 1 for core1, etc.

callback

Receives callbacks from the upload.

See also