WKNavigationDelegate.DecidePolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DecidePolicy(WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>) |
Assigns an action to be taken after the specified |
DecidePolicy(WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>) |
Assigns an action to be taken after the specified |
DecidePolicy(WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>)
Assigns an action to be taken after the specified navigationAction
has been either canceled or allowed.
[Foundation.Export("webView:decidePolicyForNavigationAction:decisionHandler:")]
public virtual void DecidePolicy (WebKit.WKWebView webView, WebKit.WKNavigationAction navigationAction, Action<WebKit.WKNavigationActionPolicy> decisionHandler);
abstract member DecidePolicy : WebKit.WKWebView * WebKit.WKNavigationAction * Action<WebKit.WKNavigationActionPolicy> -> unit
override this.DecidePolicy : WebKit.WKWebView * WebKit.WKNavigationAction * Action<WebKit.WKNavigationActionPolicy> -> unit
Parameters
- webView
- WKWebView
- navigationAction
- WKNavigationAction
- decisionHandler
- Action<WKNavigationActionPolicy>
- Attributes
Applies to
DecidePolicy(WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>)
Assigns an action to be taken after the specified navigationResponse
has been either canceled or allowed.
[Foundation.Export("webView:decidePolicyForNavigationResponse:decisionHandler:")]
public virtual void DecidePolicy (WebKit.WKWebView webView, WebKit.WKNavigationResponse navigationResponse, Action<WebKit.WKNavigationResponsePolicy> decisionHandler);
abstract member DecidePolicy : WebKit.WKWebView * WebKit.WKNavigationResponse * Action<WebKit.WKNavigationResponsePolicy> -> unit
override this.DecidePolicy : WebKit.WKWebView * WebKit.WKNavigationResponse * Action<WebKit.WKNavigationResponsePolicy> -> unit
Parameters
- webView
- WKWebView
- navigationResponse
- WKNavigationResponse
- decisionHandler
- Action<WKNavigationResponsePolicy>
- Attributes