Specifies the state of the document upload.
lt.Document.DocumentUploadProgressState = {
created: 0,
uploading: 1,
finished: 2,
error: 3,
aborted: 4
}
lt.Document.DocumentUploadProgressState = {
created: 0,
uploading: 1,
finished: 2,
error: 3,
aborted: 4
}
Value | Name | Description |
---|---|---|
0 | Created | (0) The LEADDocument object has been created and an upload URL should be available for use. This state is returned from a DocumentUploadProgress object returned in a progress notification handler for UploadFile/uploadfiledocument. |
1 | Uploading | (1) A chunk of the LEADDocument object has been successfully uploaded. This state is returned from a DocumentUploadProgress object returned in a progress notification handler for UploadFile/uploadfiledocument. |
2 | Finished | (2) The LEADDocument object has been entirely uploaded to the cache and is ready for use. This state can be returned from a DocumentUploadProgress object returned in a progress notification handler for either UploadFile/uploadfiledocument just before the Promise object is resolved. |
3 | Error | (3) The LEADDocument upload process has encountered an error, specifically while communicating with the service. This state can be returned from a DocumentUploadProgress object returned in a progress notification handler for either UploadFile/uploadfiledocument. |
4 | Aborted | (4) The LEADDocument upload process was aborted through the special method Abort. This state can be returned from a DocumentUploadProgress object returned in a progress notification handler for UploadFile/uploadfiledocument. |
The DocumentUploadProgressState enumeration specifies the upload stage of a document for UploadFile/uploadfiledocument. The enumeration is available as a property of DocumentUploadProgress when the Promise object returned receives a progress notification.
Aborting a document upload using the abort method for uploadFile/uploadfiledocument will result in a progress notification as well.
No progress events are returned from within BeginUploadDocument, UploadDocument/uploaddocumentblob, or AbortUploadDocument on their own.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.