Contents

WKSnapshotReason.appScheduled

The app scheduled this snapshot.

Declaration

case appScheduled

Discussion

You can schedule snapshots either by calling the scheduleSnapshotRefresh(withPreferredDate:userInfo:scheduledCompletion:) method, or—when completing a background task—by calling the setTaskCompletedWithSnapshot(_:) method and passing true.

These snapshot refresh tasks are only triggered when the watchOS app is in the dock.

See Also

Enumeration Cases