-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable
public enum LivekitModels.DisconnectReason implements Internal.EnumLiteProtobuf enum
{@code livekit.DisconnectReason}
-
-
Field Summary
Fields Modifier and Type Field Description public final static intUNKNOWN_REASON_VALUEpublic final static intCLIENT_INITIATED_VALUEpublic final static intDUPLICATE_IDENTITY_VALUEpublic final static intSERVER_SHUTDOWN_VALUEpublic final static intPARTICIPANT_REMOVED_VALUEpublic final static intROOM_DELETED_VALUEpublic final static intSTATE_MISMATCH_VALUEpublic final static intJOIN_FAILURE_VALUEpublic final static intMIGRATION_VALUEpublic final static intSIGNAL_CLOSE_VALUEpublic final static intROOM_CLOSED_VALUEpublic final static intUSER_UNAVAILABLE_VALUEpublic final static intUSER_REJECTED_VALUEpublic final static intSIP_TRUNK_FAILURE_VALUEpublic final static intCONNECTION_TIMEOUT_VALUEpublic final static intMEDIA_FAILURE_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDMEDIA_FAILUREmedia stream failure or media timeoutMEDIA_FAILURE = 15;CONNECTION_TIMEOUTserver timed out a participant sessionCONNECTION_TIMEOUT = 14;SIP_TRUNK_FAILURESIP protocol failure or unexpected responseSIP_TRUNK_FAILURE = 13;USER_REJECTEDSIP callee rejected the call (busy)USER_REJECTED = 12;USER_UNAVAILABLESIP callee did not respond in timeUSER_UNAVAILABLE = 11;ROOM_CLOSEDthe room was closed, due to all Standard and Ingress participants having leftROOM_CLOSED = 10;SIGNAL_CLOSEthe signal websocket was closed unexpectedlySIGNAL_CLOSE = 9;MIGRATIONCloud-only, the server requested Participant to migrate the connection elsewhereMIGRATION = 8;JOIN_FAILUREclient was unable to connect fullyJOIN_FAILURE = 7;STATE_MISMATCHthe client is attempting to resume a session, but server is not aware of itSTATE_MISMATCH = 6;ROOM_DELETEDRoomService.DeleteRoom was calledROOM_DELETED = 5;PARTICIPANT_REMOVEDRoomService.RemoveParticipant was calledPARTICIPANT_REMOVED = 4;SERVER_SHUTDOWNthe server instance is shutting downSERVER_SHUTDOWN = 3;DUPLICATE_IDENTITYanother participant with the same identity has joined the roomDUPLICATE_IDENTITY = 2;CLIENT_INITIATEDthe client initiated the disconnectCLIENT_INITIATED = 1;UNKNOWN_REASONUNKNOWN_REASON = 0;
-
Method Summary
Modifier and Type Method Description final intgetNumber()static LivekitModels.DisconnectReasonvalueOf(int value)static LivekitModels.DisconnectReasonforNumber(int value)static Internal.EnumLiteMap<LivekitModels.DisconnectReason>internalGetValueMap()static Internal.EnumVerifierinternalGetVerifier()static Array<LivekitModels.DisconnectReason>values()static LivekitModels.DisconnectReasonvalueOf(String name)-
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static LivekitModels.DisconnectReason valueOf(int value)
- Parameters:
value- The number of the enum to look for.
-
forNumber
static LivekitModels.DisconnectReason forNumber(int value)
-
internalGetValueMap
static Internal.EnumLiteMap<LivekitModels.DisconnectReason> internalGetValueMap()
-
internalGetVerifier
static Internal.EnumVerifier internalGetVerifier()
-
values
static Array<LivekitModels.DisconnectReason> values()
-
valueOf
static LivekitModels.DisconnectReason valueOf(String name)
-
-
-
-