docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MigrationDataInfo

    The migration data information of a lobby.

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

    Constructors

    MigrationDataInfo(string, string, DateTime, int)

    The migration data information of a lobby.

    Declaration
    [Preserve]
    public MigrationDataInfo(string write = null, string read = null, DateTime expires = default, int maxSize = 0)
    Parameters
    Type Name Description
    string write

    The migration data write url.

    string read

    The migration data read url.

    DateTime expires

    When the urls will expire. The timestamp is in UTC and conforms to ISO 8601.

    int maxSize

    The max size of migration data in bytes.

    Properties

    Expires

    When the urls will expire. The timestamp is in UTC and conforms to ISO 8601.

    Declaration
    [Preserve]
    [DataMember(Name = "expires", EmitDefaultValue = false)]
    public DateTime Expires { get; }
    Property Value
    Type Description
    DateTime

    MaxSize

    The max size of migration data in bytes.

    Declaration
    [Preserve]
    [DataMember(Name = "maxSize", EmitDefaultValue = false)]
    public int MaxSize { get; }
    Property Value
    Type Description
    int

    Read

    The migration data read url.

    Declaration
    [Preserve]
    [DataMember(Name = "read", EmitDefaultValue = false)]
    public string Read { get; }
    Property Value
    Type Description
    string

    Write

    The migration data write url.

    Declaration
    [Preserve]
    [DataMember(Name = "write", EmitDefaultValue = false)]
    public string Write { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)