Function

CFRunLoopObserverGetActivities(_:)

Returns the run loop stages during which an observer runs.

Declaration

func CFRunLoopObserverGetActivities(_ observer: CFRunLoopObserver!) -> CFOptionFlags

Parameters

observer

The run loop observer to examine.

Return Value

A bitwise-OR combination of all the run loop stages in which observer is called. See CFRunLoopActivity for the list of stages.

See Also

CFRunLoopObserver Miscellaneous Functions

func CFRunLoopObserverDoesRepeat(CFRunLoopObserver!) -> Bool

Returns a Boolean value that indicates whether a CFRunLoopObserver repeats.

func CFRunLoopObserverGetOrder(CFRunLoopObserver!) -> CFIndex

Returns the ordering parameter for a CFRunLoopObserver object.

func CFRunLoopObserverGetTypeID() -> CFTypeID

Returns the type identifier for the CFRunLoopObserver opaque type.

func CFRunLoopObserverInvalidate(CFRunLoopObserver!)

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

func CFRunLoopObserverIsValid(CFRunLoopObserver!) -> Bool

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