v1.0.0
Latest
2022.3+

Class JoinCodeData

JoinCodeData model

Inheritance
System.Object
JoinCodeData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Relay.Models
Syntax
public class JoinCodeData

Constructors

JoinCodeData(String)

Creates an instance of JoinCodeData.

Declaration
public JoinCodeData(string joinCode)
Parameters
TypeNameDescription
System.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
public string JoinCode { get; }
Property Value
TypeDescription
System.String