Class ChannelInfo
Channel information.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelInfo : Info
Properties
ApplicationId
Gets or sets the application identifier.
Declaration
public string ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Recording
Gets or sets whether the channel is recording.
Declaration
public bool Recording { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Report
Gets or sets the channel report.
Declaration
public ChannelReport Report { get; set; }
Property Value
Type | Description |
---|---|
ChannelReport |
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 ChannelInfo.
Declaration
public static ChannelInfo FromJson(string channelInfoJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelInfoJson | The serialized Json. |
Returns
Type | Description |
---|---|
ChannelInfo | The deserialized ChannelInfo. |
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
ToJson()
Serializes this instance to Json.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
ToJson(ChannelInfo)
Serializes an instance to Json.
Declaration
public static string ToJson(ChannelInfo channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelInfo | channel | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | Serialized Json. |