Package proto.rpc.webrtc.v1
Enum Class Signaling.ICECandidateType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Signaling.ICECandidateType>,Constable
- Enclosing class:
Signaling
public static enum Signaling.ICECandidateType
extends Enum<Signaling.ICECandidateType>
implements com.google.protobuf.Internal.EnumLite
ICECandidateType represents the type of ICE candidate selected for a WebRTC connection. The signaling server further classifies RELAY by relay server specific provider from the address.Protobuf enum
proto.rpc.webrtc.v1.ICECandidateType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionICE_CANDIDATE_TYPE_HOST indicates a direct connection was established.ICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.ICE_CANDIDATE_TYPE_STUN indicates a STUN-assisted connection was established.ICE_CANDIDATE_TYPE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intICE_CANDIDATE_TYPE_HOST indicates a direct connection was established.static final intICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.static final intICE_CANDIDATE_TYPE_STUN indicates a STUN-assisted connection was established.static final intICE_CANDIDATE_TYPE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Signaling.ICECandidateTypeforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Signaling.ICECandidateType> static com.google.protobuf.Internal.EnumVerifierstatic Signaling.ICECandidateTypevalueOf(int value) Deprecated.static Signaling.ICECandidateTypeReturns the enum constant of this class with the specified name.static Signaling.ICECandidateType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ICE_CANDIDATE_TYPE_UNSPECIFIED
ICE_CANDIDATE_TYPE_UNSPECIFIED = 0; -
ICE_CANDIDATE_TYPE_HOST
ICE_CANDIDATE_TYPE_HOST indicates a direct connection was established.
ICE_CANDIDATE_TYPE_HOST = 1; -
ICE_CANDIDATE_TYPE_STUN
ICE_CANDIDATE_TYPE_STUN indicates a STUN-assisted connection was established.
ICE_CANDIDATE_TYPE_STUN = 2; -
ICE_CANDIDATE_TYPE_RELAY
ICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.
ICE_CANDIDATE_TYPE_RELAY = 3; -
UNRECOGNIZED
-
-
Field Details
-
ICE_CANDIDATE_TYPE_UNSPECIFIED_VALUE
public static final int ICE_CANDIDATE_TYPE_UNSPECIFIED_VALUEICE_CANDIDATE_TYPE_UNSPECIFIED = 0;- See Also:
-
ICE_CANDIDATE_TYPE_HOST_VALUE
public static final int ICE_CANDIDATE_TYPE_HOST_VALUEICE_CANDIDATE_TYPE_HOST indicates a direct connection was established.
ICE_CANDIDATE_TYPE_HOST = 1;- See Also:
-
ICE_CANDIDATE_TYPE_STUN_VALUE
public static final int ICE_CANDIDATE_TYPE_STUN_VALUEICE_CANDIDATE_TYPE_STUN indicates a STUN-assisted connection was established.
ICE_CANDIDATE_TYPE_STUN = 2;- See Also:
-
ICE_CANDIDATE_TYPE_RELAY_VALUE
public static final int ICE_CANDIDATE_TYPE_RELAY_VALUEICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.
ICE_CANDIDATE_TYPE_RELAY = 3;- 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
public static com.google.protobuf.Internal.EnumLiteMap<Signaling.ICECandidateType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-