NSURLSessionDelegate class interface

NSURLSessionDelegate

Implementers

Constructors

NSURLSessionDelegate.castFrom(ObjCObjectBase other)
Constructs a NSURLSessionDelegate that points to the same underlying object as other.
NSURLSessionDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSURLSessionDelegate 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
URLSession_didBecomeInvalidWithError_ → ObjCProtocolListenableMethod<void Function(NSURLSession, NSError?)>
URLSession:didBecomeInvalidWithError:
final
URLSession_didReceiveChallenge_completionHandler_ → ObjCProtocolListenableMethod<void Function(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)>
URLSession:didReceiveChallenge:completionHandler:
final
URLSessionDidFinishEventsForBackgroundURLSession_ → ObjCProtocolListenableMethod<void Function(NSURLSession)>
URLSessionDidFinishEventsForBackgroundURLSession:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {void URLSession_didBecomeInvalidWithError_(NSURLSession, NSError?)?, void URLSession_didReceiveChallenge_completionHandler_(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)?, void URLSessionDidFinishEventsForBackgroundURLSession_(NSURLSession)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSURLSessionDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {void URLSession_didBecomeInvalidWithError_(NSURLSession, NSError?)?, void URLSession_didReceiveChallenge_completionHandler_(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)?, void URLSessionDidFinishEventsForBackgroundURLSession_(NSURLSession)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSURLSessionDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {void URLSession_didBecomeInvalidWithError_(NSURLSession, NSError?)?, void URLSession_didReceiveChallenge_completionHandler_(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)?, void URLSessionDidFinishEventsForBackgroundURLSession_(NSURLSession)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSURLSessionDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSURLSessionDelegate.
implement({void URLSession_didBecomeInvalidWithError_(NSURLSession, NSError?)?, void URLSession_didReceiveChallenge_completionHandler_(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)?, void URLSessionDidFinishEventsForBackgroundURLSession_(NSURLSession)?, bool $keepIsolateAlive = true}) → NSURLSessionDelegate
Builds an object that implements the NSURLSessionDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({void URLSession_didBecomeInvalidWithError_(NSURLSession, NSError?)?, void URLSession_didReceiveChallenge_completionHandler_(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)?, void URLSessionDidFinishEventsForBackgroundURLSession_(NSURLSession)?, bool $keepIsolateAlive = true}) → NSURLSessionDelegate
Builds an object that implements the NSURLSessionDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({void URLSession_didBecomeInvalidWithError_(NSURLSession, NSError?)?, void URLSession_didReceiveChallenge_completionHandler_(NSURLSession, NSURLAuthenticationChallenge, ObjCBlock<Void Function(NSInteger, NSURLCredential?)>)?, void URLSessionDidFinishEventsForBackgroundURLSession_(NSURLSession)?, bool $keepIsolateAlive = true}) → NSURLSessionDelegate
Builds an object that implements the NSURLSessionDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.