Package org.webrtc

Class IceCandidate

java.lang.Object
org.webrtc.IceCandidate

public class IceCandidate extends Object
Representation of a single ICE Candidate, mirroring IceCandidateInterface in the C++ API.
  • Field Details

    • sdpMid

      public final String sdpMid
    • sdpMLineIndex

      public final int sdpMLineIndex
    • sdp

      public final String sdp
    • serverUrl

      public final String serverUrl
    • adapterType

      public final PeerConnection.AdapterType adapterType
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSdpMid

      String getSdpMid()
    • getSdp

      String getSdp()
    • equals

      public boolean equals(@Nullable Object object)
      equals() checks sdpMid, sdpMLineIndex, and sdp for equality.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • objectEquals

      private static boolean objectEquals(Object o1, Object o2)