Class DataStreamInfo
Data stream information.
Inherited Members
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 |
---|---|
Data |
Report
Gets or sets the data stream report.
Declaration
public DataStreamReport Report { get; set; }
Property Value
Type | Description |
---|---|
Data |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key. |
System. |
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. |
dataStreamInfoJson | The serialized Json. |
Returns
Type | Description |
---|---|
Data |
The deserialized DataStreamInfo. |
FromJsonArray(String)
Deserializes JSON to a DataStreamInfo array.
Declaration
public static DataStreamInfo[] FromJsonArray(string dataStreamInfosJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
dataStreamInfosJson | The serialized JSON. |
Returns
Type | Description |
---|---|
Data |
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. |
jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to Json.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System. |
ToJson(DataStreamInfo)
Serializes an instance to Json.
Declaration
public static string ToJson(DataStreamInfo dataStreamInfo)
Parameters
Type | Name | Description |
---|---|---|
Data |
dataStreamInfo | The instance to serialize. |
Returns
Type | Description |
---|---|
System. |
Serialized Json. |
ToJsonArray(DataStreamInfo[])
Serializes an instance array to JSON.
Declaration
public static string ToJsonArray(DataStreamInfo[] dataStreamInfos)
Parameters
Type | Name | Description |
---|---|---|
Data |
dataStreamInfos | The instance array to serialize. |
Returns
Type | Description |
---|---|
System. |
Serialized Json. |