Contents

init(session:)

Creates a new group session messenger with Reliable delivery mode and associates it with the specified session object.

Declaration

init<Activity>(session: GroupSession<Activity>) where Activity : GroupActivity

Parameters

  • session:

    The group session to use for communication with participants. Specify a session object that is in either the Waiting or Joined state for this parameter. However, a session must be in the joined state to send or receive messages.