Contents

threshold

The amount of time to monitor the provided applications, categories, and web domains.

Declaration

var threshold: DateComponents { get }

Discussion

Once the activity exceeds the threshold, the system invokes the eventDidReachThreshold(_:activity:) method of the application extension’s principal class.

See Also

Including Objects in an Event