Package proto.rpc.webrtc.v1
Enum Class Signaling.DialStage
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Signaling.DialStage>,Constable
- Enclosing class:
Signaling
public static enum Signaling.DialStage
extends Enum<Signaling.DialStage>
implements com.google.protobuf.Internal.EnumLite
DialStage is the furthest checkpoint a WebRTC dial reached. READY means the dial succeeded; any earlier value is the stage at which a failed dial stopped.Protobuf enum
proto.rpc.webrtc.v1.DialStage-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDIAL_STAGE_ANSWER_RECEIVED: the answerer's SDP answer was received and applied.DIAL_STAGE_CONFIG_FETCHED: ICE/TURN configuration was fetched from the signaling server.DIAL_STAGE_DTLS_CONNECTED: the DTLS handshake completed (peer connection connected) but the data channel is not yet open.DIAL_STAGE_ICE_CONNECTED: ICE connectivity was established (a candidate pair connected).DIAL_STAGE_OFFER_SENT: the SDP offer was sent to the signaling server (the Call was accepted).DIAL_STAGE_READY: the connection is fully ready (data channel open).DIAL_STAGE_SIGNALING_CONNECTED: the signaling channel was established.DIAL_STAGE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDIAL_STAGE_ANSWER_RECEIVED: the answerer's SDP answer was received and applied.static final intDIAL_STAGE_CONFIG_FETCHED: ICE/TURN configuration was fetched from the signaling server.static final intDIAL_STAGE_DTLS_CONNECTED: the DTLS handshake completed (peer connection connected) but the data channel is not yet open.static final intDIAL_STAGE_ICE_CONNECTED: ICE connectivity was established (a candidate pair connected).static final intDIAL_STAGE_OFFER_SENT: the SDP offer was sent to the signaling server (the Call was accepted).static final intDIAL_STAGE_READY: the connection is fully ready (data channel open).static final intDIAL_STAGE_SIGNALING_CONNECTED: the signaling channel was established.static final intDIAL_STAGE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Signaling.DialStageforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Signaling.DialStage> static com.google.protobuf.Internal.EnumVerifierstatic Signaling.DialStagevalueOf(int value) Deprecated.static Signaling.DialStageReturns the enum constant of this class with the specified name.static Signaling.DialStage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIAL_STAGE_UNSPECIFIED
DIAL_STAGE_UNSPECIFIED = 0; -
DIAL_STAGE_SIGNALING_CONNECTED
DIAL_STAGE_SIGNALING_CONNECTED: the signaling channel was established.
DIAL_STAGE_SIGNALING_CONNECTED = 1; -
DIAL_STAGE_CONFIG_FETCHED
DIAL_STAGE_CONFIG_FETCHED: ICE/TURN configuration was fetched from the signaling server.
DIAL_STAGE_CONFIG_FETCHED = 2; -
DIAL_STAGE_OFFER_SENT
DIAL_STAGE_OFFER_SENT: the SDP offer was sent to the signaling server (the Call was accepted).
DIAL_STAGE_OFFER_SENT = 3; -
DIAL_STAGE_ANSWER_RECEIVED
DIAL_STAGE_ANSWER_RECEIVED: the answerer's SDP answer was received and applied.
DIAL_STAGE_ANSWER_RECEIVED = 4; -
DIAL_STAGE_ICE_CONNECTED
DIAL_STAGE_ICE_CONNECTED: ICE connectivity was established (a candidate pair connected).
DIAL_STAGE_ICE_CONNECTED = 5; -
DIAL_STAGE_DTLS_CONNECTED
DIAL_STAGE_DTLS_CONNECTED: the DTLS handshake completed (peer connection connected) but the data channel is not yet open.
DIAL_STAGE_DTLS_CONNECTED = 6; -
DIAL_STAGE_READY
DIAL_STAGE_READY: the connection is fully ready (data channel open). This is success.
DIAL_STAGE_READY = 7; -
UNRECOGNIZED
-
-
Field Details
-
DIAL_STAGE_UNSPECIFIED_VALUE
public static final int DIAL_STAGE_UNSPECIFIED_VALUEDIAL_STAGE_UNSPECIFIED = 0;- See Also:
-
DIAL_STAGE_SIGNALING_CONNECTED_VALUE
public static final int DIAL_STAGE_SIGNALING_CONNECTED_VALUEDIAL_STAGE_SIGNALING_CONNECTED: the signaling channel was established.
DIAL_STAGE_SIGNALING_CONNECTED = 1;- See Also:
-
DIAL_STAGE_CONFIG_FETCHED_VALUE
public static final int DIAL_STAGE_CONFIG_FETCHED_VALUEDIAL_STAGE_CONFIG_FETCHED: ICE/TURN configuration was fetched from the signaling server.
DIAL_STAGE_CONFIG_FETCHED = 2;- See Also:
-
DIAL_STAGE_OFFER_SENT_VALUE
public static final int DIAL_STAGE_OFFER_SENT_VALUEDIAL_STAGE_OFFER_SENT: the SDP offer was sent to the signaling server (the Call was accepted).
DIAL_STAGE_OFFER_SENT = 3;- See Also:
-
DIAL_STAGE_ANSWER_RECEIVED_VALUE
public static final int DIAL_STAGE_ANSWER_RECEIVED_VALUEDIAL_STAGE_ANSWER_RECEIVED: the answerer's SDP answer was received and applied.
DIAL_STAGE_ANSWER_RECEIVED = 4;- See Also:
-
DIAL_STAGE_ICE_CONNECTED_VALUE
public static final int DIAL_STAGE_ICE_CONNECTED_VALUEDIAL_STAGE_ICE_CONNECTED: ICE connectivity was established (a candidate pair connected).
DIAL_STAGE_ICE_CONNECTED = 5;- See Also:
-
DIAL_STAGE_DTLS_CONNECTED_VALUE
public static final int DIAL_STAGE_DTLS_CONNECTED_VALUEDIAL_STAGE_DTLS_CONNECTED: the DTLS handshake completed (peer connection connected) but the data channel is not yet open.
DIAL_STAGE_DTLS_CONNECTED = 6;- See Also:
-
DIAL_STAGE_READY_VALUE
public static final int DIAL_STAGE_READY_VALUEDIAL_STAGE_READY: the connection is fully ready (data channel open). This is success.
DIAL_STAGE_READY = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-