public final class GeoLocationManager extends ExtensionManager
| 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.
|
isEnabled, setEnabledpublic void publish(GeoLocation geoLocation) throws XmppException
geoLocation - The geo location.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionpublic void addGeoLocationListener(GeoLocationListener geoLocationListener)
geoLocationListener - The listener.removeGeoLocationListener(GeoLocationListener)public void removeGeoLocationListener(GeoLocationListener geoLocationListener)
geoLocationListener - The listener.addGeoLocationListener(GeoLocationListener)Copyright © 2014–2015 XMPP.rocks. All rights reserved.