Class CommunicationIceServer
- java.lang.Object
-
- com.azure.communication.networktraversal.models.CommunicationIceServer
-
public final class CommunicationIceServer extends Object
An instance of a STUN/TURN server with credentials to be used for ICE negotiation.
-
-
Constructor Summary
Constructors Constructor Description CommunicationIceServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCredential()
Get the credential property: Credential for the server.RouteType
getRouteType()
Get the routeType property: The routing methodology to where the ICE server will be located from the client.List<String>
getUrls()
Get the urls property: List of STUN/TURN server URLs.String
getUsername()
Get the username property: User account name which uniquely identifies the credentials.CommunicationIceServer
setCredential(String credential)
Set the credential property: Credential for the server.CommunicationIceServer
setRouteType(RouteType routeType)
Set the routeType property: The routing methodology to where the ICE server will be located from the client.CommunicationIceServer
setUrls(List<String> urls)
Set the urls property: List of STUN/TURN server URLs.CommunicationIceServer
setUsername(String username)
Set the username property: User account name which uniquely identifies the credentials.
-
-
-
Method Detail
-
getUrls
public List<String> getUrls()
Get the urls property: List of STUN/TURN server URLs.- Returns:
- the urls value.
-
setUrls
public CommunicationIceServer setUrls(List<String> urls)
Set the urls property: List of STUN/TURN server URLs.- Parameters:
urls
- the urls value to set.- Returns:
- the CommunicationIceServer object itself.
-
getUsername
public String getUsername()
Get the username property: User account name which uniquely identifies the credentials.- Returns:
- the username value.
-
setUsername
public CommunicationIceServer setUsername(String username)
Set the username property: User account name which uniquely identifies the credentials.- Parameters:
username
- the username value to set.- Returns:
- the CommunicationIceServer object itself.
-
getCredential
public String getCredential()
Get the credential property: Credential for the server.- Returns:
- the credential value.
-
setCredential
public CommunicationIceServer setCredential(String credential)
Set the credential property: Credential for the server.- Parameters:
credential
- the credential value to set.- Returns:
- the CommunicationIceServer object itself.
-
getRouteType
public RouteType getRouteType()
Get the routeType property: The routing methodology to where the ICE server will be located from the client.- Returns:
- the routeType value.
-
setRouteType
public CommunicationIceServer setRouteType(RouteType routeType)
Set the routeType property: The routing methodology to where the ICE server will be located from the client.- Parameters:
routeType
- the routeType value to set.- Returns:
- the CommunicationIceServer object itself.
-
-