Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber.extensions.geolocation
Class GeolocationPresence

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.jabber.extensions.geolocation.GeolocationPresence

public class GeolocationPresence
extends Object

This class represents a Jabber presence message including a Geolocation Extension.

Author:
Guillaume Schreiner

Constructor Summary
GeolocationPresence(OperationSetPresence persistentPresence)
           
 
Method Summary
 org.jivesoftware.smack.packet.Presence getGeolocPresence()
          Get the Geolocation presence message.
 void setGeolocationExtention(GeolocationPacketExtension ext)
          Set the Geolocation extension packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeolocationPresence

public GeolocationPresence(OperationSetPresence persistentPresence)
Parameters:
persistentPresence - OperationSetPresence
Method Detail

setGeolocationExtention

public void setGeolocationExtention(GeolocationPacketExtension ext)
Set the Geolocation extension packet.

Parameters:
ext - the GeolocationPacketExtension to set

getGeolocPresence

public org.jivesoftware.smack.packet.Presence getGeolocPresence()
Get the Geolocation presence message.

Returns:
the Geolocation presence message.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.