public static final class CarbonExtension.Private
extends java.lang.Object
implements org.jivesoftware.smack.packet.ExtensionElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
static CarbonExtension.Private |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static void |
addTo(org.jivesoftware.smack.packet.Message message)
Marks a message "private", so that it will not be carbon-copied, by adding private packet
extension to the message.
|
java.lang.String |
getElementName() |
java.lang.String |
getNamespace() |
java.lang.String |
toXML() |
public static final CarbonExtension.Private INSTANCE
public static final java.lang.String ELEMENT
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.ExtensionElement
public java.lang.String toXML()
toXML
in interface org.jivesoftware.smack.packet.Element
public static void addTo(org.jivesoftware.smack.packet.Message message)
message
- the message to add the private extension to