Class JoinCodeData
JoinCodeData
Inherited Members
Namespace: Unity.Services.Apis.Relay
Assembly: solution.dll
Syntax
[Preserve]
public class JoinCodeData
Constructors
JoinCodeData(string)
Initializes a new instance of the JoinCodeData class.
Declaration
[Preserve]
public JoinCodeData(string joinCode = null)
Parameters
Type | Name | Description |
---|---|---|
string | joinCode | The connecting player can use the join code with the |
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; set; }
Property Value
Type | Description |
---|---|
string | The connecting player can use the join code with the |