C# Class Newsstand.NewsstandUrlDelegate1

Inheritance: NSUrlConnectionDownloadDelegate
ファイルを表示 Open project: xamarin/monotouch-samples Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FinishedDownloading ( NSUrlConnection connection, NSUrl destinationUrl ) : void

Connection has successfully downloaded the asset to the destinationUrl file location. You must copy/move this file to a more persisten/appropriate location

NewsstandUrlDelegate1 ( string name, NKIssue issue ) : System

Pass the issue into the delegate to determine the target file location

ResumedDownloading ( NSUrlConnection connection, long totalBytesWritten, long expectedTotalBytes ) : void

Sent when a connection resumes after being suspended

WroteData ( NSUrlConnection connection, long bytesWritten, long totalBytesWritten, long expectedTotalBytes ) : void

Delivers progress information for the download

Method Details

FinishedDownloading() public method

Connection has successfully downloaded the asset to the destinationUrl file location. You must copy/move this file to a more persisten/appropriate location
public FinishedDownloading ( NSUrlConnection connection, NSUrl destinationUrl ) : void
connection NSUrlConnection
destinationUrl NSUrl
return void

NewsstandUrlDelegate1() public method

Pass the issue into the delegate to determine the target file location
public NewsstandUrlDelegate1 ( string name, NKIssue issue ) : System
name string
issue NKIssue
return System

ResumedDownloading() public method

Sent when a connection resumes after being suspended
public ResumedDownloading ( NSUrlConnection connection, long totalBytesWritten, long expectedTotalBytes ) : void
connection NSUrlConnection
totalBytesWritten long
expectedTotalBytes long
return void

WroteData() public method

Delivers progress information for the download
public WroteData ( NSUrlConnection connection, long bytesWritten, long totalBytesWritten, long expectedTotalBytes ) : void
connection NSUrlConnection
bytesWritten long
totalBytesWritten long
expectedTotalBytes long
return void