v1.1.0
Latest
2021.3+

Class JoinCodeData

JoinCodeData model

Inheritance
JoinCodeData
Namespace: Unity.Services.Relay.Models
Syntax
[Preserve]
public class JoinCodeData

Constructors

JoinCodeData(String)

Creates an instance of JoinCodeData.

Declaration
[Preserve]
public JoinCodeData(string joinCode)
Parameters
TypeNameDescription
StringjoinCode

The connecting player can use the join code with the /join endpoint to join the same Relay server as the host player who created the join code. The join code is case-insensitive.

Properties

JoinCode

The connecting player can use the join code with the /join endpoint to join the same Relay server as the host player who created the join code. The join code is case-insensitive.

Declaration
[Preserve]
public string JoinCode { get; }
Property Value
TypeDescription
String