| Package | Description |
|---|---|
| rocks.xmpp.extensions.geoloc.model |
Provides XML schema implementations of XEP-0080: User Location.
|
| Modifier and Type | Method and Description |
|---|---|
GeoLocation.Builder |
GeoLocation.Builder.accuracy(Double accuracy)
Sets the horizontal GPS error in meters.
|
GeoLocation.Builder |
GeoLocation.Builder.altitude(Double altitude)
Sets the altitude in meters above or below sea level.
|
GeoLocation.Builder |
GeoLocation.Builder.altitudeAccuracy(Double altitudeAccuracy)
Sets the vertical GPS error in meters.
|
GeoLocation.Builder |
GeoLocation.Builder.area(String area)
Sets a named area such as a campus or neighborhood.
|
GeoLocation.Builder |
GeoLocation.Builder.bearing(Double bearing)
Sets the GPS bearing (direction in which the entity is heading to reach its next waypoint), measured in decimal degrees relative to true north.
|
static GeoLocation.Builder |
GeoLocation.builder()
Creates the builder to build a geo location.
|
GeoLocation.Builder |
GeoLocation.Builder.building(String building)
Sets a specific building on a street or in an area.
|
GeoLocation.Builder |
GeoLocation.Builder.country(String country)
Sets the nation where the user is located.
|
GeoLocation.Builder |
GeoLocation.Builder.countryCode(String countryCode)
Sets the ISO 3166 two-letter country code.
|
GeoLocation.Builder |
GeoLocation.Builder.datum(String datum)
Sets the GPS datum.
|
GeoLocation.Builder |
GeoLocation.Builder.description(String description)
Sets a natural-language name for or description of the location.
|
GeoLocation.Builder |
GeoLocation.Builder.floor(String floor)
Sets a particular floor in a building.
|
GeoLocation.Builder |
GeoLocation.Builder.language(Locale language)
Sets the natural language of location data.
|
GeoLocation.Builder |
GeoLocation.Builder.latitude(Double latitude)
Sets the latitude in decimal degrees North.
|
GeoLocation.Builder |
GeoLocation.Builder.locality(String locality)
Sets a locality within the administrative region, such as a town or city.
|
GeoLocation.Builder |
GeoLocation.Builder.longitude(Double longitude)
Sets the longitude in decimal degrees East.
|
GeoLocation.Builder |
GeoLocation.Builder.postalCode(String postalCode)
Sets a code used for postal delivery.
|
GeoLocation.Builder |
GeoLocation.Builder.region(String region)
Sets an administrative region of the nation, such as a state or province.
|
GeoLocation.Builder |
GeoLocation.Builder.room(String room)
Sets a particular room in a building.
|
GeoLocation.Builder |
GeoLocation.Builder.speed(Double speed)
Sets the speed at which the entity is moving, in meters per second.
|
GeoLocation.Builder |
GeoLocation.Builder.street(String street)
Sets a thoroughfare within the locality, or a crossing of two thoroughfares.
|
GeoLocation.Builder |
GeoLocation.Builder.text(String text)
Sets a catch-all element that captures any other information about the location.
|
GeoLocation.Builder |
GeoLocation.Builder.timestamp(Instant timestamp)
Sets the UTC timestamp specifying the moment when the reading was taken.
|
GeoLocation.Builder |
GeoLocation.Builder.timeZoneOffset(ZoneOffset zoneOffset)
Sets the time zone offset from UTC for the current location.
|
GeoLocation.Builder |
GeoLocation.Builder.uri(URI uri)
Sets a URI or URL pointing to information about the location.
|
Copyright © 2014–2017 XMPP.rocks. All rights reserved.