Candidate pair information. More...
Public Member Functions | |
CandidatePairInfo () | |
Initializes a new instance of the fm.liveswitch.CandidatePairInfo class. More... | |
String | getLocalCandidateId () |
Gets the candidate pair's local candidate identifier. More... | |
fm.liveswitch.NullableBoolean | getNominated () |
Gets whether the candidate pair is nominated. More... | |
fm.liveswitch.NullableLong | getPriority () |
Gets the candidate pair priority. More... | |
String | getRemoteCandidateId () |
Gets the candidate pair's remote candidate identifier. More... | |
fm.liveswitch.CandidatePairReport | getReport () |
Gets whether the candidate pair report. More... | |
String | getState () |
Gets the candidate pair state. More... | |
void | setLocalCandidateId (String value) |
Sets the candidate pair's local candidate identifier. More... | |
void | setNominated (fm.liveswitch.NullableBoolean value) |
Sets whether the candidate pair is nominated. More... | |
void | setPriority (fm.liveswitch.NullableLong value) |
Sets the candidate pair priority. More... | |
void | setRemoteCandidateId (String value) |
Sets the candidate pair's remote candidate identifier. More... | |
void | setReport (fm.liveswitch.CandidatePairReport value) |
Sets whether the candidate pair report. More... | |
void | setState (String value) |
Sets the candidate pair state. 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.CandidatePairInfo | fromJson (String instanceJson) |
Deserializes an instance from JSON. More... | |
static fm.liveswitch.CandidatePairInfo[] | fromJsonArray (String arrayJson) |
Derializes an array from JSON. More... | |
static String | toJson (fm.liveswitch.CandidatePairInfo instance) |
Serializes an instance to JSON. More... | |
static String | toJsonArray (fm.liveswitch.CandidatePairInfo[] array) |
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 () | |
Candidate pair information.
fm.liveswitch.CandidatePairInfo.CandidatePairInfo | ( | ) |
Initializes a new instance of the fm.liveswitch.CandidatePairInfo class.
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.Info.
|
static |
Deserializes an instance from JSON.
instanceJson | The instance JSON. |
|
static |
Derializes an array from JSON.
arrayJson | The array JSON. |
String fm.liveswitch.CandidatePairInfo.getLocalCandidateId | ( | ) |
Gets the candidate pair's local candidate identifier.
fm.liveswitch.NullableBoolean fm.liveswitch.CandidatePairInfo.getNominated | ( | ) |
Gets whether the candidate pair is nominated.
fm.liveswitch.NullableLong fm.liveswitch.CandidatePairInfo.getPriority | ( | ) |
Gets the candidate pair priority.
String fm.liveswitch.CandidatePairInfo.getRemoteCandidateId | ( | ) |
Gets the candidate pair's remote candidate identifier.
fm.liveswitch.CandidatePairReport fm.liveswitch.CandidatePairInfo.getReport | ( | ) |
Gets whether the candidate pair report.
String fm.liveswitch.CandidatePairInfo.getState | ( | ) |
Gets the candidate pair state.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.Info.
void fm.liveswitch.CandidatePairInfo.setLocalCandidateId | ( | String | value | ) |
Sets the candidate pair's local candidate identifier.
void fm.liveswitch.CandidatePairInfo.setNominated | ( | fm.liveswitch.NullableBoolean | value | ) |
Sets whether the candidate pair is nominated.
void fm.liveswitch.CandidatePairInfo.setPriority | ( | fm.liveswitch.NullableLong | value | ) |
Sets the candidate pair priority.
void fm.liveswitch.CandidatePairInfo.setRemoteCandidateId | ( | String | value | ) |
Sets the candidate pair's remote candidate identifier.
void fm.liveswitch.CandidatePairInfo.setReport | ( | fm.liveswitch.CandidatePairReport | value | ) |
Sets whether the candidate pair report.
void fm.liveswitch.CandidatePairInfo.setState | ( | String | value | ) |
Sets the candidate pair state.
String fm.liveswitch.CandidatePairInfo.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
instance | The instance. |
|
static |
Serializes an array to JSON.
array | The array. |