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§

source

unsafe fn URLSession_downloadTask_didFinishDownloadingToURL( &self, session: &NSURLSession, download_task: &NSURLSessionDownloadTask, location: &NSURL )
where Self: Sized + Message,

Available on crate feature NSURL only.
source

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,

source

unsafe fn URLSession_downloadTask_didResumeAtOffset_expectedTotalBytes( &self, session: &NSURLSession, download_task: &NSURLSessionDownloadTask, file_offset: i64, expected_total_bytes: i64 )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSURLSessionDownloadDelegate

source§

const NAME: &'static str = "NSURLSessionDownloadDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSURLSessionDownloadDelegate

Implementations on Foreign Types§

source§

impl<T> NSURLSessionDownloadDelegate for ProtocolObject<T>

Implementors§