Uses of Class
org.jivesoftware.smackx.geoloc.packet.GeoLocation.Builder
Packages that use GeoLocation.Builder
Package
Description
Element classes for XEP-0080: User Location.
-
Uses of GeoLocation.Builder in org.jivesoftware.smackx.geoloc.packet
Methods in org.jivesoftware.smackx.geoloc.packet that return GeoLocation.BuilderModifier and TypeMethodDescriptionstatic GeoLocation.Builder
GeoLocation.builder()
Returns a new instance ofGeoLocation.Builder
.GeoLocation.Builder.setAccuracy
(Double accuracy) Sets accuracy of horizontal GPS error in meters.Sets Altitude in meters above or below sea level.GeoLocation.Builder.setAltAccuracy
(Double altAccuracy) Sets Vertical GPS error in meters.Sets a named area such as a campus or neighborhood.GeoLocation.Builder.setBearing
(Double bearing) Sets GPS bearing (direction in which the entity is heading
to reach its next waypoint), measured in decimal degrees,
relative to true north.GeoLocation.Builder.setBuilding
(String building) Sets a specific building on a street or in an area.GeoLocation.Builder.setCountry
(String country) Sets the nation where the user is located.GeoLocation.Builder.setCountryCode
(String countryCode) Sets The ISO 3166 two-letter country code.Sets GPS Datum.GeoLocation.Builder.setDescription
(String description) Sets A natural-language name for or description of the location.Deprecated.Sets a particular floor in a building.Sets Latitude in decimal degrees North.GeoLocation.Builder.setLocality
(String locality) Sets Locality within the administrative region,
such as a town or city.Sets Longitude in decimal degrees East.GeoLocation.Builder.setPostalcode
(String postalcode) Sets PostalCode used for postal delivery.Sets an administrative region of the nation,
such as a state or province.Sets a particular room in a building.Sets Speed at which the entity is moving, in meters per second.Sets a thoroughfare within the locality, or a crossing of two thoroughfares.Sets a catch-all element that captures any other information about the location.GeoLocation.Builder.setTimestamp
(Date timestamp) Sets UTC timestamp specifying the moment when the reading was taken.Sets the time zone offset from UTC for the current location.Sets URI or URL pointing to information about the location.
setAccuracy(Double)
instead.