onbon.bx06.area
类 SoundBxInfo

java.lang.Object
  继承者 onbon.bx06.area.SoundBxInfo

public class SoundBxInfo
extends Object


嵌套类摘要
static class SoundBxInfo.EncodingType
           
 
构造方法摘要
SoundBxInfo(SoundBxInfo.EncodingType encoding)
           
 
方法摘要
 onbon.bx06.message.area.SoundInfo generate()
           
 String getContent()
           
 SoundBxInfo.EncodingType getEncoding()
           
 int getRepeatDelay()
           
 int getRepeatTimes()
           
 int getSpeaker()
          取得发音人。
 int getSpeed()
          取得音量。
 int getVolume()
           
 void setContent(String content)
           
 void setEncoding(SoundBxInfo.EncodingType encoding)
           
 void setRepeatDelay(int repeatDelay)
           
 void setRepeatTimes(int repeatTimes)
           
 void setSpeaker(int speaker)
          設定发音人。
 void setSpeed(int speed)
          設定音量。
 void setVolume(int volume)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SoundBxInfo

public SoundBxInfo(SoundBxInfo.EncodingType encoding)
方法详细信息

getSpeaker

public int getSpeaker()
取得发音人。0 - 5。

返回:
发音人。

setSpeaker

public void setSpeaker(int speaker)
設定发音人。0 - 5。

参数:
speaker - 发音人。

getSpeed

public int getSpeed()
取得音量。

返回:
音量。

setSpeed

public void setSpeed(int speed)
設定音量。0 - 10。

参数:
speed - 音量。

getVolume

public int getVolume()

setVolume

public void setVolume(int volume)

getEncoding

public SoundBxInfo.EncodingType getEncoding()

setEncoding

public void setEncoding(SoundBxInfo.EncodingType encoding)

getContent

public String getContent()

setContent

public void setContent(String content)

getRepeatTimes

public int getRepeatTimes()

setRepeatTimes

public void setRepeatTimes(int repeatTimes)

getRepeatDelay

public int getRepeatDelay()

setRepeatDelay

public void setRepeatDelay(int repeatDelay)

generate

public onbon.bx06.message.area.SoundInfo generate()


Copyright © 2018 onbon. All rights reserved.