편집

다음을 통해 공유


WKNavigationDelegate_Extensions.DecidePolicy Method

Definition

Overloads

DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>)

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

DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>)

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

DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationAction, Action<WKNavigationActionPolicy>)

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

public static void DecidePolicy (this WebKit.IWKNavigationDelegate This, WebKit.WKWebView webView, WebKit.WKNavigationAction navigationAction, Action<WebKit.WKNavigationActionPolicy> decisionHandler);
static member DecidePolicy : WebKit.IWKNavigationDelegate * WebKit.WKWebView * WebKit.WKNavigationAction * Action<WebKit.WKNavigationActionPolicy> -> unit

Parameters

This
IWKNavigationDelegate

The instance on which this extension method operates.

webView
WKWebView
navigationAction
WKNavigationAction
decisionHandler
Action<WKNavigationActionPolicy>

Applies to

DecidePolicy(IWKNavigationDelegate, WKWebView, WKNavigationResponse, Action<WKNavigationResponsePolicy>)

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

public static void DecidePolicy (this WebKit.IWKNavigationDelegate This, WebKit.WKWebView webView, WebKit.WKNavigationResponse navigationResponse, Action<WebKit.WKNavigationResponsePolicy> decisionHandler);
static member DecidePolicy : WebKit.IWKNavigationDelegate * WebKit.WKWebView * WebKit.WKNavigationResponse * Action<WebKit.WKNavigationResponsePolicy> -> unit

Parameters

This
IWKNavigationDelegate

The instance on which this extension method operates.

webView
WKWebView
navigationResponse
WKNavigationResponse

Applies to