public class SoundSettings extends SimpleIQ
Modifier and Type | Class and Description |
---|---|
static class |
SoundSettings.InternalProvider
Stanza(/Packet) extension provider for SoundSetting Packets.
|
IQ.IQChildElementXmlStringBuilder, IQ.Type
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the stanza(/packet) extension.
|
static String |
NAMESPACE
Namespace of the stanza(/packet) extension.
|
IQ_ELEMENT, QUERY_ELEMENT
DEFAULT_LANGUAGE, ITEM, language, TEXT
Constructor and Description |
---|
SoundSettings() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getIncomingSoundBytes() |
byte[] |
getOutgoingSoundBytes() |
void |
setIncomingSound(String incomingSound) |
void |
setOutgoingSound(String outgoingSound) |
getIQChildElementBuilder
createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, isRequestIQ, setType, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, overrideExtension, removeExtension, removeExtension, setError, setFrom, setLanguage, setPacketID, setStanzaId, setTo, toString
public static final String ELEMENT_NAME
public static final String NAMESPACE
public SoundSettings()
public void setOutgoingSound(String outgoingSound)
public void setIncomingSound(String incomingSound)
public byte[] getIncomingSoundBytes()
public byte[] getOutgoingSoundBytes()