---
title: interval
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsbackgroundactivityscheduler/interval
---

# interval

An integer providing a suggested interval between scheduling and invoking the activity.

## Declaration

```swift
var interval: TimeInterval { get set }
```

## Discussion

Discussion For repeating activities, the value of this property is also the suggested interval between invocations. See Configure Scheduler Properties.

## See Also

### Background Scheduler Attributes

- [identifier](foundation/nsbackgroundactivityscheduler/identifier.md)
- [repeats](foundation/nsbackgroundactivityscheduler/repeats.md)
- [qualityOfService](foundation/nsbackgroundactivityscheduler/qualityofservice.md)
- [shouldDefer](foundation/nsbackgroundactivityscheduler/shoulddefer.md)
- [tolerance](foundation/nsbackgroundactivityscheduler/tolerance.md)
