Class ChannelInfo
Channel 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 ChannelInfo : Info
Properties
ApplicationId
Gets or sets the application identifier.
Declaration
public string ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
System. |
Recording
Gets or sets whether the channel is recording.
Declaration
public bool Recording { get; set; }
Property Value
Type | Description |
---|---|
System. |
Report
Gets or sets the channel report.
Declaration
public ChannelReport Report { get; set; }
Property Value
Type | Description |
---|---|
Channel |
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 ChannelInfo.
Declaration
public static ChannelInfo FromJson(string channelInfoJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
channelInfoJson | The serialized Json. |
Returns
Type | Description |
---|---|
Channel |
The deserialized ChannelInfo. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System. |
jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to Json.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System. |
ToJson(ChannelInfo)
Serializes an instance to Json.
Declaration
public static string ToJson(ChannelInfo channel)
Parameters
Type | Name | Description |
---|---|---|
Channel |
channel | The instance to serialize. |
Returns
Type | Description |
---|---|
System. |
Serialized Json. |