docs.unity3d.com
    Show / Hide Table of Contents

    Class JoinCodeRequest

    A request to create a join code.

    Inheritance
    Object
    JoinCodeRequest
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Services.Relay.Models
    Syntax
    [Preserve]
    public class JoinCodeRequest

    Constructors

    JoinCodeRequest(Guid)

    A request to create a join code.

    Declaration
    [Preserve]
    public JoinCodeRequest(Guid allocationId)
    Parameters
    Type Name Description
    Guid allocationId

    The UUID of the allocation. The Allocations service maps this allocation ID to the generated join code. The Allocations service shares the allocation connection data with players who use the join code with the /join endpoint. This sharing mechanism establishes communication between players via the Relay server data protocol.

    Properties

    AllocationId

    The UUID of the allocation. The Allocations service maps this allocation ID to the generated join code. The Allocations service shares the allocation connection data with players who use the join code with the /join endpoint. This sharing mechanism establishes communication between players via the Relay server data protocol.

    Declaration
    [Preserve]
    public Guid AllocationId { get; }
    Property Value
    Type Description
    Guid
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023