java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Call
- Enclosing class:
- TdApi
Describes a call.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Call identifier, not persistent.boolean
True, if the call is outgoing.boolean
True, if the call is a video call.Call state.long
User identifier of the other call participant. -
Constructor Summary
ConstructorDescriptionCall()
Describes a call.Call
(int id, long userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state) Describes a call.Describes a call. -
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
-
id
public int idCall identifier, not persistent. -
userId
public long userIdUser identifier of the other call participant. -
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Call
public Call()Describes a call. -
Call
Describes a call.- Parameters:
id
- Call identifier, not persistent.userId
- User identifier of the other call participant.isOutgoing
- True, if the call is outgoing.isVideo
- True, if the call is a video call.state
- Call state.
-
Call
Describes a call.- 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()
-