Class VersionManager

java.lang.Object
org.jivesoftware.smack.Manager
org.jivesoftware.smackx.iqversion.VersionManager

public final class VersionManager extends Manager
A Version Manager that automatically responds to version IQs with a predetermined reply.

The VersionManager takes care of handling incoming version request IQs, according to XEP-0092 (Software Version). You can configure the version reply for a given connection by running the following code:

 Version MY_VERSION = new Version("My Little XMPP Application", "v1.23", "OS/2 32-bit");
 VersionManager.getInstanceFor(mConnection).setVersion(MY_VERSION);