Enum Class Signaling.ICECandidateType

java.lang.Object
java.lang.Enum<Signaling.ICECandidateType>
proto.rpc.webrtc.v1.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
  • Enum Constant Details

    • ICE_CANDIDATE_TYPE_UNSPECIFIED

      public static final Signaling.ICECandidateType ICE_CANDIDATE_TYPE_UNSPECIFIED
      ICE_CANDIDATE_TYPE_UNSPECIFIED = 0;
    • ICE_CANDIDATE_TYPE_HOST

      public static final Signaling.ICECandidateType ICE_CANDIDATE_TYPE_HOST
       ICE_CANDIDATE_TYPE_HOST indicates a direct connection was established.
       
      ICE_CANDIDATE_TYPE_HOST = 1;
    • ICE_CANDIDATE_TYPE_STUN

      public static final Signaling.ICECandidateType ICE_CANDIDATE_TYPE_STUN
       ICE_CANDIDATE_TYPE_STUN indicates a STUN-assisted connection was established.
       
      ICE_CANDIDATE_TYPE_STUN = 2;
    • ICE_CANDIDATE_TYPE_RELAY

      public static final Signaling.ICECandidateType ICE_CANDIDATE_TYPE_RELAY
       ICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.
       
      ICE_CANDIDATE_TYPE_RELAY = 3;
    • UNRECOGNIZED

      public static final Signaling.ICECandidateType UNRECOGNIZED
  • Field Details

    • ICE_CANDIDATE_TYPE_UNSPECIFIED_VALUE

      public static final int ICE_CANDIDATE_TYPE_UNSPECIFIED_VALUE
      ICE_CANDIDATE_TYPE_UNSPECIFIED = 0;
      See Also:
    • ICE_CANDIDATE_TYPE_HOST_VALUE

      public static final int ICE_CANDIDATE_TYPE_HOST_VALUE
       ICE_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_VALUE
       ICE_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_VALUE
       ICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.
       
      ICE_CANDIDATE_TYPE_RELAY = 3;
      See Also:
  • Method Details

    • values

      public static Signaling.ICECandidateType[] 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

      public static Signaling.ICECandidateType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static Signaling.ICECandidateType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Signaling.ICECandidateType forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Signaling.ICECandidateType> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()