NSURLConnectionDownloadDelegate class interface

NSURLConnectionDownloadDelegate

Implemented types

Constructors

NSURLConnectionDownloadDelegate.castFrom(ObjCObjectBase other)
Constructs a NSURLConnectionDownloadDelegate that points to the same underlying object as other.
NSURLConnectionDownloadDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSURLConnectionDownloadDelegate that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
connection_canAuthenticateAgainstProtectionSpace_ → ObjCProtocolMethod<bool Function(NSURLConnection, NSURLProtectionSpace)>
connection:canAuthenticateAgainstProtectionSpace:
final
connection_didCancelAuthenticationChallenge_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, NSURLAuthenticationChallenge)>
connection:didCancelAuthenticationChallenge:
final
connection_didFailWithError_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, NSError)>
connection:didFailWithError:
final
connection_didReceiveAuthenticationChallenge_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, NSURLAuthenticationChallenge)>
connection:didReceiveAuthenticationChallenge:
final
connection_didWriteData_totalBytesWritten_expectedTotalBytes_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)>
connection:didWriteData:totalBytesWritten:expectedTotalBytes:
final
connection_willSendRequestForAuthenticationChallenge_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, NSURLAuthenticationChallenge)>
connection:willSendRequestForAuthenticationChallenge:
final
connectionDidFinishDownloading_destinationURL_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, NSURL)>
connectionDidFinishDownloading:destinationURL:
final
connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_ → ObjCProtocolListenableMethod<void Function(NSURLConnection, int, int)>
connectionDidResumeDownloading:totalBytesWritten:expectedTotalBytes:
final
connectionShouldUseCredentialStorage_ → ObjCProtocolMethod<bool Function(NSURLConnection)>
connectionShouldUseCredentialStorage:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {void connection_didWriteData_totalBytesWritten_expectedTotalBytes_(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)?, void connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_(NSURLConnection, int, int)?, required void connectionDidFinishDownloading_destinationURL_(NSURLConnection, NSURL), void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSURLConnectionDownloadDelegate protocol to an existing objc.ObjCProtocolBuilder.
override
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {void connection_didWriteData_totalBytesWritten_expectedTotalBytes_(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)?, void connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_(NSURLConnection, int, int)?, required void connectionDidFinishDownloading_destinationURL_(NSURLConnection, NSURL), void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSURLConnectionDownloadDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
override
addToBuilderAsListener(ObjCProtocolBuilder builder, {void connection_didWriteData_totalBytesWritten_expectedTotalBytes_(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)?, void connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_(NSURLConnection, int, int)?, required void connectionDidFinishDownloading_destinationURL_(NSURLConnection, NSURL), void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSURLConnectionDownloadDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
override
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSURLConnectionDownloadDelegate.
override
implement({void connection_didWriteData_totalBytesWritten_expectedTotalBytes_(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)?, void connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_(NSURLConnection, int, int)?, required void connectionDidFinishDownloading_destinationURL_(NSURLConnection, NSURL), void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → NSURLConnectionDownloadDelegate
Builds an object that implements the NSURLConnectionDownloadDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
override
implementAsBlocking({void connection_didWriteData_totalBytesWritten_expectedTotalBytes_(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)?, void connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_(NSURLConnection, int, int)?, required void connectionDidFinishDownloading_destinationURL_(NSURLConnection, NSURL), void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → NSURLConnectionDownloadDelegate
Builds an object that implements the NSURLConnectionDownloadDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
override
implementAsListener({void connection_didWriteData_totalBytesWritten_expectedTotalBytes_(NSURLConnection, DartNSInteger, DartNSInteger, DartNSInteger)?, void connectionDidResumeDownloading_totalBytesWritten_expectedTotalBytes_(NSURLConnection, int, int)?, required void connectionDidFinishDownloading_destinationURL_(NSURLConnection, NSURL), void connection_didFailWithError_(NSURLConnection, NSError)?, bool connectionShouldUseCredentialStorage_(NSURLConnection)?, void connection_willSendRequestForAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool connection_canAuthenticateAgainstProtectionSpace_(NSURLConnection, NSURLProtectionSpace)?, void connection_didReceiveAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, void connection_didCancelAuthenticationChallenge_(NSURLConnection, NSURLAuthenticationChallenge)?, bool $keepIsolateAlive = true}) → NSURLConnectionDownloadDelegate
Builds an object that implements the NSURLConnectionDownloadDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.
override