HMServiceGroup.RemoveService(HMService, Action<NSError>) Método

Definición

service Quita del grupo de servicios y se ejecuta completion después de que haya finalizado.

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

Parámetros

service
HMService
completion
Action<NSError>

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

Atributos

Se aplica a