public class GeolocationMessage
extends org.jivesoftware.smack.packet.Message
Constructor and Description |
---|
GeolocationMessage(GeolocationPacketExtension geoloc)
Creates a new, "normal" message.
|
GeolocationMessage(java.lang.String to,
GeolocationPacketExtension geoloc)
Creates a new "normal" message to the specified recipient and adds the
specified geoloc extension to it.
|
GeolocationMessage(java.lang.String to,
org.jivesoftware.smack.packet.Message.Type type,
GeolocationPacketExtension geoloc)
Creates a new message with the specified type and recipient and adds the
specified geoloc extension to it.
|
addBody, addSubject, equals, getBodies, getBody, getBody, getBodyLanguages, getLanguage, getSubject, getSubject, getSubjectLanguages, getSubjects, getThread, getType, hashCode, removeBody, removeBody, removeSubject, removeSubject, setBody, setLanguage, setSubject, setThread, setType, toXML
addExtension, deleteProperty, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public GeolocationMessage(GeolocationPacketExtension geoloc)
geoloc
- the geolocation packet extension to add to this message.public GeolocationMessage(java.lang.String to, GeolocationPacketExtension geoloc)
to
- the recipient of the message.geoloc
- the geolocation packet extension to add to this message.public GeolocationMessage(java.lang.String to, org.jivesoftware.smack.packet.Message.Type type, GeolocationPacketExtension geoloc)
to
- the recipient of the message.geoloc
- the geolocation packet extension to add to this message.type
- the message type.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.