Package org.robovm.apple.webkit
Class WKDownloadDelegateAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.webkit.WKDownloadDelegateAdapter
- All Implemented Interfaces:
NSObjectProtocol,WKDownloadDelegate,ObjCProtocol
public class WKDownloadDelegateAdapter extends NSObject implements WKDownloadDelegate
-
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 WKDownloadDelegateAdapter() -
Method Summary
Modifier and Type Method Description voiddecideDestinationUsingResponse(WKDownload download, NSURLResponse response, String suggestedFilename, VoidBlock1<NSURL> completionHandler)voiddidFailWithError(WKDownload download, NSError error, NSData resumeData)voiddidFinish(WKDownload download)voiddidReceiveAuthenticationChallenge(WKDownload download, NSURLAuthenticationChallenge challenge, VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler)voidwillPerformHTTPRedirection(WKDownload download, NSHTTPURLResponse response, NSURLRequest request, VoidBlock1<WKDownloadRedirectPolicy> decisionHandler)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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
WKDownloadDelegateAdapter
public WKDownloadDelegateAdapter()
-
-
Method Details
-
decideDestinationUsingResponse
public void decideDestinationUsingResponse(WKDownload download, NSURLResponse response, String suggestedFilename, VoidBlock1<NSURL> completionHandler)- Specified by:
decideDestinationUsingResponsein interfaceWKDownloadDelegate
-
willPerformHTTPRedirection
public void willPerformHTTPRedirection(WKDownload download, NSHTTPURLResponse response, NSURLRequest request, VoidBlock1<WKDownloadRedirectPolicy> decisionHandler)- Specified by:
willPerformHTTPRedirectionin interfaceWKDownloadDelegate
-
didReceiveAuthenticationChallenge
public void didReceiveAuthenticationChallenge(WKDownload download, NSURLAuthenticationChallenge challenge, VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler)- Specified by:
didReceiveAuthenticationChallengein interfaceWKDownloadDelegate
-
didFinish
- Specified by:
didFinishin interfaceWKDownloadDelegate
-
didFailWithError
- Specified by:
didFailWithErrorin interfaceWKDownloadDelegate
-