Contents

eventDidReachThreshold(_:activity:)

Indicates that the activity reached its threshold.

Declaration

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

Parameters

  • event:

    The name of the event.

  • activity:

    The name of the activity.

Discussion

The system invokes this method when use of the activity reaches its threshold.

See Also

Monitoring Event Thresholds