java.lang.Object

com.opentok.android.Session.Builder.IceServer

Enclosing class: : Session.Builder


public static class Session.Builder.IceServer extends Object

Defines a custom TURN server used in the Session.Builder.setCustomIceServers(List, IncludeServers) method.

Field Summary

Fields

Modifier and Type

Field

Description

String

credential

The credential string for the TURN server.

String

url

The URL for your custom TURN server.

String

user

The username for the TURN server.

Constructor Summary

Constructors

Constructor

Description

IceServer(String url, String user, String credential)

The constructor.

Method Summary

All MethodsInstance MethodsConcrete Methods

Modifier and Type

Method

Description

boolean

equals(Object object)

String

toString()

Methods inherited from class java.lang.Object

clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Details

url

public String url

The URL for your custom TURN server.

user

public String user

The username for the TURN server.

credential

public String credential

The credential string for the TURN server.

Constructor Details

IceServer

public IceServer(String url, String user, String credential)

The constructor.

Method Details

equals

public boolean equals(Object object)

Overrides: : equals in class Object

toString

public String toString()

Overrides: : toString in class Object