|
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.Objectjava.util.EventObject
net.java.sip.communicator.service.protocol.event.GeolocationEvent
public class GeolocationEvent
Instances of this class represent a change geographic location of a contact.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
GeolocationEvent(Contact sourceContact,
ProtocolProviderService sourceProvider,
Map<String,String> newLocation,
OperationSetGeolocation geolocationOpSet)
Creates an event instance indicating that the specified source contact has changed its geographic location to newLocation. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getNewLocation()
Returns the Geolocation of the contact after this event took place. |
Contact |
getSourceContact()
Returns the source contact associated with the event. |
OperationSetGeolocation |
getSourceGeolocationOperationSet()
Returns the GeolocationOperationSet instance that is the source of this event. |
ProtocolProviderService |
getSourceProvider()
Returns the provider that the source contact belongs to. |
String |
toString()
Returns a String representation of this GeolocationContactChangeEvent |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeolocationEvent(Contact sourceContact,
ProtocolProviderService sourceProvider,
Map<String,String> newLocation,
OperationSetGeolocation geolocationOpSet)
sourceContact - the contact associated with this event.sourceProvider - the protocol provider that the contact belongs to.newLocation - the geolocation where the sourceCountact currently is.geolocationOpSet - the operation set that generated this event| Method Detail |
|---|
public ProtocolProviderService getSourceProvider()
public Contact getSourceContact()
public Map<String,String> getNewLocation()
public OperationSetGeolocation getSourceGeolocationOperationSet()
public String toString()
toString in class EventObject
|
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 | |||||||||