Upravit

Sdílet prostřednictvím


IWKNavigationDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol WKNavigationDelegate.

[Foundation.Protocol(Name="WKNavigationDelegate", WrapperType=typeof(WebKit.WKNavigationDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IWKNavigationDelegate : IDisposable, ObjCRuntime.INativeObject
type IWKNavigationDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by WKNavigationDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the WKNavigationDelegate protocol.

Optional methods (if any) are provided by the WKNavigationDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

ContentProcessDidTerminate(IWKNavigationDelegate, WKWebView)

Method that is called when a web view's content is terminated.

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.

DidCommitNavigation(IWKNavigationDelegate, WKWebView, WKNavigation)

Method that is called when content begins to load.

DidFailNavigation(IWKNavigationDelegate, WKWebView, WKNavigation, NSError)

Method that is called when a committed navigation fails.

DidFailProvisionalNavigation(IWKNavigationDelegate, WKWebView, WKNavigation, NSError)

Method that is called when a committed navigation fails after data has begun to load.

DidFinishNavigation(IWKNavigationDelegate, WKWebView, WKNavigation)

Method that is called when all the data is loaded.

DidReceiveAuthenticationChallenge(IWKNavigationDelegate, WKWebView, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential>)

Method that is called when an authentication challenge is issued.

DidReceiveServerRedirectForProvisionalNavigation(IWKNavigationDelegate, WKWebView, WKNavigation)

Method that is called when a server redirect is received.

DidStartProvisionalNavigation(IWKNavigationDelegate, WKWebView, WKNavigation)

Method that is called when data begins to load.

Applies to