Record Class WebRtcOptions.IceServer
java.lang.Object
java.lang.Record
ai.badmonkey.agentspaces.transport.webrtc.WebRtcOptions.IceServer
- Record Components:
urls- the server URLs (stun:,turn:,turns:)username- the TURN username, or nullcredential- the TURN credential, or null
- Enclosing class:
WebRtcOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecredentialrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static WebRtcOptions.IceServerA server without credentials.final StringtoString()Returns a string representation of this record class.urls()Returns the value of theurlsrecord component.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
IceServer
-
-
Method Details
-
of
A server without credentials. -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
urls
-
username
-
credential
Returns the value of thecredentialrecord component.- Returns:
- the value of the
credentialrecord component
-