public class SpenContentVoice extends SpenContentBase
SpenContentBase since 5.0.0.STATE_CANCELED, STATE_DONE, STATE_EXCEPTION, STATE_FAIL, STATE_INIT, STATE_NONE, STATE_READY, STATE_RUNNING, TASK_BULLET, TASK_DONE, TASK_NONE, TASK_NUMBER, TASK_TODO, TYPE_DRAWING, TYPE_HANDWRITING, TYPE_IMAGE, TYPE_NONE, TYPE_TEXT| Constructor and Description |
|---|
SpenContentVoice()
Creates an SpenContentVoice instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
attachFile(String path)
Attach a voice file.
|
void |
copy(SpenContentBase source)
Copy data from the specified content.
|
String |
getAttachedFile()
Get Attached voice file.
|
String |
getBookmarkID()
Get the book mark id of voice file.
|
String |
getPlayTime()
get the play time of voice file.
|
void |
setBookmarkID(String id)
Set the book mark id of voice file.
|
void |
setPlayTime(String time)
Set the play time of voice file.
|
appendSpan, clearChangedFlag, equals, findSpan, getItemHeight, getLength, getSpan, getState, getTaskId, getTaskNumber, getTaskStyle, getText, getThumbnailPath, getType, isChanged, removeSpan, setItemHeight, setSpan, setState, setTaskId, setTaskNumber, setTaskStyle, setText, setThumbnailPathpublic SpenContentVoice()
public void setPlayTime(String time)
getPlayTime()}.time - play time.public String getPlayTime()
#setPlayTime(String)}public void setBookmarkID(String id)
id - book mark idpublic String getBookmarkID()
#setBookmarkID(String)}public void attachFile(String path)
path - The file path.public String getAttachedFile()
#getAttachedFile()}public void copy(SpenContentBase source)
copy in class SpenContentBasesource - The source content.IllegalArgumentException - Thrown if class type is different.
Or if source is null.