Package org.robovm.apple.foundation
Class NSURLSessionTaskDelegateAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSURLSessionDelegateAdapter
org.robovm.apple.foundation.NSURLSessionTaskDelegateAdapter
- All Implemented Interfaces:
NSObjectProtocol,NSURLSessionDelegate,NSURLSessionTaskDelegate,ObjCProtocol
- Direct Known Subclasses:
AVAssetDownloadDelegateAdapter,NSURLSessionDataDelegateAdapter,NSURLSessionDownloadDelegateAdapter,NSURLSessionStreamDelegateAdapter,NSURLSessionWebSocketDelegateAdapter
public class NSURLSessionTaskDelegateAdapter extends NSURLSessionDelegateAdapter implements NSURLSessionTaskDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Constructor Description NSURLSessionTaskDelegateAdapter() -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSURLSessionDelegateAdapter
didBecomeInvalid, didFinishEvents, didReceiveChallengeMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from interface org.robovm.apple.foundation.NSURLSessionDelegate
didBecomeInvalid, didFinishEvents, didReceiveChallenge
-
Constructor Details
-
NSURLSessionTaskDelegateAdapter
public NSURLSessionTaskDelegateAdapter()
-
-
Method Details
-
willBeginDelayedRequest
public void willBeginDelayedRequest(NSURLSession session, NSURLSessionTask task, NSURLRequest request, VoidBlock2<NSURLSessionDelayedRequestDisposition,NSURLRequest> completionHandler)- Specified by:
willBeginDelayedRequestin interfaceNSURLSessionTaskDelegate- Since:
- Available in iOS 11.0 and later.
-
taskIsWaitingForConnectivity
- Specified by:
taskIsWaitingForConnectivityin interfaceNSURLSessionTaskDelegate- Since:
- Available in iOS 11.0 and later.
-
willPerformHTTPRedirection
public void willPerformHTTPRedirection(NSURLSession session, NSURLSessionTask task, NSHTTPURLResponse response, NSURLRequest request, VoidBlock1<NSURLRequest> completionHandler)- Specified by:
willPerformHTTPRedirectionin interfaceNSURLSessionTaskDelegate
-
didReceiveChallenge
public void didReceiveChallenge(NSURLSession session, NSURLSessionTask task, NSURLAuthenticationChallenge challenge, VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler)- Specified by:
didReceiveChallengein interfaceNSURLSessionTaskDelegate
-
needNewBodyStream
public void needNewBodyStream(NSURLSession session, NSURLSessionTask task, VoidBlock1<NSInputStream> completionHandler)- Specified by:
needNewBodyStreamin interfaceNSURLSessionTaskDelegate
-
didSendBodyData
public void didSendBodyData(NSURLSession session, NSURLSessionTask task, long bytesSent, long totalBytesSent, long totalBytesExpectedToSend)- Specified by:
didSendBodyDatain interfaceNSURLSessionTaskDelegate
-
didFinishCollectingMetrics
public void didFinishCollectingMetrics(NSURLSession session, NSURLSessionTask task, NSURLSessionTaskMetrics metrics)- Specified by:
didFinishCollectingMetricsin interfaceNSURLSessionTaskDelegate- Since:
- Available in iOS 10.0 and later.
-
didComplete
- Specified by:
didCompletein interfaceNSURLSessionTaskDelegate
-