Appearance
Mobile Web Capture API Reference / UploadedDocument
Type Alias: UploadedDocument
UploadedDocument =
object
A document that has been uploaded to your server during this session.
Remarks
Return one of these from ExportConfig.uploadToServer to have MWC list the document in the upload history, where ExportConfig.downloadFromServer and ExportConfig.deleteFromServer act on it.
Properties
downloadUrl
downloadUrl:
string
URL your ExportConfig.downloadFromServer handler can fetch the document from.
fileName
fileName:
string
Name the document was stored under on the server.
status
status:
UploadStatus
Whether the upload succeeded. Must be "success" to trigger ExportConfig.onUploadSuccess.
uploadTime?
optionaluploadTime?:string
When the upload happened, used to disambiguate documents sharing a name.