Package org.robovm.apple.webkit
Class WKNavigationDelegateAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.webkit.WKNavigationDelegateAdapter
- All Implemented Interfaces:
NSObjectProtocol,WKNavigationDelegate,ObjCProtocol
public class WKNavigationDelegateAdapter extends NSObject implements WKNavigationDelegate
-
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 WKNavigationDelegateAdapter() -
Method Summary
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
-
WKNavigationDelegateAdapter
public WKNavigationDelegateAdapter()
-
-
Method Details
-
decidePolicyForNavigationAction
public void decidePolicyForNavigationAction(WKWebView webView, WKNavigationAction navigationAction, VoidBlock1<WKNavigationActionPolicy> decisionHandler)- Specified by:
decidePolicyForNavigationActionin interfaceWKNavigationDelegate
-
decidePolicyForNavigationAction
public void decidePolicyForNavigationAction(WKWebView webView, WKNavigationAction navigationAction, WKWebpagePreferences preferences, VoidBlock2<WKNavigationActionPolicy,WKWebpagePreferences> decisionHandler)- Specified by:
decidePolicyForNavigationActionin interfaceWKNavigationDelegate- Since:
- Available in iOS 13.0 and later.
-
decidePolicyForNavigationResponse
public void decidePolicyForNavigationResponse(WKWebView webView, WKNavigationResponse navigationResponse, VoidBlock1<WKNavigationResponsePolicy> decisionHandler)- Specified by:
decidePolicyForNavigationResponsein interfaceWKNavigationDelegate
-
didStartProvisionalNavigation
- Specified by:
didStartProvisionalNavigationin interfaceWKNavigationDelegate
-
didReceiveServerRedirectForProvisionalNavigation
public void didReceiveServerRedirectForProvisionalNavigation(WKWebView webView, WKNavigation navigation)- Specified by:
didReceiveServerRedirectForProvisionalNavigationin interfaceWKNavigationDelegate
-
didFailProvisionalNavigation
public void didFailProvisionalNavigation(WKWebView webView, WKNavigation navigation, NSError error)- Specified by:
didFailProvisionalNavigationin interfaceWKNavigationDelegate
-
didCommitNavigation
- Specified by:
didCommitNavigationin interfaceWKNavigationDelegate
-
didFinishNavigation
- Specified by:
didFinishNavigationin interfaceWKNavigationDelegate
-
didFailNavigation
- Specified by:
didFailNavigationin interfaceWKNavigationDelegate
-
didReceiveAuthenticationChallenge
public void didReceiveAuthenticationChallenge(WKWebView webView, NSURLAuthenticationChallenge challenge, VoidBlock2<NSURLSessionAuthChallengeDisposition,NSURLCredential> completionHandler)- Specified by:
didReceiveAuthenticationChallengein interfaceWKNavigationDelegate
-
webContentProcessDidTerminate
- Specified by:
webContentProcessDidTerminatein interfaceWKNavigationDelegate- Since:
- Available in iOS 9.0 and later.
-
shouldAllowDeprecatedTLS
public void shouldAllowDeprecatedTLS(WKWebView webView, NSURLAuthenticationChallenge challenge, VoidBooleanBlock decisionHandler)- Specified by:
shouldAllowDeprecatedTLSin interfaceWKNavigationDelegate- Since:
- Available in iOS 14.0 and later.
-
didBecomeDownload
public void didBecomeDownload(WKWebView webView, WKNavigationAction navigationAction, WKDownload download)- Specified by:
didBecomeDownloadin interfaceWKNavigationDelegate- Since:
- Available in iOS 14.5 and later.
-
didBecomeDownload
public void didBecomeDownload(WKWebView webView, WKNavigationResponse navigationResponse, WKDownload download)- Specified by:
didBecomeDownloadin interfaceWKNavigationDelegate- Since:
- Available in iOS 14.5 and later.
-