<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/os_activity_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "c:@T@os_activity_t"
  },
  "title" : "os_activity_t"
}
-->

# os_activity_t

An object that represents an activity triggered by the user.

```
typedef NSObject<OS_os_activity> * os_activity_t;
```

## Topics

### Choosing a Special Activity

[`OS_ACTIVITY_NONE`](/documentation/os/OS_ACTIVITY_NONE)

A special value that indicates a nonexistent activity.

[`OS_ACTIVITY_CURRENT`](/documentation/os/OS_ACTIVITY_CURRENT)

A special value that selects the current activity, if there is one.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)