public class DelayInfoProvider extends DelayInformationProvider
DelayInfo decorator for the DelayInformation that
is returned by the superclass. This allows the new code using
Delay Information XEP-0203 to be
backward compatible with XEP-0091.
This provider must be registered in the smack.properties file for the element delay with namespace urn:xmpp:delay
| Constructor and Description |
|---|
DelayInfoProvider() |
| Modifier and Type | Method and Description |
|---|---|
PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parse an extension sub-packet and create a PacketExtension instance.
|
public DelayInfoProvider()
public PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser) throws Exception
PacketExtensionProviderparseExtension in interface PacketExtensionProviderparseExtension in class DelayInformationProviderparser - an XML parser.Exception - if an error occurs parsing the XML.