<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="TdApi.Object.html"title="class in it.tdlight.jni">it.tdlight.jni.TdApi.Object</a>
<divclass="inheritance"><ahref="TdApi.CallState.html"title="class in it.tdlight.jni">it.tdlight.jni.TdApi.CallState</a>
<divclass="block">True, if peer-to-peer connection is
allowed by users privacy settings.</div>
</td>
</tr>
<trclass="row-color">
<tdclass="col-first"><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></td>
<tdclass="col-first"><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[]</code></td>
<thclass="col-constructor-name"scope="row"><code><spanclass="member-name-link"><ahref="#%3Cinit%3E(it.tdlight.jni.TdApi.CallProtocol,it.tdlight.jni.TdApi.CallServer%5B%5D,java.lang.String,byte%5B%5D,java.lang.String%5B%5D,boolean)">CallStateReady</a></span>​(<ahref="TdApi.CallProtocol.html"title="class in it.tdlight.jni">TdApi.CallProtocol</a> protocol,
<ahref="TdApi.CallServer.html"title="class in it.tdlight.jni">TdApi.CallServer</a>[] servers,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> config,
byte[] encryptionKey,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[] emojis,
boolean allowP2p)</code></th>
<tdclass="col-last">
<divclass="block">The call is ready to use.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-constructor-name"scope="row"><code><spanclass="member-name-link"><ahref="#%3Cinit%3E(java.io.DataInput)">CallStateReady</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</code></th>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Method</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color"id="i0">
<tdclass="col-first"><code>boolean</code></td>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="#equals(java.lang.Object)">equals</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="#serialize(java.io.DataOutput)">serialize</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</code></th>
<h3id="methods.inherited.from.class.it.tdlight.jni.TdApi.Object">Methods inherited from class it.tdlight.jni.<ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></h3>
<h3id="methods.inherited.from.class.java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<sectionclass="field-details"id="field.detail">
<h2>Field Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="protocol">
<h3>protocol</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.CallProtocol.html"title="class in it.tdlight.jni">TdApi.CallProtocol</a></span> <spanclass="member-name">protocol</span></div>
<divclass="block">Call protocols supported by the peer.</div>
</section>
</li>
<li>
<sectionclass="detail"id="servers">
<h3>servers</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.CallServer.html"title="class in it.tdlight.jni">TdApi.CallServer</a>[]</span> <spanclass="member-name">servers</span></div>
<divclass="block">List of available call servers.</div>
</section>
</li>
<li>
<sectionclass="detail"id="config">
<h3>config</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="member-name">config</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[]</span> <spanclass="member-name">emojis</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="member-name">CallStateReady</span>​(<spanclass="parameters"><ahref="TdApi.CallProtocol.html"title="class in it.tdlight.jni">TdApi.CallProtocol</a> protocol,
<ahref="TdApi.CallServer.html"title="class in it.tdlight.jni">TdApi.CallServer</a>[] servers,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> config,
byte[] encryptionKey,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>[] emojis,
boolean allowP2p)</span></div>
<divclass="block">The call is ready to use.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>protocol</code> - CallProtocol Call protocols supported by the peer.</dd>
<dd><code>servers</code> - CallServer[] List of available call servers.</dd>
<dd><code>config</code> - String A JSON-encoded call config.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="member-name">CallStateReady</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<dd><code><ahref="TdApi.Object.html#getConstructor()">getConstructor</a></code> in class <code><ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="member-name">serialize</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dd><code><ahref="TdApi.Object.html#serialize(java.io.DataOutput)">serialize</a></code> in class <code><ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></code></dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="member-name">equals</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</span></div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>