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