編輯

共用方式為


IWKUrlSchemeTask Interface

Definition

Interface for a task that loads data from a URL with an arbitrary scheme.

[Foundation.Protocol(Name="WKURLSchemeTask", WrapperType=typeof(WebKit.WKUrlSchemeTaskWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IWKUrlSchemeTask : IDisposable, ObjCRuntime.INativeObject
type IWKUrlSchemeTask = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Request

Gets the request.

Methods

DidFailWithError(NSError)

Method that is called to indicate failure.

DidFinish()

Method that is called to indicate that the task is finished.

DidReceiveData(NSData)

Method that is called to indicate that the task received the data.

DidReceiveResponse(NSUrlResponse)

Method that is called to indicate that the task received a response.

Applies to