Search Results for

    Show / Hide Table of Contents

    Class DataStreamInfo

    Data stream information.

    Inheritance
    System.Object
    Info
    StreamInfo
    DataStreamInfo
    Inherited Members
    StreamInfo.Tag
    StreamInfo.TransportId
    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 DataStreamInfo : StreamInfo

    Properties

    Channels

    Gets or sets the data stream channels.

    Declaration
    public DataChannelInfo[] Channels { get; set; }
    Property Value
    Type Description
    DataChannelInfo[]

    Report

    Gets or sets the data stream report.

    Declaration
    public DataStreamReport Report { get; set; }
    Property Value
    Type Description
    DataStreamReport

    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
    StreamInfo.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes Json to a DataStreamInfo.

    Declaration
    public static DataStreamInfo FromJson(string dataStreamInfoJson)
    Parameters
    Type Name Description
    System.String dataStreamInfoJson

    The serialized Json.

    Returns
    Type Description
    DataStreamInfo

    The deserialized DataStreamInfo.

    FromJsonArray(String)

    Deserializes JSON to a DataStreamInfo array.

    Declaration
    public static DataStreamInfo[] FromJsonArray(string dataStreamInfosJson)
    Parameters
    Type Name Description
    System.String dataStreamInfosJson

    The serialized JSON.

    Returns
    Type Description
    DataStreamInfo[]

    The deserialized DataStreamInfo array.

    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
    StreamInfo.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to Json.

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

    ToJson(DataStreamInfo)

    Serializes an instance to Json.

    Declaration
    public static string ToJson(DataStreamInfo dataStreamInfo)
    Parameters
    Type Name Description
    DataStreamInfo dataStreamInfo

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    ToJsonArray(DataStreamInfo[])

    Serializes an instance array to JSON.

    Declaration
    public static string ToJsonArray(DataStreamInfo[] dataStreamInfos)
    Parameters
    Type Name Description
    DataStreamInfo[] dataStreamInfos

    The instance array to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0