|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.Message
net.java.sip.communicator.impl.protocol.jabber.extensions.geolocation.GeolocationMessage
public class GeolocationMessage
This class extends the smack Message class and allows creating a GeolocationMessage automatically setting the geolocation packet extension.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.Message |
|---|
org.jivesoftware.smack.packet.Message.Body, org.jivesoftware.smack.packet.Message.Subject, org.jivesoftware.smack.packet.Message.Type |
| Field Summary |
|---|
| Fields inherited from class org.jivesoftware.smack.packet.Packet |
|---|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
GeolocationMessage(GeolocationPacketExtension geoloc)
Creates a new, "normal" message. |
|
GeolocationMessage(String to,
GeolocationPacketExtension geoloc)
Creates a new "normal" message to the specified recipient and adds the specified geoloc extension to it. |
|
GeolocationMessage(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. |
|
| Method Summary |
|---|
| Methods inherited from class org.jivesoftware.smack.packet.Message |
|---|
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 |
| Methods inherited from class org.jivesoftware.smack.packet.Packet |
|---|
addExtension, deleteProperty, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeolocationMessage(GeolocationPacketExtension geoloc)
geoloc - the geolocation packet extension to add to this message.
public GeolocationMessage(String to,
GeolocationPacketExtension geoloc)
to - the recipient of the message.geoloc - the geolocation packet extension to add to this message.
public GeolocationMessage(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. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||