次の方法で共有


HMHome.RemoveTrigger(HMTrigger, Action<NSError>) メソッド

定義

ホームから削除 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
completion
Action<NSError>

成功した場合は を返す null ハンドラー、または失敗した場合はエラー オブジェクト。

属性

適用対象