Bagikan melalui


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

Definisi

zone Menghapus dari rumah dan berjalan completion setelah selesai.

[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>

Handler yang kembali null berhasil, atau objek kesalahan pada kegagalan.

Atribut

Berlaku untuk