---
title: repeats
framework: Device Activity
role: symbol
role_heading: Instance Property
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+]
path: deviceactivity/deviceactivityschedule/repeats
---

# repeats

A Boolean value that indicates whether the schedule recurs.

## Declaration

```swift
var repeats: Bool { get }
```

## Discussion

Discussion Use repeats to create an activity schedule that repeats until the activity-monitoring stops.

## See Also

### Creating a Schedule

- [init(intervalStart:intervalEnd:repeats:warningTime:)](deviceactivity/deviceactivityschedule/init(intervalstart:intervalend:repeats:warningtime:).md)
- [intervalEnd](deviceactivity/deviceactivityschedule/intervalend.md)
- [intervalStart](deviceactivity/deviceactivityschedule/intervalstart.md)
- [nextInterval](deviceactivity/deviceactivityschedule/nextinterval.md)
- [warningTime](deviceactivity/deviceactivityschedule/warningtime.md)
