Compartir a través de


HMHome.RemoveZone(HMZone, Action<NSError>) Método

Definición

zone Quita del hogar y se ejecuta completion después de que haya terminado.

[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

Parámetros

zone
HMZone
completion
Action<NSError>

Un controlador que se devuelve null correctamente o un objeto de error en caso de error.

Atributos

Se aplica a