Contents

end()

Ends the activity for the entire group and stops the transfer of synchronized data.

Declaration

final func end()

Mentioned in

Discussion

Call this method to end the activity for all participants. When you call this method, the session transitions to the GroupSession.State.invalidated(reason:) state and stops the delivery of session-related updates. After ending the session, you can’t join it again.

Don’t call this method on a session already in the GroupSession.State.invalidated(reason:) state.

See Also

Joining and leaving the session