MonobjcMonobjc Documented Class Library
NSURLDownload Constructor (resumeData, delegate, path)
NamespacesMonobjc.FoundationNSURLDownloadNSURLDownload(NSData, Id, NSString)

Returns an initialized NSURLDownload object that will resume downloading the specified data to the specified file and begins the download.

Original signature is '- (id)initWithResumeData:(NSData *)resumeData delegate:(id)delegate path:(NSString *)path'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSURLDownload(
	NSData resumeData,
	Id delegate,
	NSString path
)
Public Sub New ( _
	resumeData As NSData, _
	delegate As Id, _
	path As NSString _
)
public:
NSURLDownload(
	NSData^ resumeData, 
	Id^ delegate, 
	NSString^ path
)
Parameters
resumeData (NSData)
Specifies the data to resume downloading.
delegate (Id)
The delegate for the download. This object will receive delegate messages as the download progresses. Delegate messages will be sent on the thread which calls this method. For the download to work correctly the calling thread’s run loop must be operating in the default run loop mode.
path (NSString)
The location for the downloaded data.
Return Value
An initialized NSURLDownload object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)