Function

CFRunLoopObserverGetOrder

Returns the ordering parameter for a CFRunLoopObserver object.

Declaration

CFIndex CFRunLoopObserverGetOrder(CFRunLoopObserverRef observer);

Parameters

observer

The run loop observer to examine.

Return Value

The ordering parameter for observer. When multiple observers are scheduled in the same run loop mode and stage, this value determines the order (from small to large) in which the observers are called.

See Also

CFRunLoopObserver Miscellaneous Functions

CFRunLoopObserverCreateWithHandler

Creates a CFRunLoopObserver object with a block-based handler.

CFRunLoopObserverCreate

Creates a CFRunLoopObserver object with a function callback.

CFRunLoopObserverDoesRepeat

Returns a Boolean value that indicates whether a CFRunLoopObserver repeats.

CFRunLoopObserverGetActivities

Returns the run loop stages during which an observer runs.

CFRunLoopObserverGetContext

Returns the context information for a CFRunLoopObserver object.

CFRunLoopObserverGetTypeID

Returns the type identifier for the CFRunLoopObserver opaque type.

CFRunLoopObserverInvalidate

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

CFRunLoopObserverIsValid

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

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