Partager via


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

Définition

zone Supprime de la maison et s’exécute completion une fois qu’il a terminé.

[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

Paramètres

zone
HMZone
completion
Action<NSError>

Gestionnaire qui retourne null en cas de réussite ou objet d’erreur en cas d’échec.

Attributs

S’applique à