Created
July 14, 2015 21:00
-
-
Save mgp/3adc6c18dd7faf1c6298 to your computer and use it in GitHub Desktop.
DownloadEvent progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DownloadEvent{ | |
type=ADDED, | |
download=DownloadGroup{ | |
resource=ContentItemIdentifier{ | |
itemKind=VIDEO, | |
contentId=xb19b2406 | |
}, | |
progress=Progress{ | |
completionPercentage=0 | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
}, | |
children=[ | |
FileDownload{ | |
resource=VIDEO_MP4, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
} | |
}, | |
FileDownload{ | |
resource=VIDEO_TRANSCRIPT, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
} | |
} | |
] | |
}, | |
errorCause=Optional.absent() | |
} | |
DownloadEvent{ | |
type=RECEIVED_DATA, | |
download=DownloadGroup{ | |
resource=ContentItemIdentifier{ | |
itemKind=VIDEO, | |
contentId=xb19b2406 | |
}, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
}, | |
children=[ | |
FileDownload{ | |
resource=VIDEO_MP4, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
} | |
}, | |
FileDownload{ | |
resource=VIDEO_TRANSCRIPT, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
} | |
} | |
] | |
}, | |
errorCause=Optional.absent() | |
} | |
DownloadEvent{ | |
type=RECEIVED_DATA, | |
download=DownloadGroup{ | |
resource=ContentItemIdentifier{ | |
itemKind=VIDEO, | |
contentId=xb19b2406 | |
}, | |
progress=Progress{ | |
completionPercentage=50, | |
numBytesTotal=9180, | |
numBytesDownloaded=9180 | |
}, | |
children=[ | |
FileDownload{ | |
resource=VIDEO_MP4, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=0, | |
numBytesDownloaded=0 | |
} | |
}, | |
FileDownload{ | |
resource=VIDEO_TRANSCRIPT, | |
progress=Progress{ | |
completionPercentage=100, | |
numBytesTotal=9180, | |
numBytesDownloaded=9180 | |
} | |
} | |
] | |
}, | |
errorCause=Optional.absent() | |
} | |
DownloadEvent{ | |
type=RECEIVED_DATA, | |
download=DownloadGroup{ | |
resource=ContentItemIdentifier{ | |
itemKind=VIDEO, | |
contentId=xb19b2406 | |
}, | |
progress=Progress{ | |
completionPercentage=50, | |
numBytesTotal=5386225, | |
numBytesDownloaded=9180 | |
}, | |
children=[ | |
FileDownload{ | |
resource=VIDEO_MP4, | |
progress=Progress{ | |
completionPercentage=0, | |
numBytesTotal=5377045, | |
numBytesDownloaded=0 | |
} | |
}, | |
FileDownload{ | |
resource=VIDEO_TRANSCRIPT, | |
progress=Progress{ | |
completionPercentage=100, | |
numBytesTotal=9180, | |
numBytesDownloaded=9180 | |
} | |
} | |
] | |
}, | |
errorCause=Optional.absent() | |
} | |
DownloadEvent{ | |
type=RECEIVED_DATA, | |
download=DownloadGroup{ | |
resource=ContentItemIdentifier{ | |
itemKind=VIDEO, | |
contentId=xb19b2406 | |
}, | |
progress=Progress{ | |
completionPercentage=53, | |
numBytesTotal=5386225, | |
numBytesDownloaded=340360 | |
}, | |
children=[ | |
FileDownload{ | |
resource=VIDEO_MP4, | |
progress=Progress{ | |
completionPercentage=6, | |
numBytesTotal=5377045, | |
numBytesDownloaded=331180 | |
} | |
}, | |
FileDownload{ | |
resource=VIDEO_TRANSCRIPT, | |
progress=Progress{ | |
completionPercentage=100, | |
numBytesTotal=9180, | |
numBytesDownloaded=9180 | |
} | |
} | |
] | |
}, | |
errorCause=Optional.absent() | |
} | |
... after a while ... | |
DownloadEvent{ | |
type=RECEIVED_DATA, | |
download=DownloadGroup{ | |
resource=ContentItemIdentifier{ | |
itemKind=VIDEO, | |
contentId=xb19b2406 | |
}, | |
progress=Progress{ | |
completionPercentage=100, | |
numBytesTotal=5386225, | |
numBytesDownloaded=5386225 | |
}, | |
children=[ | |
FileDownload{ | |
resource=VIDEO_MP4, | |
progress=Progress{ | |
completionPercentage=100, | |
numBytesTotal=5377045, | |
numBytesDownloaded=5377045 | |
} | |
}, | |
FileDownload{ | |
resource=VIDEO_TRANSCRIPT, | |
progress=Progress{ | |
completionPercentage=100, | |
numBytesTotal=9180, | |
numBytesDownloaded=9180 | |
} | |
} | |
] | |
}, | |
errorCause=Optional.absent() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment