Class DataStreamInfo
Data stream information.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
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 |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |
Overrides
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. |