Contents

eventWillReachThresholdWarning(_:activity:)

Warns your app that an activity is about to reach its threshold.

Declaration

func eventWillReachThresholdWarning(_ event: DeviceActivityEvent.Name, activity: DeviceActivityName)

Parameters

  • event:

    The name of the event.

  • activity:

    The name of the activity.

Discussion

When an activity is about to reach its threshold, eventWillReachThresholdWarning warns your app extension of the concluding threshold limit.

See Also

Monitoring Event Thresholds