# Uses of Class it.tdlight.jni.TdApi.CallProtocol (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: CallProtocol

# Uses of Class
it.tdlight.jni.TdApi.CallProtocol

## Uses of TdApi.CallProtocol in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.CallProtocol
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.CallProtocol` | TdApi.AcceptCall.`protocol` | Description of the call protocols supported by the application.
`TdApi.CallProtocol` | TdApi.CallStateReady.`protocol` | Call protocols supported by the peer.
`TdApi.CallProtocol` | TdApi.CreateCall.`protocol` | Description of the call protocols supported by the application.

Constructors in it.tdlight.jni with parameters of type TdApi.CallProtocol
Constructor | Description
--- | ---
`AcceptCall​(int callId, TdApi.CallProtocol protocol)` | Accepts an incoming call.
`CallStateReady​(TdApi.CallProtocol protocol, TdApi.CallServer[] servers, String config, byte[] encryptionKey, String[] emojis, boolean allowP2p)` | The call is ready to use.
`CreateCall​(long userId, TdApi.CallProtocol protocol, boolean isVideo)` | Creates a new call.