Search Results for

    Show / Hide Table of Contents

    Class MessageInfo

    Message information.

    Inheritance
    System.Object
    Info
    MessageInfo
    Inherited Members
    Info.Id
    Info.ProcessBoolean(Boolean, Boolean)
    Info.ProcessShort(Int16, Int16)
    Info.ProcessInteger(Int32, Int32)
    Info.ProcessLong(Int64, Int64)
    Info.ProcessFloat(Single, Single)
    Info.ProcessDouble(Double, Double)
    Info.ProcessString(String, String)
    Info.ProcessBooleanArray(Boolean[], Boolean[])
    Info.ProcessShortArray(Int16[], Int16[])
    Info.ProcessIntegerArray(Int32[], Int32[])
    Info.ProcessLongArray(Int64[], Int64[])
    Info.ProcessFloatArray(Single[], Single[])
    Info.ProcessFloatArray(Double[], Double[])
    Info.ProcessObject<T>(T, T)
    Info.ProcessArray<T>(T[], T[])
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class MessageInfo : Info

    Properties

    ChannelId

    Gets or sets the channel identifier.

    Declaration
    public string ChannelId { get; set; }
    Property Value
    Type Description
    System.String

    ClientId

    Gets or sets the client identifier.

    Declaration
    public string ClientId { get; set; }
    Property Value
    Type Description
    System.String

    DeviceId

    Gets or sets the device identifier.

    Declaration
    public string DeviceId { get; set; }
    Property Value
    Type Description
    System.String

    Payload

    Gets or sets the message.

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

    UserId

    Gets or sets the user identifier.

    Declaration
    public string UserId { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected override void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    Overrides
    Info.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static MessageInfo FromJson(string messageInfoJson)
    Parameters
    Type Name Description
    System.String messageInfoJson
    Returns
    Type Description
    MessageInfo

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected override void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> jsonObject

    The JSON object.

    Overrides
    Info.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to JSON.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(MessageInfo)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(MessageInfo messageInfo)
    Parameters
    Type Name Description
    MessageInfo messageInfo
    Returns
    Type Description
    System.String
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0