Edytuj

Udostępnij za pośrednictwem


IINAddTasksIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INAddTasksIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INAddTasksIntentHandling", WrapperType=typeof(Intents.INAddTasksIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINAddTasksIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINAddTasksIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleAddTasks(INAddTasksIntent, Action<INAddTasksIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INAddTasksIntentResponse appropriate to the INAddTasksIntent intent.

Extension Methods

Confirm(IINAddTasksIntentHandling, INAddTasksIntent, Action<INAddTasksIntentResponse>)

Developers may implement this method to confirm whether local and remote resources are ready to add the task.

ResolveSpatialEventTrigger(IINAddTasksIntentHandling, INAddTasksIntent, Action<INSpatialEventTriggerResolutionResult>)

Developers may implement this method to customize resolution of a spatial trigger for a task.

ResolveTargetTaskList(IINAddTasksIntentHandling, INAddTasksIntent, Action<INTaskListResolutionResult>)

Developers may implement this method to customize resolution of the list that will receive added tasks.

ResolveTaskTitles(IINAddTasksIntentHandling, INAddTasksIntent, Action<INSpeakableStringResolutionResult[]>)

Developers may implement this method to customize resolution of a task title.

ResolveTemporalEventTrigger(IINAddTasksIntentHandling, INAddTasksIntent, Action<INTemporalEventTriggerResolutionResult>)

Developers may implement this method to customize resolution of a temporal trigger for a task.

Applies to