HMHome.RemoveTrigger(HMTrigger, Action<NSError>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
trigger
从主页中删除 ,并在完成后运行completion
。
[Foundation.Export("removeTrigger:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveTrigger (HomeKit.HMTrigger trigger, Action<Foundation.NSError> completion);
abstract member RemoveTrigger : HomeKit.HMTrigger * Action<Foundation.NSError> -> unit
override this.RemoveTrigger : HomeKit.HMTrigger * Action<Foundation.NSError> -> unit
参数
- trigger
- HMTrigger
- 属性