|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.jingle.media.PayloadType
org.jivesoftware.smackx.jingle.media.PayloadType.Audio
public static class PayloadType.Audio
Audio payload type.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jivesoftware.smackx.jingle.media.PayloadType |
|---|
PayloadType.Audio |
| Field Summary |
|---|
| Fields inherited from class org.jivesoftware.smackx.jingle.media.PayloadType |
|---|
INVALID_PT, MAX_FIXED_PT, NODENAME |
| Constructor Summary | |
|---|---|
PayloadType.Audio()
Empty constructor. |
|
PayloadType.Audio(int id,
java.lang.String name)
Constructor with Id and name |
|
PayloadType.Audio(int id,
java.lang.String name,
int rate)
Constructor with all the attributes of an Audio payload type |
|
PayloadType.Audio(int id,
java.lang.String name,
int channels,
int rate)
Constructor with all the attributes of an Audio payload type |
|
PayloadType.Audio(PayloadType.Audio pt)
Copy constructor |
|
PayloadType.Audio(PayloadType pt)
Copy constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getClockRate()
Get the sampling clockRate for a payload type |
int |
hashCode()
|
void |
setClockRate(int rate)
Set tha sampling clockRate for a playload type. |
| Methods inherited from class org.jivesoftware.smackx.jingle.media.PayloadType |
|---|
getChannels, getElementName, getId, getName, isNull, setChannels, setId, setName, toXML |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PayloadType.Audio(int id,
java.lang.String name,
int channels,
int rate)
id - The identifiername - The name assigned to this payload typechannels - The number of channelsrate - The clock rate
public PayloadType.Audio(int id,
java.lang.String name,
int rate)
id - The identifiername - The name assigned to this payload typerate - The clock ratepublic PayloadType.Audio()
public PayloadType.Audio(int id,
java.lang.String name)
id - the Id for the payload typename - the name of the payload typepublic PayloadType.Audio(PayloadType pt)
pt - the other payload typepublic PayloadType.Audio(PayloadType.Audio pt)
pt - the other payload type| Method Detail |
|---|
public int getClockRate()
public void setClockRate(int rate)
rate - The sampling clockRatepublic int hashCode()
hashCode in class PayloadTypepublic boolean equals(java.lang.Object obj)
equals in class PayloadType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||