Condividi tramite


HMHome.RemoveTrigger(HMTrigger, Action<NSError>) Metodo

Definizione

trigger Rimuove dalla casa e viene eseguito completion al termine.

[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

Parametri

trigger
HMTrigger
completion
Action<NSError>

Gestore che restituisce null l'esito positivo o un oggetto errore in caso di errore.

Attributi

Si applica a