Package it.tdlight.jni
Class TdApi.PageBlockVideo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PageBlock
it.tdlight.jni.TdApi.PageBlockVideo
- Enclosing class:
- TdApi
public static class TdApi.PageBlockVideo extends TdApi.PageBlock
A video.
-
Field Summary
Fields Modifier and Type Field Description TdApi.PageBlockCaption
caption
Video caption.static int
CONSTRUCTOR
boolean
isLooped
True, if the video should be looped.boolean
needAutoplay
True, if the video should be played automatically.TdApi.Video
video
Video file; may be null. -
Constructor Summary
Constructors Constructor Description PageBlockVideo()
A video.PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped)
A video.PageBlockVideo(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
-
video
Video file; may be null. -
needAutoplay
public boolean needAutoplayTrue, if the video should be played automatically. -
isLooped
public boolean isLoopedTrue, if the video should be looped. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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 should be played automatically.isLooped
- boolean True, if the video should be looped.
-
PageBlockVideo
- 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()
-