Package com.independentsoft.graph
Class UploadResult
java.lang.Object
com.independentsoft.graph.UploadResult
Holds the result of a resumable upload: the created drive item (available once the
upload completes) and the final upload session state.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the uploaded drive item.Gets the current upload session state, including the next expected ranges.
-
Constructor Details
-
UploadResult
public UploadResult() -
UploadResult
-
-
Method Details
-
getDriveItem
Gets the uploaded drive item. This is null until the upload has completed.- Returns:
- The uploaded DriveItem, or null if the upload is not yet complete
-
getUploadSession
Gets the current upload session state, including the next expected ranges.- Returns:
- The UploadSession state
-