public static class TdApi.CallStateReady extends TdApi.CallState
TdApi.CallState.Constructors
Modifier and Type | Field and Description |
---|---|
boolean |
allowP2p
True, if peer-to-peer connection is allowed by users privacy settings.
|
java.lang.String |
config
A JSON-encoded call config.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String[] |
emojis
Encryption key emojis fingerprint.
|
byte[] |
encryptionKey
Call encryption key.
|
TdApi.CallProtocol |
protocol
Call protocols supported by the peer.
|
TdApi.CallServer[] |
servers
List of available call servers.
|
Constructor and Description |
---|
CallStateReady()
The call is ready to use.
|
CallStateReady(TdApi.CallProtocol protocol,
TdApi.CallServer[] servers,
java.lang.String config,
byte[] encryptionKey,
java.lang.String[] emojis,
boolean allowP2p)
The call is ready to use.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.CallProtocol protocol
public TdApi.CallServer[] servers
public java.lang.String config
public byte[] encryptionKey
public java.lang.String[] emojis
public boolean allowP2p
public static final int CONSTRUCTOR
public CallStateReady()
public CallStateReady(TdApi.CallProtocol protocol, TdApi.CallServer[] servers, java.lang.String config, byte[] encryptionKey, java.lang.String[] emojis, boolean allowP2p)
protocol
- Call protocols supported by the peer.servers
- List of available call servers.config
- A JSON-encoded call config.encryptionKey
- Call encryption key.emojis
- Encryption key emojis fingerprint.allowP2p
- True, if peer-to-peer connection is allowed by users privacy settings.public int getConstructor()
getConstructor
in class TdApi.CallState