NSURLDownloadDelegate class interface
NSURLDownloadDelegate
Constructors
- NSURLDownloadDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSURLDownloadDelegate that points to the same underlying object as
other. -
NSURLDownloadDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSURLDownloadDelegate 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.Protocolobject for this protocol.no setter -
download_canAuthenticateAgainstProtectionSpace_
→ ObjCProtocolMethod<
bool Function(NSURLDownload, NSURLProtectionSpace)> -
download:canAuthenticateAgainstProtectionSpace:
final
-
download_decideDestinationWithSuggestedFilename_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSString)> -
download:decideDestinationWithSuggestedFilename:
final
-
download_didCancelAuthenticationChallenge_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSURLAuthenticationChallenge)> -
download:didCancelAuthenticationChallenge:
final
-
download_didCreateDestination_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSString)> -
download:didCreateDestination:
final
-
download_didFailWithError_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSError)> -
download:didFailWithError:
final
-
download_didReceiveAuthenticationChallenge_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSURLAuthenticationChallenge)> -
download:didReceiveAuthenticationChallenge:
final
-
download_didReceiveDataOfLength_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, DartNSUInteger)> -
download:didReceiveDataOfLength:
final
-
download_didReceiveResponse_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSURLResponse)> -
download:didReceiveResponse:
final
-
download_shouldDecodeSourceDataOfMIMEType_
→ ObjCProtocolMethod<
bool Function(NSURLDownload, NSString)> -
download:shouldDecodeSourceDataOfMIMEType:
final
-
download_willResumeWithResponse_fromByte_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload, NSURLResponse, int)> -
download:willResumeWithResponse:fromByte:
final
-
download_willSendRequest_redirectResponse_
→ ObjCProtocolMethod<
NSURLRequest? Function(NSURLDownload, NSURLRequest, NSURLResponse?)> -
download:willSendRequest:redirectResponse:
final
-
downloadDidBegin_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload)> -
downloadDidBegin:
final
-
downloadDidFinish_
→ ObjCProtocolListenableMethod<
void Function(NSURLDownload)> -
downloadDidFinish:
final
-
downloadShouldUseCredentialStorage_
→ ObjCProtocolMethod<
bool Function(NSURLDownload)> -
downloadShouldUseCredentialStorage:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {void downloadDidBegin_(NSURLDownload)?, NSURLRequest? download_willSendRequest_redirectResponse_(NSURLDownload, NSURLRequest, NSURLResponse?)?, bool download_canAuthenticateAgainstProtectionSpace_(NSURLDownload, NSURLProtectionSpace)?, void download_didReceiveAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, void download_didCancelAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, bool downloadShouldUseCredentialStorage_(NSURLDownload)?, void download_didReceiveResponse_(NSURLDownload, NSURLResponse)?, void download_willResumeWithResponse_fromByte_(NSURLDownload, NSURLResponse, int)?, void download_didReceiveDataOfLength_(NSURLDownload, DartNSUInteger)?, bool download_shouldDecodeSourceDataOfMIMEType_(NSURLDownload, NSString)?, void download_decideDestinationWithSuggestedFilename_(NSURLDownload, NSString)?, void download_didCreateDestination_(NSURLDownload, NSString)?, void downloadDidFinish_(NSURLDownload)?, void download_didFailWithError_(NSURLDownload, NSError)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSURLDownloadDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {void downloadDidBegin_(NSURLDownload)?, NSURLRequest? download_willSendRequest_redirectResponse_(NSURLDownload, NSURLRequest, NSURLResponse?)?, bool download_canAuthenticateAgainstProtectionSpace_(NSURLDownload, NSURLProtectionSpace)?, void download_didReceiveAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, void download_didCancelAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, bool downloadShouldUseCredentialStorage_(NSURLDownload)?, void download_didReceiveResponse_(NSURLDownload, NSURLResponse)?, void download_willResumeWithResponse_fromByte_(NSURLDownload, NSURLResponse, int)?, void download_didReceiveDataOfLength_(NSURLDownload, DartNSUInteger)?, bool download_shouldDecodeSourceDataOfMIMEType_(NSURLDownload, NSString)?, void download_decideDestinationWithSuggestedFilename_(NSURLDownload, NSString)?, void download_didCreateDestination_(NSURLDownload, NSString)?, void downloadDidFinish_(NSURLDownload)?, void download_didFailWithError_(NSURLDownload, NSError)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSURLDownloadDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {void downloadDidBegin_(NSURLDownload)?, NSURLRequest? download_willSendRequest_redirectResponse_(NSURLDownload, NSURLRequest, NSURLResponse?)?, bool download_canAuthenticateAgainstProtectionSpace_(NSURLDownload, NSURLProtectionSpace)?, void download_didReceiveAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, void download_didCancelAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, bool downloadShouldUseCredentialStorage_(NSURLDownload)?, void download_didReceiveResponse_(NSURLDownload, NSURLResponse)?, void download_willResumeWithResponse_fromByte_(NSURLDownload, NSURLResponse, int)?, void download_didReceiveDataOfLength_(NSURLDownload, DartNSUInteger)?, bool download_shouldDecodeSourceDataOfMIMEType_(NSURLDownload, NSString)?, void download_decideDestinationWithSuggestedFilename_(NSURLDownload, NSString)?, void download_didCreateDestination_(NSURLDownload, NSString)?, void downloadDidFinish_(NSURLDownload)?, void download_didFailWithError_(NSURLDownload, NSError)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSURLDownloadDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSURLDownloadDelegate. -
implement(
{void downloadDidBegin_(NSURLDownload)?, NSURLRequest? download_willSendRequest_redirectResponse_(NSURLDownload, NSURLRequest, NSURLResponse?)?, bool download_canAuthenticateAgainstProtectionSpace_(NSURLDownload, NSURLProtectionSpace)?, void download_didReceiveAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, void download_didCancelAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, bool downloadShouldUseCredentialStorage_(NSURLDownload)?, void download_didReceiveResponse_(NSURLDownload, NSURLResponse)?, void download_willResumeWithResponse_fromByte_(NSURLDownload, NSURLResponse, int)?, void download_didReceiveDataOfLength_(NSURLDownload, DartNSUInteger)?, bool download_shouldDecodeSourceDataOfMIMEType_(NSURLDownload, NSString)?, void download_decideDestinationWithSuggestedFilename_(NSURLDownload, NSString)?, void download_didCreateDestination_(NSURLDownload, NSString)?, void downloadDidFinish_(NSURLDownload)?, void download_didFailWithError_(NSURLDownload, NSError)?, bool $keepIsolateAlive = true}) → NSURLDownloadDelegate -
Builds an object that implements the NSURLDownloadDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{void downloadDidBegin_(NSURLDownload)?, NSURLRequest? download_willSendRequest_redirectResponse_(NSURLDownload, NSURLRequest, NSURLResponse?)?, bool download_canAuthenticateAgainstProtectionSpace_(NSURLDownload, NSURLProtectionSpace)?, void download_didReceiveAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, void download_didCancelAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, bool downloadShouldUseCredentialStorage_(NSURLDownload)?, void download_didReceiveResponse_(NSURLDownload, NSURLResponse)?, void download_willResumeWithResponse_fromByte_(NSURLDownload, NSURLResponse, int)?, void download_didReceiveDataOfLength_(NSURLDownload, DartNSUInteger)?, bool download_shouldDecodeSourceDataOfMIMEType_(NSURLDownload, NSString)?, void download_decideDestinationWithSuggestedFilename_(NSURLDownload, NSString)?, void download_didCreateDestination_(NSURLDownload, NSString)?, void downloadDidFinish_(NSURLDownload)?, void download_didFailWithError_(NSURLDownload, NSError)?, bool $keepIsolateAlive = true}) → NSURLDownloadDelegate -
Builds an object that implements the NSURLDownloadDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{void downloadDidBegin_(NSURLDownload)?, NSURLRequest? download_willSendRequest_redirectResponse_(NSURLDownload, NSURLRequest, NSURLResponse?)?, bool download_canAuthenticateAgainstProtectionSpace_(NSURLDownload, NSURLProtectionSpace)?, void download_didReceiveAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, void download_didCancelAuthenticationChallenge_(NSURLDownload, NSURLAuthenticationChallenge)?, bool downloadShouldUseCredentialStorage_(NSURLDownload)?, void download_didReceiveResponse_(NSURLDownload, NSURLResponse)?, void download_willResumeWithResponse_fromByte_(NSURLDownload, NSURLResponse, int)?, void download_didReceiveDataOfLength_(NSURLDownload, DartNSUInteger)?, bool download_shouldDecodeSourceDataOfMIMEType_(NSURLDownload, NSString)?, void download_decideDestinationWithSuggestedFilename_(NSURLDownload, NSString)?, void download_didCreateDestination_(NSURLDownload, NSString)?, void downloadDidFinish_(NSURLDownload)?, void download_didFailWithError_(NSURLDownload, NSError)?, bool $keepIsolateAlive = true}) → NSURLDownloadDelegate -
Builds an object that implements the NSURLDownloadDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.