Contents

activeParticipants

The set of participants currently engaged in the activity.

Declaration

@Published<Set<Participant>> final var activeParticipants: Set<Participant> { get }

Mentioned in

Discussion

This property reflects the set of people invited to a group session and currently engaged in the shared activity on their device. Members who join the conversation over FaceTime but don’t join the shared activity aren’t active participants. As people join or leave the activity, the session object updates the set of active participants. To detect changes to this property, configure a subscriber.

Each Participant object corresponds to a joined session on a device. If a single person joins the activity from two devices simultaneously, the set contains a separate Participant object for each device.

See Also

Getting the participants