Share via


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))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveResponse", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlResponse) }, Selector="didReceiveResponse:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveData", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSData) }, Selector="didReceiveData:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFinish", Selector="didFinish")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFailWithError", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSError) }, Selector="didFailWithError:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="request", IsProperty=true, IsRequired=true, IsStatic=false, Name="Request", PropertyType=typeof(Foundation.NSUrlRequest), Selector="request")]
public interface IWKUrlSchemeTask : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="WKURLSchemeTask", WrapperType=typeof(WebKit.WKUrlSchemeTaskWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveResponse", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrlResponse) }, Selector="didReceiveResponse:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveData", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSData) }, Selector="didReceiveData:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFinish", Selector="didFinish")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFailWithError", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSError) }, Selector="didFailWithError:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="request", IsProperty=true, IsRequired=true, IsStatic=false, Name="Request", PropertyType=typeof(Foundation.NSUrlRequest), Selector="request")>]
type IWKUrlSchemeTask = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Request

Gets the request.

Methods

Name Description
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.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to