Compartilhar via


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

Definição

group Remove da página inicial e é executado completion após a conclusão.

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

Um manipulador que retorna null com êxito ou um objeto de erro em caso de falha.

Atributos

Aplica-se a