removeServiceGroup(_:completionHandler:)
Removes a service group from the home.
Declaration
func removeServiceGroup(_ group: HMServiceGroup, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)func removeServiceGroup(_ group: HMServiceGroup) async throwsParameters
- group:
The service group to remove.
- completion:
The block executed after the request is processed.
- error
nilon success; otherwise, error object indicating the reason for failure.