SpaceConnectionConfig (Unity)

- Fields

public string Tag;

The SpaceConnectionConfig determines how connections to different spaces are handled. It is used when calling JoinSpaceWithOptions.

Tags are user-defined identifiers that distinguish between simultaneous space connections. By assigning different tags to each connection, you can manage multiple active space connections within the same instance.

Use Case Example:

  • RTC Connection: A persistent connection for real-time communication.

  • Dynamic Connection: A secondary connection for tasks like journal syncing or transitioning between spaces.

By using different tags, both connections can coexist without interfering with each other. If the same tag (or the default empty string) is used, only one space connection is maintained at a time.