java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PageBlock
it.tdlight.jni.TdApi.PageBlockVideo
- Enclosing class:
- TdApi
A video.
-
Field Summary
Modifier and TypeFieldDescriptionVideo caption.static final int
Identifier uniquely determining type of the object.boolean
True, if the video must be looped.boolean
True, if the video must be played automatically.Video file; may be null. -
Constructor Summary
ConstructorDescriptionA video.PageBlockVideo
(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped) A video.PageBlockVideo
(DataInput input) A video. -
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
-
video
Video file; may be null. -
needAutoplay
public boolean needAutoplayTrue, if the video must be played automatically. -
isLooped
public boolean isLoopedTrue, if the video must be looped. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PageBlockVideo
public PageBlockVideo()A video. -
PageBlockVideo
public PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped) A video.- Parameters:
video
- Video file; may be null.caption
- Video caption.needAutoplay
- True, if the video must be played automatically.isLooped
- True, if the video must be looped.
-
PageBlockVideo
A video.- 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()
-