public class AudioAttachment extends FileAttachment
displayName, extension, forceUpload, md5, nosTokenSceneKey, path, size, url
构造器和说明 |
---|
AudioAttachment() |
AudioAttachment(java.lang.String attach) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
getAutoTransform() |
long |
getDuration()
获取音频的播放时长
|
java.lang.String |
getText() |
protected void |
load(JSONObject json) |
protected void |
save(JSONObject json) |
void |
setAutoTransform(boolean autoTransform) |
void |
setDuration(long duration)
设置音频的播放时长
|
void |
setText(java.lang.String text) |
protected NimStorageType |
storageType() |
getDisplayName, getExpire, getExtension, getFileName, getMd5, getNosTokenSceneKey, getPath, getPathForSave, getSize, getThumbPath, getThumbPathForSave, getUri, getUrl, isForceUpload, setDisplayName, setExtension, setForceUpload, setMd5, setNosTokenSceneKey, setPath, setSize, setUri, setUrl, toJson
public AudioAttachment()
public AudioAttachment(java.lang.String attach)
public long getDuration()
public void setDuration(long duration)
public boolean getAutoTransform()
public void setAutoTransform(boolean autoTransform)
public java.lang.String getText()
public void setText(java.lang.String text)
protected NimStorageType storageType()
storageType
在类中 FileAttachment
protected void save(JSONObject json)
save
在类中 FileAttachment
protected void load(JSONObject json)
load
在类中 FileAttachment