public class VoiceImpl extends Object implements Voice
| Modifier and Type | Method and Description |
|---|---|
static Voice |
createVoice(org.json.JSONObject jsonObject) |
int |
getDuration()
Gets the duration of the media file
|
String |
getFileId()
Gets the Unique Identifier for this file
|
String |
getMimeType()
Gets the mimetype of the file, can be null
|
int |
getSize()
Gets the size of the file
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownloadFile, getFileDownloadLinkpublic static Voice createVoice(org.json.JSONObject jsonObject)
public int getDuration()
DurationableFilegetDuration in interface DurationableFilepublic String getFileId()
public int getSize()
public String getMimeType()
MimetypeablegetMimeType in interface MimetypeableCopyright © 2017. All rights reserved.