Partilhar via


IceServer Class

  • java.lang.Object
    • com.azure.android.communication.calling.IceServer

public class IceServer

Describes an ICE Server

Constructor Summary

Constructor Description
IceServer()

Creates a new instance with a default configuration.

Method Summary

Modifier and Type Method and Description
void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

String getPassword()

Password for the ICE servers if credential infomation is needed for the server

String getRealm()

Realm for the ICE servers

int getTcpPort()

TCP port for the ICE servers

int getUdpPort()

UDP port for the ICE servers

List<String> getUrls()

Get urls for the ICE servers

String getUsername()

Username for the ICE servers if credential infomation is needed for the server

IceServer setPassword(String value)

Password for the ICE servers if credential infomation is needed for the server

IceServer setRealm(String value)

Realm for the ICE servers

IceServer setTcpPort(int value)

TCP port for the ICE servers

IceServer setUdpPort(int value)

UDP port for the ICE servers

IceServer setUrls(List<String> value)

Set urls for the ICE servers

IceServer setUsername(String value)

Username for the ICE servers if credential infomation is needed for the server

Constructor Details

IceServer

public IceServer()

Creates a new instance with a default configuration.

Method Details

finalize

protected void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getPassword

public String getPassword()

Password for the ICE servers if credential infomation is needed for the server

getRealm

public String getRealm()

Realm for the ICE servers

getTcpPort

public int getTcpPort()

TCP port for the ICE servers

getUdpPort

public int getUdpPort()

UDP port for the ICE servers

getUrls

public List getUrls()

Get urls for the ICE servers

getUsername

public String getUsername()

Username for the ICE servers if credential infomation is needed for the server

setPassword

public IceServer setPassword(String value)

Password for the ICE servers if credential infomation is needed for the server

Parameters:

value - The new value.

setRealm

public IceServer setRealm(String value)

Realm for the ICE servers

Parameters:

value - The new value.

setTcpPort

public IceServer setTcpPort(int value)

TCP port for the ICE servers

Parameters:

value - The new value.

setUdpPort

public IceServer setUdpPort(int value)

UDP port for the ICE servers

Parameters:

value - The new value.

setUrls

public IceServer setUrls(List value)

Set urls for the ICE servers

Parameters:

value

setUsername

public IceServer setUsername(String value)

Username for the ICE servers if credential infomation is needed for the server

Parameters:

value - The new value.

Applies to