Condividi tramite


HMHome.RemoveZone(HMZone, Action<NSError>) Metodo

Definizione

zone Rimuove dalla casa e viene eseguito completion al termine.

[Foundation.Export("removeZone:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveZone (HomeKit.HMZone zone, Action<Foundation.NSError> completion);
abstract member RemoveZone : HomeKit.HMZone * Action<Foundation.NSError> -> unit
override this.RemoveZone : HomeKit.HMZone * Action<Foundation.NSError> -> unit

Parametri

zone
HMZone
completion
Action<NSError>

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

Attributi

Si applica a