---
title: "CFRunLoopTimerGetInterval(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfrunlooptimergetinterval(_:)"
---

# CFRunLoopTimerGetInterval(_:)

Returns the firing interval of a repeating CFRunLoopTimer object.

## Declaration

```swift
func CFRunLoopTimerGetInterval(_ timer: CFRunLoopTimer!) -> CFTimeInterval
```

## Parameters

- `timer`: The run loop timer to examine.

## Return Value

Return Value The firing interval of timer. Returns 0 if timer does not repeat.

## See Also

### CFRunLoopTimer Miscellaneous Functions

- [CFRunLoopTimerCreateWithHandler(_:_:_:_:_:_:)](corefoundation/cfrunlooptimercreatewithhandler(_:_:_:_:_:_:).md)
- [CFRunLoopTimerCreate(_:_:_:_:_:_:_:)](corefoundation/cfrunlooptimercreate(_:_:_:_:_:_:_:).md)
- [CFRunLoopTimerDoesRepeat(_:)](corefoundation/cfrunlooptimerdoesrepeat(_:).md)
- [CFRunLoopTimerGetContext(_:_:)](corefoundation/cfrunlooptimergetcontext(_:_:).md)
- [CFRunLoopTimerGetNextFireDate(_:)](corefoundation/cfrunlooptimergetnextfiredate(_:).md)
- [CFRunLoopTimerGetOrder(_:)](corefoundation/cfrunlooptimergetorder(_:).md)
- [CFRunLoopTimerGetTypeID()](corefoundation/cfrunlooptimergettypeid().md)
- [CFRunLoopTimerInvalidate(_:)](corefoundation/cfrunlooptimerinvalidate(_:).md)
- [CFRunLoopTimerIsValid(_:)](corefoundation/cfrunlooptimerisvalid(_:).md)
- [CFRunLoopTimerSetNextFireDate(_:_:)](corefoundation/cfrunlooptimersetnextfiredate(_:_:).md)
