Interface IUploadSession


public interface IUploadSession
The interface for the Upload Session.
  • Method Details

    • getUploadUrl

      @Nullable String getUploadUrl()
      Gets the Upload Url. The URL endpoint that accepts PUT requests for byte ranges of the file.
      Returns:
      the upload Url
    • getNextExpectedRanges

      @Nullable List<String> getNextExpectedRanges()
      Gets the Next Expected Ranges. A collection of byte ranges that the server is missing for the file. These ranges are zero indexed and of the format 'start-end' (e.g. '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin.
      Returns:
      the Next Expected Ranges.