Package it.tdlight.jni
Class TdApi.Call
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Call
- Enclosing class:
- TdApi
public static class TdApi.Call extends TdApi.Object
Describes a call.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
id
Call identifier, not persistent.boolean
isOutgoing
True, if the call is outgoing.boolean
isVideo
True, if the call is a video call.TdApi.CallState
state
Call state.int
userId
Peer user identifier. -
Constructor Summary
Constructors Constructor Description Call()
Describes a call.Call(int id, int userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state)
Describes a call.Call(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idCall identifier, not persistent. -
userId
public int userIdPeer user identifier. -
isOutgoing
public boolean isOutgoingTrue, if the call is outgoing. -
isVideo
public boolean isVideoTrue, if the call is a video call. -
state
Call state. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
Call
public Call()Describes a call. -
Call
Describes a call.- Parameters:
id
- int Call identifier, not persistent.userId
- int Peer user identifier.isOutgoing
- boolean True, if the call is outgoing.isVideo
- boolean True, if the call is a video call.state
- CallState Call state.
-
Call
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-