cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shingo Toda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-4674) (Docs) FileTransfer: description for upload() success callback is wrong
Date Tue, 27 Aug 2013 01:44:52 GMT

     [ https://issues.apache.org/jira/browse/CB-4674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shingo Toda updated CB-4674:
----------------------------

    Description: 
In description of parameter for FileTransfer.upload method, it is said that _Metadata_ object
is passed to specified success callback function. But I think _FileUploadResult_ object is
passed.

{quote}
h2.upload

h3.Parameters:

* *filePath*: Full path of the file on the device.
* *server*: URL of the server to receive the file, as encoded by encodeURI().
* *successCallback*: A callback that is passed a _Metadata_ object. (Function)

{quote}

  was:
In description of parameter for FileTransfer.upload method, it is said that _Metadata_ object
is passed to specified success callback function. But I think _FileUploadResult_ object is
passed.

{quote}
upload

Parameters:

filePath: Full path of the file on the device.
server: URL of the server to receive the file, as encoded by encodeURI().
successCallback: A callback that is passed a _Metadata_ object. (Function)

{quote}

    
> (Docs) FileTransfer: description for upload() success callback is wrong
> -----------------------------------------------------------------------
>
>                 Key: CB-4674
>                 URL: https://issues.apache.org/jira/browse/CB-4674
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 2.9.0
>            Reporter: Shingo Toda
>            Assignee: Michael Brooks
>            Priority: Minor
>
> In description of parameter for FileTransfer.upload method, it is said that _Metadata_
object is passed to specified success callback function. But I think _FileUploadResult_ object
is passed.
> {quote}
> h2.upload
> h3.Parameters:
> * *filePath*: Full path of the file on the device.
> * *server*: URL of the server to receive the file, as encoded by encodeURI().
> * *successCallback*: A callback that is passed a _Metadata_ object. (Function)
> {quote}

--
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

Mime
View raw message