Class MediaSenderInfo
Media sender information.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MediaSenderInfo : MediaComponentInfo
Constructors
MediaSenderInfo()
Initializes a new instance of the MediaSenderInfo class.
Declaration
public MediaSenderInfo()
Properties
Report
Gets or sets report.
Declaration
public MediaSenderReport Report { get; set; }
Property Value
Type | Description |
---|---|
MediaSenderReport |
Source
Gets or sets source.
Declaration
public MediaSourceInfo Source { get; set; }
Property Value
Type | Description |
---|---|
MediaSourceInfo |
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 MediaSenderInfo FromJson(string mediaSenderJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaSenderJson | The serialized JSON. |
Returns
Type | Description |
---|---|
MediaSenderInfo | The deserialized instance. |
FromJsonArray(String)
Deserializes an array from JSON.
Declaration
public static MediaSenderInfo[] FromJsonArray(string mediaSendersJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaSendersJson | The serialized JSON. |
Returns
Type | Description |
---|---|
MediaSenderInfo[] | The deserialized array. |
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(MediaSenderInfo)
Serializes an instance to JSON.
Declaration
public static string ToJson(MediaSenderInfo mediaSender)
Parameters
Type | Name | Description |
---|---|---|
MediaSenderInfo | mediaSender | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | The serialized JSON. |
ToJsonArray(MediaSenderInfo[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(MediaSenderInfo[] mediaSenders)
Parameters
Type | Name | Description |
---|---|---|
MediaSenderInfo[] | mediaSenders | The array to serialize. |
Returns
Type | Description |
---|---|
System.String | The serialized JSON. |