public class GeolocationPacketExtensionProvider
extends java.lang.Object
implements org.jivesoftware.smack.provider.PacketExtensionProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the XML element used for transport of geolocation parameters.
|
static java.lang.String |
NAMESPACE
The names XMPP space that the geolocation elements belong to.
|
Constructor and Description |
---|
GeolocationPacketExtensionProvider()
Creates a new GeolocationPacketExtensionProvider.
|
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smack.packet.PacketExtension |
parseExtension(org.xmlpull.v1.XmlPullParser parser)
Parses a GeolocationPacketExtension packet (extension sub-packet).
|
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public GeolocationPacketExtensionProvider()
public org.jivesoftware.smack.packet.PacketExtension parseExtension(org.xmlpull.v1.XmlPullParser parser) throws java.lang.Exception
parseExtension
in interface org.jivesoftware.smack.provider.PacketExtensionProvider
parser
- an XML parser.java.lang.Exception
- if an error occurs parsing the XML.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.