Package org.robovm.apple.foundation
Class NSURLSessionDelegateAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLSessionDelegateAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,NSURLSessionDelegate
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
NSURLSessionTaskDelegateAdapter
public class NSURLSessionDelegateAdapter extends NSObject implements NSURLSessionDelegate
-
-
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.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description NSURLSessionDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
didBecomeInvalid(NSURLSession session, NSError error)
void
didFinishEvents(NSURLSession session)
void
didReceiveChallenge(NSURLSession session, NSURLAuthenticationChallenge challenge, org.robovm.objc.block.VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler)
-
Methods 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, willChangeValues
-
-
-
-
Method Detail
-
didBecomeInvalid
public void didBecomeInvalid(NSURLSession session, NSError error)
- Specified by:
didBecomeInvalid
in interfaceNSURLSessionDelegate
-
didReceiveChallenge
public void didReceiveChallenge(NSURLSession session, NSURLAuthenticationChallenge challenge, org.robovm.objc.block.VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler)
- Specified by:
didReceiveChallenge
in interfaceNSURLSessionDelegate
-
didFinishEvents
public void didFinishEvents(NSURLSession session)
- Specified by:
didFinishEvents
in interfaceNSURLSessionDelegate
- Since:
- Available in iOS 7.0 and later.
-
-