C# Class iOSHelpers.BackgroundDownload.UrlSessionDelegate

Inheritance: NSUrlSessionDownloadDelegate
显示文件 Open project: Clancey/iOSHelpers

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 ( ) : 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 ( ) : System
return System