public class VideoImpl extends Object implements Video
| Modifier and Type | Method and Description |
|---|---|
static Video |
createVideo(org.json.JSONObject jsonObject) |
int |
getDuration()
Gets the duration of the media file
|
String |
getFileId()
Gets the Unique Identifier for this file
|
int |
getHeight()
Gets the height in pixels of the file
|
String |
getMimeType()
Gets the mimetype of the file, can be null
|
int |
getSize()
Gets the size of the file
|
PhotoSize |
getThumbnail()
Gets the PhotoSize object relating to the thumbnail for the file, can be null
|
int |
getWidth()
Gets the width in pixels of the file
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownloadFile, getFileDownloadLinkpublic static Video createVideo(org.json.JSONObject jsonObject)
public int getWidth()
getWidth in interface DimensionableFilepublic int getHeight()
getHeight in interface DimensionableFilepublic int getDuration()
DurationableFilegetDuration in interface DurationableFilepublic String getFileId()
public int getSize()
public String getMimeType()
MimetypeablegetMimeType in interface Mimetypeablepublic PhotoSize getThumbnail()
ThumbnailablegetThumbnail in interface ThumbnailableCopyright © 2017. All rights reserved.