docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Region

    Region model

    Inheritance
    object
    Region
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Relay.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "Region")]
    public class Region

    Constructors

    Region(string, string)

    Creates an instance of Region.

    Declaration
    [Preserve]
    public Region(string id, string description)
    Parameters
    Type Name Description
    string id

    The region ID used in allocation requests.

    string description

    A human-readable description of the region. It can include geographical information such as the city name or country.

    Properties

    Description

    A human-readable description of the region. It can include geographical information such as the city name or country.

    Declaration
    [Preserve]
    [DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
    public string Description { get; }
    Property Value
    Type Description
    string

    Id

    The region ID used in allocation requests.

    Declaration
    [Preserve]
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public string Id { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)