public class AudioImpl extends Object implements Audio
| Modifier and Type | Method and Description |
|---|---|
static Audio |
createAudio(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
|
String |
getPerformer()
Gets the performer for the audio file, can be null
|
int |
getSize()
Gets the size of the file
|
String |
getTitle()
Gets the title of the audio file, can be null
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownloadFile, getFileDownloadLinkpublic static Audio createAudio(org.json.JSONObject jsonObject)
public int getDuration()
DurationableFilegetDuration in interface DurationableFilepublic String getFileId()
Filepublic int getSize()
Filepublic String getMimeType()
MimetypeablegetMimeType in interface Mimetypeablepublic String getPerformer()
AudiogetPerformer in interface AudioCopyright © 2017. All rights reserved.