Package org.robovm.apple.webkit
Interface WKDownloadDelegate
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
WKDownloadDelegateAdapter
public interface WKDownloadDelegate extends NSObjectProtocol
-
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)
-
Method Details
-
decideDestinationUsingResponse
void decideDestinationUsingResponse(WKDownload download, NSURLResponse response, String suggestedFilename, VoidBlock1<NSURL> completionHandler) -
willPerformHTTPRedirection
void willPerformHTTPRedirection(WKDownload download, NSHTTPURLResponse response, NSURLRequest request, VoidBlock1<WKDownloadRedirectPolicy> decisionHandler) -
didReceiveAuthenticationChallenge
void didReceiveAuthenticationChallenge(WKDownload download, NSURLAuthenticationChallenge challenge, VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler) -
didFinish
-
didFailWithError
-