IINSetTaskAttributeIntentHandling 接口

定义

接口定义处理程序方法,实现时,必须使用completionINSetTaskAttributeIntentResponse适当的 调用 。arg

[Foundation.Protocol(Name="INSetTaskAttributeIntentHandling", WrapperType=typeof(Intents.INSetTaskAttributeIntentHandlingWrapper))]
[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 IINSetTaskAttributeIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSetTaskAttributeIntentHandling = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

方法

HandleSetTaskAttribute(INSetTaskAttributeIntent, Action<INSetTaskAttributeIntentResponse>)

开发人员必须重写此方法,并使用 相应的 INSetTaskAttributeIntentintent调用 T:System.Action'1INSetTaskAttributeIntentResponse

扩展方法

Confirm(IINSetTaskAttributeIntentHandling, INSetTaskAttributeIntent, Action<INSetTaskAttributeIntentResponse>)

开发人员可以实施此方法来确认本地和远程资源是否已准备好更新属性。

ResolveSpatialEventTrigger(IINSetTaskAttributeIntentHandling, INSetTaskAttributeIntent, Action<INSpatialEventTriggerResolutionResult>)

开发人员可以实现此方法来自定义空间事件触发器的解析。

ResolveStatus(IINSetTaskAttributeIntentHandling, INSetTaskAttributeIntent, Action<INTaskStatusResolutionResult>)

开发人员可以实现此方法来自定义任务状态的解析。

ResolveTargetTask(IINSetTaskAttributeIntentHandling, INSetTaskAttributeIntent, Action<INTaskResolutionResult>)

开发人员可以实现此方法来自定义要更新的任务的解析。

ResolveTemporalEventTrigger(IINSetTaskAttributeIntentHandling, INSetTaskAttributeIntent, Action<INTemporalEventTriggerResolutionResult>)

开发人员可以实施此方法来自定义临时触发器的分辨率。

适用于