Skip to main content
Version: 5.7.0

CancelUpload

Method cancels an upload. If a File Upload Callback has been registered with the BrainCloudClient class, the fileUploadFailed callback method will be called once the upload has been canceled.

Method Parameters

ParameterDescription
uploadIdThe id of the upload

Usage

http://localhost:3000
string myUploadId = "1234-1234-1234-1234"; //From UploadFile return data

_bc.FileService.CancelUpload(myUploadId);