MonobjcMonobjc Documented Class Library
NSURLDownload..::..DownloadShouldDecodeSourceDataOfMIMETypeEventHandler Delegate
NamespacesMonobjc.FoundationNSURLDownloadNSURLDownload..::..DownloadShouldDecodeSourceDataOfMIMETypeEventHandler

Sent when a download object determines that the downloaded file is encoded to inquire whether the file should be automatically decoded.

Original signature is '- (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType'

Available in Mac OS X v10.2 with Safari 1.0 installed and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool DownloadShouldDecodeSourceDataOfMIMETypeEventHandler(
	NSURLDownload download,
	NSString encodingType
)
Public Delegate Function DownloadShouldDecodeSourceDataOfMIMETypeEventHandler ( _
	download As NSURLDownload, _
	encodingType As NSString _
) As Boolean
public delegate bool DownloadShouldDecodeSourceDataOfMIMETypeEventHandler(
	NSURLDownload^ download, 
	NSString^ encodingType
)
Parameters
download (NSURLDownload)
The URL download object sending the message.
encodingType (NSString)
The type of encoding used by the downloaded file. The supported encoding formats are MacBinary ("application/macbinary"), Binhex ("application/mac-binhex40") and gzip ("application/gzip").
Return Value
YES to decode the file, NO otherwise.
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)