Class MediaReceiverInfo
Media receiver information.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MediaReceiverInfo : MediaComponentInfo
Constructors
MediaReceiverInfo()
Initializes a new instance of the MediaReceiverInfo class.
Declaration
public MediaReceiverInfo()
Properties
Report
Gets or sets report.
Declaration
public MediaReceiverReport Report { get; set; }
Property Value
Type | Description |
---|---|
MediaReceiverReport |
Sink
Gets or sets sink.
Declaration
public MediaSinkInfo Sink { get; set; }
Property Value
Type | Description |
---|---|
MediaSinkInfo |
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 an instance from JSON.
Declaration
public static MediaReceiverInfo FromJson(string mediaReceiverJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaReceiverJson | The serialized JSON. |
Returns
Type | Description |
---|---|
MediaReceiverInfo | The deserialized instance. |
FromJsonArray(String)
Deserializes an array from JSON.
Declaration
public static MediaReceiverInfo[] FromJsonArray(string mediaReceiversJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaReceiversJson | The serialized JSON. |
Returns
Type | Description |
---|---|
MediaReceiverInfo[] | The deserialized 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(MediaReceiverInfo)
Serializes an instance to JSON.
Declaration
public static string ToJson(MediaReceiverInfo mediaReceiver)
Parameters
Type | Name | Description |
---|---|---|
MediaReceiverInfo | mediaReceiver | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | The serialized JSON. |
ToJsonArray(MediaReceiverInfo[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(MediaReceiverInfo[] mediaReceivers)
Parameters
Type | Name | Description |
---|---|---|
MediaReceiverInfo[] | mediaReceivers | The array to serialize. |
Returns
Type | Description |
---|---|
System.String | The serialized JSON. |