編集

次の方法で共有


WKNavigationDelegate.DecidePolicy Method

Definition

Overloads

DecidePolicy(WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>)

Assigns an action to be taken after the specified navigationAction has been either canceled or allowed.

DecidePolicy(WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>)

Assigns an action to be taken after the specified navigationResponse has been either canceled or allowed.

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
Attributes

Applies to