docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Message

    Object used to contain messaging information

    Inheritance
    object
    Message
    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 Message

    Properties

    Payload

    Data that is embedded in the message

    Declaration
    public string Payload { get; set; }
    Property Value
    Type Description
    string

    Type

    Type of message being sent

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    string

    Version

    Version of the messaging type being used

    Declaration
    public string Version { get; set; }
    Property Value
    Type Description
    string

    Methods

    IsValid()

    Verifies that the Message object has valid entries for all its fields

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool
    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)