IUploadSession Interface

public interface IUploadSession

The interface for the Upload Session.

Method Summary

Modifier and Type Method and Description
abstract java.util.List<java.lang.String> getNextExpectedRanges()

Gets the Next Expected Ranges.

abstract java.lang.String getUploadUrl()

Gets the Upload Url.

Method Details

getNextExpectedRanges

public abstract List 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.

getUploadUrl

public abstract String getUploadUrl()

Gets the Upload Url. The URL endpoint that accepts PUT requests for byte ranges of the file.

Returns:

the upload Url

Applies to