|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.file.VoiceBxFile
public final class VoiceBxFile
语音文件。
| 嵌套类摘要 | |
|---|---|
static class |
VoiceBxFile.CharsetType
语音数据编码格式。 |
| 从接口 onbon.bx06.file.BxFile 继承的嵌套类/接口 |
|---|
BxFile.Binary |
| 构造方法摘要 | |
|---|---|
VoiceBxFile(int no)
建构子。 |
|
VoiceBxFile(String fileName)
建构子。 |
|
| 方法摘要 | |
|---|---|
BxFile.Binary |
generate()
产生文件的位元组资讯。 |
String |
getContent()
取得语音数据。 |
VoiceBxFile.CharsetType |
getContentCharset()
取得语音数据编码格式。 |
String |
getFileName()
取得文件名称。 |
onbon.bx06.message.common.FileType |
getFileType()
取得文件类型。 |
int |
getNumDeal()
取得保留参数:数字处理方式。 |
int |
getPerson()
取得发音人。 |
int |
getReplayDelay()
取得两次播放语音的时间间隔,单位为 10ms。 |
int |
getReplayTimes()
取得重播次数,-1 表示播放无限次。 |
int |
getSpeed()
取得语速。 |
int |
getSymbolStyle()
取得保留参数:阿拉伯数字、度量单位、特殊符号等合成方式。 |
int |
getVolume()
取得音量。 |
int |
getWordStyle()
取得保留参数:字詞发音方式。 |
boolean |
isExtraInfo()
取得是否有保留参数。 |
boolean |
isStoreInFlash()
设定是否需要存储到FLASH。 |
void |
setContent(String content)
设定语音数据。 |
void |
setContentCharset(VoiceBxFile.CharsetType contentCharset)
设定语音数据编码格式。 |
void |
setExtraInfo(boolean extraInfo)
设定保留参数。 |
void |
setNumDeal(int numDeal)
设定保留参数:数字处理方式。 |
void |
setPerson(int person)
设定发音人。 |
void |
setReplayDelay(int replayDelay)
设定两次播放语音的时间间隔,单位为 10ms。 |
void |
setReplayTimes(int replayTimes)
设定重播次数, -1 表示播放无限次。 |
void |
setSpeed(int speed)
设定语速。 |
void |
setStoreInFlash(boolean storeInFlash)
设定是否需要存储到FLASH。 |
void |
setSymbolStyle(int symbolStyle)
设定保留参数:阿拉伯数字、度量单位、特殊符号等合成方式。 |
void |
setVolume(int volume)
设定音量。 |
void |
setWordStyle(int wordStyle)
设定保留参数:字詞发音方式。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public VoiceBxFile(int no)
no - 语音编号组,0-999。public VoiceBxFile(String fileName)
fileName - 语音名称。长度为四,第一码为 V,后三码为数字,例如 V042。| 方法详细信息 |
|---|
public boolean isStoreInFlash()
public void setStoreInFlash(boolean storeInFlash)
storeInFlash - public int getPerson()
public void setPerson(int person)
person - 发音人,0 ~ 5。public int getVolume()
public void setVolume(int volume)
volume - 音量,0 ~ 10。public int getSpeed()
public void setSpeed(int speed)
speed - 语速,0 ~ 10。public int getReplayTimes()
public void setReplayTimes(int replayTimes)
replayTimes - 重播时间间隔。public int getReplayDelay()
public void setReplayDelay(int replayDelay)
replayDelay - 重播时间间隔。public boolean isExtraInfo()
public void setExtraInfo(boolean extraInfo)
extraInfo - 保留参数。public int getNumDeal()
public void setNumDeal(int numDeal)
numDeal - public int getSymbolStyle()
public void setSymbolStyle(int symbolStyle)
symbolStyle - public int getWordStyle()
public void setWordStyle(int wordStyle)
wordStyle - 字詞发音方式。public VoiceBxFile.CharsetType getContentCharset()
public void setContentCharset(VoiceBxFile.CharsetType contentCharset)
contentCharset - 语音数据编码格式。public String getContent()
public void setContent(String content)
content - 语音数据。public String getFileName()
BxFile 复制的描述
BxFile 中的 getFileNamepublic onbon.bx06.message.common.FileType getFileType()
BxFile 复制的描述
BxFile 中的 getFileType
public BxFile.Binary generate()
throws Bx6GException
BxFile 复制的描述
BxFile 中的 generateBx6GException - 产生位元组资讯时发生错误。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||