C# Class Newsstand.NewsstandUrlDelegate1

Inheritance: NSUrlConnectionDownloadDelegate
Afficher le fichier Open project: xamarin/monotouch-samples Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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
Résultat void

NewsstandUrlDelegate1() public méthode

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

ResumedDownloading() public méthode

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

WroteData() public méthode

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
Résultat void