[
https://issues.apache.org/jira/browse/CB-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723868#comment-13723868
]
Andrew Grieve commented on CB-1863:
-----------------------------------
Thanks for pointing this out Christoph. I've just update the docs to show that
abort() doesn't actually take any callback parameters. The changes will not go
live until the next release however.
Figuring out how many bytes were sent can be done by monitoring the progress
events I think.
> FileTransfer.abort needs a quick example
> ----------------------------------------
>
> Key: CB-1863
> URL: https://issues.apache.org/jira/browse/CB-1863
> Project: Apache Cordova
> Issue Type: Task
> Components: Docs
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: 2.4.0
>
>
> The abort function takes two params: a success and error callback.
> https://github.com/apache/incubator-cordova-js/blob/master/lib/common/plugin/FileTransfer.js#L145
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira