Freigeben über


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

Definition

zone Entfernt aus der Startseite und wird ausgeführtcompletion, nachdem es abgeschlossen ist.

[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

Parameter

zone
HMZone
completion
Action<NSError>

Ein Handler, der bei Erfolg zurückgibt null , oder ein Fehlerobjekt bei Einem Fehler.

Attribute

Gilt für: