Package com.microsoft.graph.tasks
Interface IUploadSession
public interface IUploadSession
The interface for the Upload Session.
-
Method Summary
Modifier and TypeMethodDescriptionGets the Next Expected Ranges.Gets the Upload Url.
-
Method Details
-
getUploadUrl
Gets the Upload Url. The URL endpoint that accepts PUT requests for byte ranges of the file.- Returns:
- the upload Url
-
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.
-