Package tvi.webrtc
Class IceCandidate
- java.lang.Object
-
- tvi.webrtc.IceCandidate
-
public class IceCandidate extends java.lang.Object
Representation of a single ICE Candidate, mirroringIceCandidateInterface
in the C++ API.
-
-
Field Summary
Fields Modifier and Type Field Description PeerConnection.AdapterType
adapterType
java.lang.String
sdp
java.lang.String
sdpMid
int
sdpMLineIndex
java.lang.String
serverUrl
-
Constructor Summary
Constructors Constructor Description IceCandidate(java.lang.String sdpMid, int sdpMLineIndex, java.lang.String sdp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
equals() checks sdpMid, sdpMLineIndex, and sdp for equality.int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
sdpMid
public final java.lang.String sdpMid
-
sdpMLineIndex
public final int sdpMLineIndex
-
sdp
public final java.lang.String sdp
-
serverUrl
public final java.lang.String serverUrl
-
adapterType
public final PeerConnection.AdapterType adapterType
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object object)
equals() checks sdpMid, sdpMLineIndex, and sdp for equality.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-