public final class GeoLocationManager extends ExtensionManager
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
void |
addGeoLocationListener(GeoLocationListener geoLocationListener)
Adds a listener, which allows to listen for geo location changes.
|
void |
publish(GeoLocation geoLocation)
Publishes a geo location to the personal eventing service.
|
void |
removeGeoLocationListener(GeoLocationListener geoLocationListener)
Removes a previously added geo location listener.
|
setEnabledpublic void publish(GeoLocation geoLocation) throws rocks.xmpp.core.XmppException
geoLocation - The geo location.rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic void addGeoLocationListener(GeoLocationListener geoLocationListener)
geoLocationListener - The listener.removeGeoLocationListener(GeoLocationListener)public void removeGeoLocationListener(GeoLocationListener geoLocationListener)
geoLocationListener - The listener.addGeoLocationListener(GeoLocationListener)Copyright © 2014 XMPP.rocks. All rights reserved.