Data stream information. More...
Public Member Functions | |
DataStreamInfo () | |
fm.liveswitch.DataChannelInfo[] | getChannels () |
Gets the data stream channels. More... | |
fm.liveswitch.DataStreamReport | getReport () |
Gets the data stream report. More... | |
void | setChannels (fm.liveswitch.DataChannelInfo[] value) |
Sets the data stream channels. More... | |
void | setReport (fm.liveswitch.DataStreamReport value) |
Sets the data stream report. More... | |
String | toJson () |
Serializes this instance to Json. More... | |
Public Member Functions inherited from fm.liveswitch.StreamInfo | |
String | getTag () |
Gets the tag. More... | |
String | getTransportId () |
Gets the transport id. More... | |
void | setTag (String value) |
Sets the tag. More... | |
void | setTransportId (String value) |
Sets the transport id. More... | |
Public Member Functions inherited from fm.liveswitch.Info | |
String | getId () |
Gets the identifier. More... | |
void | setId (String value) |
Sets the identifier. More... | |
Static Public Member Functions | |
static fm.liveswitch.DataStreamInfo | fromJson (String dataStreamInfoJson) |
Deserializes Json to a DataStreamInfo. More... | |
static fm.liveswitch.DataStreamInfo[] | fromJsonArray (String dataStreamInfosJson) |
Deserializes JSON to a DataStreamInfo array. More... | |
static String | toJson (fm.liveswitch.DataStreamInfo dataStreamInfo) |
Serializes an instance to Json. More... | |
static String | toJsonArray (fm.liveswitch.DataStreamInfo[] dataStreamInfos) |
Serializes an instance array to JSON. More... | |
Static Public Member Functions inherited from fm.liveswitch.Info | |
static< T extends fm.liveswitch.IEquivalent< T > T[] | processArray (T[] newValues, T[] oldValues) |
Processes an array for an info. More... | |
static fm.liveswitch.NullableBoolean | processBoolean (boolean newValue, boolean oldValue) |
Processes a boolean for an info. More... | |
static boolean[] | processBooleanArray (boolean[] newValues, boolean[] oldValues) |
Processes a boolean array for an info. More... | |
static fm.liveswitch.NullableDouble | processDouble (double newValue, double oldValue) |
Processes a double for an info. More... | |
static fm.liveswitch.NullableFloat | processFloat (float newValue, float oldValue) |
Processes a float for an info. More... | |
static float[] | processFloatArray (float[] newValues, float[] oldValues) |
Processes a float array for an info. More... | |
static double[] | processFloatArray (double[] newValues, double[] oldValues) |
Processes a double array for an info. More... | |
static fm.liveswitch.NullableInteger | processInteger (int newValue, int oldValue) |
Processes an integer for an info. More... | |
static int[] | processIntegerArray (int[] newValues, int[] oldValues) |
Processes a integer array for an info. More... | |
static fm.liveswitch.NullableLong | processLong (long newValue, long oldValue) |
Processes a long for an info. More... | |
static long[] | processLongArray (long[] newValues, long[] oldValues) |
Processes a long array for an info. More... | |
static< T extends Object &fm.liveswitch.IEquivalent< T > T | processObject (T newValue, T oldValue) |
Processes an object for an info. More... | |
static fm.liveswitch.NullableShort | processShort (short newValue, short oldValue) |
Processes a short for an info. More... | |
static short[] | processShortArray (short[] newValues, short[] oldValues) |
Processes a short array for an info. More... | |
static String | processString (String newValue, String oldValue) |
Processes a string for an info. More... | |
Protected Member Functions | |
void | deserializeProperties (String key, String valueJson) |
Deserializes the properties. More... | |
void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
Serializes the properties. More... | |
Protected Member Functions inherited from fm.liveswitch.StreamInfo | |
StreamInfo () | |
Protected Member Functions inherited from fm.liveswitch.Info | |
Info () | |
Data stream information.
fm.liveswitch.DataStreamInfo.DataStreamInfo | ( | ) |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.StreamInfo.
|
static |
Deserializes Json to a DataStreamInfo.
dataStreamInfoJson | The serialized Json. |
|
static |
Deserializes JSON to a DataStreamInfo array.
dataStreamInfosJson | The serialized JSON. |
fm.liveswitch.DataChannelInfo [] fm.liveswitch.DataStreamInfo.getChannels | ( | ) |
Gets the data stream channels.
fm.liveswitch.DataStreamReport fm.liveswitch.DataStreamInfo.getReport | ( | ) |
Gets the data stream report.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.StreamInfo.
void fm.liveswitch.DataStreamInfo.setChannels | ( | fm.liveswitch.DataChannelInfo[] | value | ) |
Sets the data stream channels.
void fm.liveswitch.DataStreamInfo.setReport | ( | fm.liveswitch.DataStreamReport | value | ) |
Sets the data stream report.
String fm.liveswitch.DataStreamInfo.toJson | ( | ) |
Serializes this instance to Json.
|
static |
|
static |
Serializes an instance array to JSON.
dataStreamInfos | The instance array to serialize. |