Package org.robovm.apple.foundation
Class NSURLSessionDownloadDelegateAdapter
- 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
-
- org.robovm.apple.foundation.NSURLSessionDownloadDelegateAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,NSURLSessionDelegate
,NSURLSessionDownloadDelegate
,NSURLSessionTaskDelegate
,org.robovm.objc.ObjCProtocol
public class NSURLSessionDownloadDelegateAdapter extends NSURLSessionTaskDelegateAdapter implements NSURLSessionDownloadDelegate
-
-
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 NSURLSessionDownloadDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
didFinishDownloading(NSURLSession session, NSURLSessionDownloadTask downloadTask, NSURL location)
void
didResume(NSURLSession session, NSURLSessionDownloadTask downloadTask, long fileOffset, long expectedTotalBytes)
void
didWriteData(NSURLSession session, NSURLSessionDownloadTask downloadTask, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite)
-
Methods inherited from class org.robovm.apple.foundation.NSURLSessionTaskDelegateAdapter
didComplete, didFinishCollectingMetrics, didReceiveChallenge, didSendBodyData, needNewBodyStream, taskIsWaitingForConnectivity, willBeginDelayedRequest, willPerformHTTPRedirection
-
Methods inherited from class org.robovm.apple.foundation.NSURLSessionDelegateAdapter
didBecomeInvalid, didFinishEvents, didReceiveChallenge
-
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
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.foundation.NSURLSessionDelegate
didBecomeInvalid, didFinishEvents, didReceiveChallenge
-
Methods inherited from interface org.robovm.apple.foundation.NSURLSessionTaskDelegate
didComplete, didFinishCollectingMetrics, didReceiveChallenge, didSendBodyData, needNewBodyStream, taskIsWaitingForConnectivity, willBeginDelayedRequest, willPerformHTTPRedirection
-
-
-
-
Method Detail
-
didFinishDownloading
public void didFinishDownloading(NSURLSession session, NSURLSessionDownloadTask downloadTask, NSURL location)
- Specified by:
didFinishDownloading
in interfaceNSURLSessionDownloadDelegate
-
didWriteData
public void didWriteData(NSURLSession session, NSURLSessionDownloadTask downloadTask, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite)
- Specified by:
didWriteData
in interfaceNSURLSessionDownloadDelegate
-
didResume
public void didResume(NSURLSession session, NSURLSessionDownloadTask downloadTask, long fileOffset, long expectedTotalBytes)
- Specified by:
didResume
in interfaceNSURLSessionDownloadDelegate
-
-