java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.CallState
it.tdlight.jni.TdApi.CallStateReady
- Enclosing class:
- TdApi
The call is ready to use.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if peer-to-peer connection is allowed by users privacy settings.A JSON-encoded call config.static final intString[]Encryption key emojis fingerprint.byte[]Call encryption key.Call protocols supported by the peer.List of available call servers. -
Constructor Summary
ConstructorsConstructorDescriptionThe call is ready to use.CallStateReady(TdApi.CallProtocol protocol, TdApi.CallServer[] servers, String config, byte[] encryptionKey, String[] emojis, boolean allowP2p) The call is ready to use.CallStateReady(DataInput input) The call is ready to use. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
protocol
Call protocols supported by the peer. -
servers
List of available call servers. -
config
A JSON-encoded call config. -
encryptionKey
public byte[] encryptionKeyCall encryption key. -
emojis
Encryption key emojis fingerprint. -
allowP2p
public boolean allowP2pTrue, if peer-to-peer connection is allowed by users privacy settings. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CallStateReady
public CallStateReady()The call is ready to use. -
CallStateReady
public CallStateReady(TdApi.CallProtocol protocol, TdApi.CallServer[] servers, String config, byte[] encryptionKey, String[] emojis, boolean allowP2p) The call is ready to use.- Parameters:
protocol- CallProtocol Call protocols supported by the peer.servers- CallServer[] List of available call servers.config- String A JSON-encoded call config.encryptionKey- byte[] Call encryption key.emojis- String[] Encryption key emojis fingerprint.allowP2p- boolean True, if peer-to-peer connection is allowed by users privacy settings.
-
CallStateReady
The call is ready to use.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-