---
title: WKSnapshotReason.appScheduled
framework: watchkit
role: symbol
role_heading: Case
path: watchkit/wksnapshotreason/appscheduled
---

# WKSnapshotReason.appScheduled

The app scheduled this snapshot.

## Declaration

```swift
case appScheduled
```

## Discussion

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

- [WKSnapshotReason.appBackgrounded](watchkit/wksnapshotreason/appbackgrounded.md)
- [WKSnapshotReason.complicationUpdate](watchkit/wksnapshotreason/complicationupdate.md)
- [WKSnapshotReason.prelaunch](watchkit/wksnapshotreason/prelaunch.md)
- [WKSnapshotReason.returnToDefaultState](watchkit/wksnapshotreason/returntodefaultstate.md)
