java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.GroupCallStream
- Enclosing class:
- TdApi
Describes an available stream in a group call.
-
Field Summary
Modifier and TypeFieldDescriptionint
Identifier of an audio/video channel.static final int
Identifier uniquely determining type of the object.int
Scale of segment durations in the stream.long
Point in time when the stream currently ends; Unix timestamp in milliseconds. -
Constructor Summary
ConstructorDescriptionDescribes an available stream in a group call.GroupCallStream
(int channelId, int scale, long timeOffset) Describes an available stream in a group call.GroupCallStream
(DataInput input) Describes an available stream in a group 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
-
channelId
public int channelIdIdentifier of an audio/video channel. -
scale
public int scaleScale of segment durations in the stream. The duration is 1000/(2**scale) milliseconds. -
timeOffset
public long timeOffsetPoint in time when the stream currently ends; Unix timestamp in milliseconds. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GroupCallStream
public GroupCallStream()Describes an available stream in a group call. -
GroupCallStream
public GroupCallStream(int channelId, int scale, long timeOffset) Describes an available stream in a group call.- Parameters:
channelId
- Identifier of an audio/video channel.scale
- Scale of segment durations in the stream. The duration is 1000/(2**scale) milliseconds.timeOffset
- Point in time when the stream currently ends; Unix timestamp in milliseconds.
-
GroupCallStream
Describes an available stream in a group 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()
-