C# Class WPCordovaClassLib.Cordova.Commands.FileTransfer

Inheritance: BaseCommand
Mostra file Open project: auphonic/auphonic-mobile

Public Methods

Method Description
abort ( string options ) : void
download ( string options ) : void
upload ( string options ) : void

sends a file to a server

Protected Methods

Method Description
parseHeaders ( string jsonHeaders ) : string>.Dictionary

Private Methods

Method Description
ReadCallback ( IAsyncResult asynchronousResult ) : void

Reads response into FileUploadResult

WriteCallback ( IAsyncResult asynchronousResult ) : void

Read file from Isolated Storage and sends it to server

downloadCallback ( IAsyncResult asynchronousResult ) : void

Method Details

abort() public method

public abort ( string options ) : void
options string
return void

download() public method

public download ( string options ) : void
options string
return void

parseHeaders() protected method

protected parseHeaders ( string jsonHeaders ) : string>.Dictionary
jsonHeaders string
return string>.Dictionary

upload() public method

sends a file to a server
public upload ( string options ) : void
options string Upload options
return void