---
title: "CFRunLoopObserverGetActivities(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfrunloopobservergetactivities(_:)"
---

# CFRunLoopObserverGetActivities(_:)

Returns the run loop stages during which an observer runs.

## Declaration

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

## Parameters

- `observer`: The run loop observer to examine.

## Return Value

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

- [CFRunLoopObserverCreateWithHandler(_:_:_:_:_:)](corefoundation/cfrunloopobservercreatewithhandler(_:_:_:_:_:).md)
- [CFRunLoopObserverCreate(_:_:_:_:_:_:)](corefoundation/cfrunloopobservercreate(_:_:_:_:_:_:).md)
- [CFRunLoopObserverDoesRepeat(_:)](corefoundation/cfrunloopobserverdoesrepeat(_:).md)
- [CFRunLoopObserverGetContext(_:_:)](corefoundation/cfrunloopobservergetcontext(_:_:).md)
- [CFRunLoopObserverGetOrder(_:)](corefoundation/cfrunloopobservergetorder(_:).md)
- [CFRunLoopObserverGetTypeID()](corefoundation/cfrunloopobservergettypeid().md)
- [CFRunLoopObserverInvalidate(_:)](corefoundation/cfrunloopobserverinvalidate(_:).md)
- [CFRunLoopObserverIsValid(_:)](corefoundation/cfrunloopobserverisvalid(_:).md)
