pub unsafe trait NSURLSessionDownloadDelegate: NSURLSessionTaskDelegate {
// Provided methods
unsafe fn URLSession_downloadTask_didFinishDownloadingToURL(
&self,
session: &NSURLSession,
download_task: &NSURLSessionDownloadTask,
location: &NSURL
)
where Self: Sized + Message { ... }
unsafe fn URLSession_downloadTask_didWriteData_totalBytesWritten_totalBytesExpectedToWrite(
&self,
session: &NSURLSession,
download_task: &NSURLSessionDownloadTask,
bytes_written: i64,
total_bytes_written: i64,
total_bytes_expected_to_write: i64
)
where Self: Sized + Message { ... }
unsafe fn URLSession_downloadTask_didResumeAtOffset_expectedTotalBytes(
&self,
session: &NSURLSession,
download_task: &NSURLSessionDownloadTask,
file_offset: i64,
expected_total_bytes: i64
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSURLSession
only.Provided Methods§
unsafe fn URLSession_downloadTask_didFinishDownloadingToURL( &self, session: &NSURLSession, download_task: &NSURLSessionDownloadTask, location: &NSURL )
Available on crate feature
NSURL
only.