Function

CFRunLoopTimerGetNextFireDate

Returns the next firing time for a CFRunLoopTimer object.

Declaration

CFAbsoluteTime CFRunLoopTimerGetNextFireDate(CFRunLoopTimerRef timer);

Parameters

timer

The run loop timer to examine.

Return Value

The next firing time for timer. This time could be a date in the past if a run loop has not been able to process the timer since the firing time arrived.

See Also

CFRunLoopTimer Miscellaneous Functions

CFRunLoopTimerCreateWithHandler

Creates a new CFRunLoopTimer object with a block-based handler.

CFRunLoopTimerCreate

Creates a new CFRunLoopTimer object with a function callback.

CFRunLoopTimerDoesRepeat

Returns a Boolean value that indicates whether a CFRunLoopTimer object repeats.

CFRunLoopTimerGetContext

Returns the context information for a CFRunLoopTimer object.

CFRunLoopTimerGetInterval

Returns the firing interval of a repeating CFRunLoopTimer object.

CFRunLoopTimerGetOrder

Returns the ordering parameter for a CFRunLoopTimer object.

CFRunLoopTimerGetTypeID

Returns the type identifier of the CFRunLoopTimer opaque type.

CFRunLoopTimerInvalidate

Invalidates a CFRunLoopTimer object, stopping it from ever firing again.

CFRunLoopTimerIsValid

Returns a Boolean value that indicates whether a CFRunLoopTimer object is valid and able to fire.

CFRunLoopTimerSetNextFireDate

Sets the next firing date for a CFRunLoopTimer object .

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software