Compartir a través de


HMZone.RemoveRoom(HMRoom, Action<NSError>) Método

Definición

Quita room de la zona y se ejecuta completion una vez finalizada.

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

Parámetros

room
HMRoom
completion
Action<NSError>

Controlador que devuelve null correcto o un objeto de error en caso de error.

Atributos

Se aplica a