|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.lss.model.Audio
public class Audio
Constructor Summary | |
---|---|
Audio()
|
Method Summary | |
---|---|
Integer |
getBitRateInBps()
Returns the audio bit rate |
Integer |
getChannels()
Returns the number of audio channels. |
Integer |
getSampleRateInHz()
Returns the audio sample rate. |
void |
setBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate. |
void |
setChannels(Integer channels)
Sets the number of audio channels. |
void |
setSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate |
String |
toString()
|
Audio |
withBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate and returns this object. |
Audio |
withChannels(Integer channels)
Sets the number of audio channels and returns this object. |
Audio |
withSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate and returns this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Audio()
Method Detail |
---|
public Integer getBitRateInBps()
public void setBitRateInBps(Integer bitRateInBps)
bitRateInBps
- the audio bit ratepublic Audio withBitRateInBps(Integer bitRateInBps)
bitRateInBps
- the audio bit rate
public Integer getSampleRateInHz()
public void setSampleRateInHz(Integer sampleRateInHz)
sampleRateInHz
- the audio sample ratepublic Audio withSampleRateInHz(Integer sampleRateInHz)
sampleRateInHz
- the audio sample rate
public Integer getChannels()
public void setChannels(Integer channels)
channels
- the number of audio channelspublic Audio withChannels(Integer channels)
channels
- the number of audio channels
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |