Contents

intervalDidStart(for:)

Indicates that the device activity interval started.

Declaration

func intervalDidStart(for activity: DeviceActivityName)

Parameters

  • activity:

    The name of the activity.

Discussion

An activity starts when someone first uses the device within the activity’s scheduled time interval. In other words, the system only invokes this method when the device is in use.

See Also

Monitoring Scheduled Intervals