mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-08-04 00:00:08 +08:00
feat(background-upload): add uploadDuration and finishUploadTime to UploadEvent
This commit is contained in:
@@ -21,6 +21,8 @@ export interface UploadEvent {
|
||||
errorCode?: number; // error code for any exception encountered
|
||||
progress?: any; // progress for ongoing upload
|
||||
eventId?: string; // id of the event
|
||||
uploadDuration?: number; // duration of the upload in milliseconds (UPLOADED state only)
|
||||
finishUploadTime?: number; // timestamp (ms) at which the upload finished (UPLOADED state only)
|
||||
}
|
||||
|
||||
export interface FTMPayloadOptions {
|
||||
|
||||
Reference in New Issue
Block a user