incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject [2/2] docs commit: CB-498: Incorrect documentation for FileTransfer.upload and FileTransfer.download methods
Date Fri, 13 Apr 2012 14:21:38 GMT
CB-498: Incorrect documentation for FileTransfer.upload and FileTransfer.download methods


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/0d835e17
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/0d835e17
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/0d835e17

Branch: refs/heads/master
Commit: 0d835e17f2799008e6aea3032a331d9db42f27dc
Parents: 91a4d8f
Author: macdonst <simon.macdonald@gmail.com>
Authored: Fri Apr 13 10:20:37 2012 -0400
Committer: macdonst <simon.macdonald@gmail.com>
Committed: Fri Apr 13 10:20:37 2012 -0400

----------------------------------------------------------------------
 .../phonegap/file/filetransfer/filetransfer.md     |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/0d835e17/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/file/filetransfer/filetransfer.md b/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
index 85cdff5..4ec5183 100644
--- a/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
+++ b/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
@@ -35,8 +35,8 @@ __Parameters:__
 
 - __filePath__ - Full path of the file on the device
 - __server__ - URL of the server to receive the file
-- __successCallback__ - A callback that is called with a Metadata object. _(Function)_
-- __errorCallback__ - A callback that is called if an error occurs retrieving the Metadata.
Invoked with a FileError object. _(Function)_
+- __successCallback__ - A callback that is called with a FileUploadResult object. _(Function)_
+- __errorCallback__ - A callback that is called if an error occurs uploading the file. Invoked
with a FileTransferError object. _(Function)_
 - __options__ - Optional parameters such as file name and mimetype
 
 __Quick Example__
@@ -141,7 +141,7 @@ __Parameters:__
 - __source__ - URL of the server to receive the file
 - __target__ - Full path of the file on the device
 - __successCallback__ - A callback that is called with a FileEntry object. _(Function)_
-- __errorCallback__ - A callback that is called if an error occurs retrieving the Metadata.
Invoked with a FileError object. _(Function)_
+- __errorCallback__ - A callback that is called if an error occurs retrieving the FileEntry.
Invoked with a FileTransferError object. _(Function)_
 
 __Quick Example__
 


Mime
View raw message