public class ChatSettings
extends org.jivesoftware.smack.packet.IQ
Modifier and Type | Class and Description |
---|---|
static class |
ChatSettings.InternalProvider
Stanza(/Packet) extension provider for AgentStatusRequest packets.
|
Modifier and Type | Field and Description |
---|---|
static int |
BOT_SETTINGS
Defined as Bot settings type.
|
static java.lang.String |
ELEMENT_NAME
Element name of the stanza(/packet) extension.
|
static int |
IMAGE_SETTINGS
Defined as image type.
|
static java.lang.String |
NAMESPACE
Namespace of the stanza(/packet) extension.
|
static int |
TEXT_SETTINGS
Defined as Text settings type.
|
Constructor and Description |
---|
ChatSettings() |
ChatSettings(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
void |
addSetting(ChatSetting setting) |
ChatSetting |
getChatSetting(java.lang.String key) |
ChatSetting |
getFirstEntry() |
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf) |
java.util.Collection<ChatSetting> |
getSettings() |
void |
setKey(java.lang.String key) |
void |
setType(int type) |
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getType, initializeAsResultFor, initialzeAsResultFor, isRequestIQ, setType, toString, toXML
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getExtensionsXML, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setFrom, setLanguage, setPacketID, setStanzaId, setStanzaId, setTo, setTo
public static final int IMAGE_SETTINGS
public static final int TEXT_SETTINGS
public static final int BOT_SETTINGS
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public ChatSettings()
public ChatSettings(java.lang.String key)
public void setKey(java.lang.String key)
public void setType(int type)
public void addSetting(ChatSetting setting)
public java.util.Collection<ChatSetting> getSettings()
public ChatSetting getChatSetting(java.lang.String key)
public ChatSetting getFirstEntry()
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
getIQChildElementBuilder
in class org.jivesoftware.smack.packet.IQ