updateRegion(_:completionHandler:)
Changes the region associated with this event.
Declaration
func updateRegion(_ region: CLRegion, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)func updateRegion(_ region: CLRegion) async throwsParameters
- region:
New region on which the event is triggered. Must have at least one of Notifyonentry or Notifyonexit set to True.
- completion:
The block executed when the region update request has been processed.
- error
nilon success; otherwise, error object indicating the reason for failure.