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
Modifier and TypeFieldDescriptionboolean
True, if peer-to-peer connection is allowed by users privacy settings.A JSON-encoded call config.static final int
Identifier uniquely determining type of the object.String[]
Encryption key emojis fingerprint.byte[]
Call encryption key.Call protocols supported by the other call participant.List of available call servers. -
Constructor Summary
ConstructorDescriptionThe 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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
protocol
Call protocols supported by the other call participant. -
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- Call protocols supported by the other call participant.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.
-
CallStateReady
The call is ready to use.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-