-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum CandidatePairStateEach candidate pair in the a list has a CandidatePairState. It is assigned once the check list for each media stream has been computed. There are five potential values that the state can have and they are all represented by this enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FROZENIndicates that the candidate pair is in a "Frozen" state which means that a check for this pair hasn't been performed, and it can't yet be performed until some other check succeeds, allowing this pair to unfreeze and move into the Waiting state.
FAILEDIndicates that the candidate pair is in a "Failed" state which means that a check for this pair was already done and failed, either never producing any response or producing an unrecoverable failure response.
SUCCEEDEDIndicates that the candidate pair is in a "Succeeded" state which means that a check for this pair was already done and produced a successful result.
IN_PROGRESSIndicates that the candidate pair is in a "In-Progress" state which means that a check has been sent for this pair, but the transaction is in progress.
WAITINGIndicates that the candidate pair is in a Waiting state which means that a check has not been performed for this pair, and can be performed as soon as it is the highest priority Waiting pair on the check list.
-
Method Summary
Modifier and Type Method Description StringtoString()Returns the name of this CandidatePairStae (e.g. static Array<CandidatePairState>values()static CandidatePairStatevalueOf(String name)-
-
Method Detail
-
toString
String toString()
Returns the name of this CandidatePairStae (e.g. "In-Progress", "Waiting", "Succeeded", or "Failed").
-
values
static Array<CandidatePairState> values()
-
valueOf
static CandidatePairState valueOf(String name)
-
-
-
-