共用方式為


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 作業的工作

屬性

適用於