Function

CFRunLoopRemoveObserver

Removes a CFRunLoopObserver object from a run loop mode.

Declaration

void CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);

Parameters

rl

The run loop to modify.

observer

The run loop observer to remove.

mode

The run loop mode of rl from which to remove observer. Use the constant kCFRunLoopCommonModes to remove observer from the set of objects monitored by all the common modes.

Discussion

If rl does not contain observer in mode, this function does nothing.

See Also

Managing Observers

CFRunLoopAddObserver

Adds a CFRunLoopObserver object to a run loop mode.

CFRunLoopContainsObserver

Returns a Boolean value that indicates whether a run loop mode contains a particular CFRunLoopObserver 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