<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupActivity/activate()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Group Activities",
      "GroupActivities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A8ActivityPAAE8activateSbyYaKF"
  },
  "title" : "activate()"
}
-->

# activate()

Begins the activity immediately and creates a session for the app when
a FaceTime call is active.

```
func activate() async throws -> Bool
```

## Discussion

Typically, you call this method only when the [`prepareForActivation()`](/documentation/GroupActivities/GroupActivity/prepareForActivation())
method delivers the [`GroupActivityActivationResult.activationPreferred`](/documentation/GroupActivities/GroupActivityActivationResult/activationPreferred)
result. However, you may call it directly if your activity only makes sense
in a group setting. For example, call it if the activity applies only to groups
and can’t be performed without other participants.

If a FaceTime call is active, this method configures a session.
The system also invites other participants to join the activity. If a session will be
delivered to your app this function returns true, otherwise it returns false. A case where this function
could return false is when a session is created and handed off to an Apple TV.
If a call isn’t active or a session wasn’t created, this method throws an error

---

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)