HMHome.RemoveServiceGroup(HMServiceGroup, Action<NSError>) Método

Definición

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

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

Parámetros

completion
Action<NSError>

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

Atributos

Se aplica a