Data channel information. More...
Public Member Functions | |
| DataChannelInfo () | |
| String | getLabel () |
| Gets the data channel label. More... | |
| boolean | getOrdered () |
| Gets whether the data channel is ordered. More... | |
| fm.liveswitch.DataChannelReport | getReport () |
| Gets the data channel report. More... | |
| String | getState () |
| Gets the data channel state. More... | |
| String | getSubprotocol () |
| Gets the data channel subprotocol. More... | |
| void | setLabel (String value) |
| Sets the data channel label. More... | |
| void | setOrdered (boolean value) |
| Sets whether the data channel is ordered. More... | |
| void | setReport (fm.liveswitch.DataChannelReport value) |
| Sets the data channel report. More... | |
| void | setState (String value) |
| Sets the data channel state. More... | |
| void | setSubprotocol (String value) |
| Sets the data channel subprotocol. More... | |
| String | toJson () |
| Serializes this instance to Json. 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.DataChannelInfo | fromJson (String dataChannelInfoJson) |
| Deserializes Json to a DataChannelInfo. More... | |
| static fm.liveswitch.DataChannelInfo[] | fromJsonArray (String dataChannelInfosJson) |
| Deserializes JSON to an array. More... | |
| static String | toJson (fm.liveswitch.DataChannelInfo dataChannelInfo) |
| Serializes an instance to Json. More... | |
| static String | toJsonArray (fm.liveswitch.DataChannelInfo[] dataChannelInfos) |
| Serializes an 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.Info | |
| Info () | |
Data channel information.
| fm.liveswitch.DataChannelInfo.DataChannelInfo | ( | ) |
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.Info.
|
static |
Deserializes Json to a DataChannelInfo.
| dataChannelInfoJson | The serialized Json. |
|
static |
Deserializes JSON to an array.
| dataChannelInfosJson | The serialized JSON. |
| String fm.liveswitch.DataChannelInfo.getLabel | ( | ) |
Gets the data channel label.
| boolean fm.liveswitch.DataChannelInfo.getOrdered | ( | ) |
Gets whether the data channel is ordered.
| fm.liveswitch.DataChannelReport fm.liveswitch.DataChannelInfo.getReport | ( | ) |
Gets the data channel report.
| String fm.liveswitch.DataChannelInfo.getState | ( | ) |
Gets the data channel state.
| String fm.liveswitch.DataChannelInfo.getSubprotocol | ( | ) |
Gets the data channel subprotocol.
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.Info.
| void fm.liveswitch.DataChannelInfo.setLabel | ( | String | value | ) |
Sets the data channel label.
| void fm.liveswitch.DataChannelInfo.setOrdered | ( | boolean | value | ) |
Sets whether the data channel is ordered.
| void fm.liveswitch.DataChannelInfo.setReport | ( | fm.liveswitch.DataChannelReport | value | ) |
Sets the data channel report.
| void fm.liveswitch.DataChannelInfo.setState | ( | String | value | ) |
Sets the data channel state.
| void fm.liveswitch.DataChannelInfo.setSubprotocol | ( | String | value | ) |
Sets the data channel subprotocol.
| String fm.liveswitch.DataChannelInfo.toJson | ( | ) |
Serializes this instance to Json.
|
static |
|
static |
Serializes an array to JSON.
| dataChannelInfos | The array to serialize. |