C# Class SimpleBackgroundTransfer.UrlSessionDelegate

Inheritance: NSUrlSessionDownloadDelegate
Mostra file Open project: xamarin/monotouch-samples

Public Properties

Property Type Description
controller SimpleBackgroundTransferViewController

Public Methods

Method Description
DidCompleteWithError ( NSUrlSession session, NSUrlSessionTask task, NSError error ) : void
DidFinishDownloading ( NSUrlSession session, NSUrlSessionDownloadTask downloadTask, NSUrl location ) : void
DidFinishEventsForBackgroundSession ( NSUrlSession session ) : void
DidResume ( NSUrlSession session, NSUrlSessionDownloadTask downloadTask, long resumeFileOffset, long expectedTotalBytes ) : void
DidWriteData ( NSUrlSession session, NSUrlSessionDownloadTask downloadTask, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite ) : void
UrlSessionDelegate ( SimpleBackgroundTransferViewController controller ) : System

Method Details

DidCompleteWithError() public method

public DidCompleteWithError ( NSUrlSession session, NSUrlSessionTask task, NSError error ) : void
session NSUrlSession
task NSUrlSessionTask
error NSError
return void

DidFinishDownloading() public method

public DidFinishDownloading ( NSUrlSession session, NSUrlSessionDownloadTask downloadTask, NSUrl location ) : void
session NSUrlSession
downloadTask NSUrlSessionDownloadTask
location NSUrl
return void

DidFinishEventsForBackgroundSession() public method

public DidFinishEventsForBackgroundSession ( NSUrlSession session ) : void
session NSUrlSession
return void

DidResume() public method

public DidResume ( NSUrlSession session, NSUrlSessionDownloadTask downloadTask, long resumeFileOffset, long expectedTotalBytes ) : void
session NSUrlSession
downloadTask NSUrlSessionDownloadTask
resumeFileOffset long
expectedTotalBytes long
return void

DidWriteData() public method

public DidWriteData ( NSUrlSession session, NSUrlSessionDownloadTask downloadTask, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite ) : void
session NSUrlSession
downloadTask NSUrlSessionDownloadTask
bytesWritten long
totalBytesWritten long
totalBytesExpectedToWrite long
return void

UrlSessionDelegate() public method

public UrlSessionDelegate ( SimpleBackgroundTransferViewController controller ) : System
controller SimpleBackgroundTransferViewController
return System

Property Details

controller public_oe property

public SimpleBackgroundTransferViewController,SimpleBackgroundTransfer controller
return SimpleBackgroundTransferViewController