編輯

共用方式為


IINIntentHandlerProviding Interface

Definition

Defines the M:Intents.IINIntentHandlerProvider* interface implemented by INExtension.

[Foundation.Protocol(Name="INIntentHandlerProviding", WrapperType=typeof(Intents.INIntentHandlerProvidingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINIntentHandlerProviding : IDisposable, ObjCRuntime.INativeObject
type IINIntentHandlerProviding = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetHandler(INIntent)

Developers override this method to return the handler object if intent is one their extension can respond to.

Applies to