---
title: join()
framework: groupactivities
role: symbol
role_heading: Instance Method
path: groupactivities/groupsession/join()
---

# join()

Starts the shared activity on the current device.

## Declaration

```swift
final func join()
```

## Mentioned in

Joining and managing a shared activity Adding spatial Persona support to an activity

## Discussion

Discussion Call this method to begin the delivery of synchronized data to the current device. Typically, you call this method when your app is ready to engage in an activity. For example, call it when you present your app’s UI for the activity. When your app successfully joins the session, the session changes the value in its state property to GroupSession.State.joined.

## See Also

### Joining and leaving the session

- [leave()](groupactivities/groupsession/leave().md)
- [end()](groupactivities/groupsession/end().md)
