Class CarbonManager

java.lang.Object
org.jivesoftware.smack.Manager
org.jivesoftware.smackx.carbons.CarbonManager

public final class CarbonManager extends Manager
Manager for XEP-0280: Message Carbons. This class implements the manager for registering CarbonExtension support, enabling and disabling message carbons, and for CarbonCopyReceivedListener.

Note that it is important to match the 'from' attribute of the message wrapping a carbon copy, as otherwise it would may be possible for others to impersonate users. Smack's CarbonManager takes care of that in CarbonCopyReceivedListeners which were registered with addCarbonCopyReceivedListener(CarbonCopyReceivedListener).

You should call enableCarbons() before sending your first undirected presence (aka. the "initial presence").