FragmentComplete Event
This event fires after each fragment of a resumable upload is completed.
Syntax
public void fireFragmentComplete(OnedriveFragmentCompleteEvent event); public class OnedriveFragmentCompleteEvent { public int fragmentNumber; public int fragmentCount; public boolean interrupt; }
Remarks
When UseResumableUpload is True and UploadFile is called this event will fire after each fragment is uploaded. This shows the overall progress of the upload. When this event fires Interrupt can also be set to True to interrupt the upload. The upload may then be resumed later.
FragmentNumber is the number of the current fragment that has completed. This value begins at 1.
FragmentCount is the total number of fragments that will be uploaded.
Interrupt may be set to True to interrupt the upload.