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
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
Methods 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 CONSTRUCTOR- 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 Video file; may be null.caption
- PageBlockCaption Video caption.needAutoplay
- boolean True, if the video must be played automatically.isLooped
- boolean True, if the video must be looped.
-
PageBlockVideo
A video.- 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()
-