-
- All Implemented Interfaces:
-
io.elevenlabs.models.Status,java.io.Serializable,kotlin.Comparable
public enum ConnectionState extends Enum<ConnectionState> implements Status
Represents the current state of a network connection
This represents the low-level network connection state used internally by connection implementations like WebRTCConnection.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORConnection encountered an error
DISCONNECTEDDisconnected (either intentionally or due to error)
RECONNECTINGAttempting to reconnect after connection loss
CONNECTEDSuccessfully connected and active
CONNECTINGIn the process of connecting
IDLENo connection established
-
Method Summary
Modifier and Type Method Description BooleangetIsActive()BooleangetIsTransitioning()BooleangetHasError()final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getIsActive
Boolean getIsActive()
-
getIsTransitioning
Boolean getIsTransitioning()
-
getHasError
Boolean getHasError()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-