docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MessageCollection

    Object used to store multiple Message objects and corresponding checkpoints

    Inheritance
    object
    MessageCollection
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Common
    Assembly: Unity.Cloud.Common.dll
    Syntax
    [Serializable]
    public class MessageCollection

    Constructors

    MessageCollection(IEnumerable<Message>, long)

    Initializes and returns an instance of MessageCollection

    Declaration
    public MessageCollection(IEnumerable<Message> messages, long checkpointEpochMilliseconds)
    Parameters
    Type Name Description
    IEnumerable<Message> messages

    The messages to add to the collection.

    long checkpointEpochMilliseconds

    The checkpoint to track the DateTime at which the MessageCollection is sent.

    Properties

    CheckpointEpochMilliseconds

    Used to track the DateTime at which the MessageCollection is sent Generally tracked in UnixTimeMilliseconds

    Declaration
    public long CheckpointEpochMilliseconds { get; set; }
    Property Value
    Type Description
    long

    Messages

    List of Message objects stored in the MessageCollection

    Declaration
    public List<Message> Messages { get; set; }
    Property Value
    Type Description
    List<Message>
    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)