HMTrigger.AddActionSetAsync(HMActionSet) 方法

定义

将 添加到 actionSet 此触发器运行并在添加后运行 completion 的操作集列表。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task AddActionSetAsync (HomeKit.HMActionSet actionSet);
abstract member AddActionSetAsync : HomeKit.HMActionSet -> System.Threading.Tasks.Task
override this.AddActionSetAsync : HomeKit.HMActionSet -> System.Threading.Tasks.Task

参数

actionSet
HMActionSet

返回

表示异步 AddActionSet 操作的任务

属性

适用于