Package org.drinkless.tdlib
Class TdApi.CallServerTypeWebrtc
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.CallServerType
-
- org.drinkless.tdlib.TdApi.CallServerTypeWebrtc
-
- Enclosing class:
- TdApi
public static class TdApi.CallServerTypeWebrtc extends TdApi.CallServerType
A WebRTC server.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringpasswordAuthentication password.booleansupportsStunTrue, if the server supports STUN.booleansupportsTurnTrue, if the server supports TURN.StringusernameUsername to be used for authentication.
-
Constructor Summary
Constructors Constructor Description CallServerTypeWebrtc()A WebRTC server.CallServerTypeWebrtc(String username, String password, boolean supportsTurn, boolean supportsStun)A WebRTC server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
username
public String username
Username to be used for authentication.
-
password
public String password
Authentication password.
-
supportsTurn
public boolean supportsTurn
True, if the server supports TURN.
-
supportsStun
public boolean supportsStun
True, if the server supports STUN.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CallServerTypeWebrtc
public CallServerTypeWebrtc()
A WebRTC server.
-
CallServerTypeWebrtc
public CallServerTypeWebrtc(String username, String password, boolean supportsTurn, boolean supportsStun)
A WebRTC server.- Parameters:
username- Username to be used for authentication.password- Authentication password.supportsTurn- True, if the server supports TURN.supportsStun- True, if the server supports STUN.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-