Contents

CFRunLoopTimerGetInterval(_:)

Returns the firing interval of a repeating CFRunLoopTimer object.

Declaration

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

Parameters

  • timer:

    The run loop timer to examine.

Return Value

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

See Also

CFRunLoopTimer Miscellaneous Functions