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(java.lang.Double accuracy)
Sets the horizontal GPS error in meters.
|
GeoLocation.Builder |
GeoLocation.Builder.altitude(java.lang.Double altitude)
Sets the altitude in meters above or below sea level.
|
GeoLocation.Builder |
GeoLocation.Builder.altitudeAccuracy(java.lang.Double altitudeAccuracy)
Sets the vertical GPS error in meters.
|
GeoLocation.Builder |
GeoLocation.Builder.area(java.lang.String area)
Sets a named area such as a campus or neighborhood.
|
GeoLocation.Builder |
GeoLocation.Builder.bearing(java.lang.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(java.lang.String building)
Sets a specific building on a street or in an area.
|
GeoLocation.Builder |
GeoLocation.Builder.country(java.lang.String country)
Sets the nation where the user is located.
|
GeoLocation.Builder |
GeoLocation.Builder.countryCode(java.lang.String countryCode)
Sets the ISO 3166 two-letter country code.
|
GeoLocation.Builder |
GeoLocation.Builder.datum(java.lang.String datum)
Sets the GPS datum.
|
GeoLocation.Builder |
GeoLocation.Builder.description(java.lang.String description)
Sets a natural-language name for or description of the location.
|
GeoLocation.Builder |
GeoLocation.Builder.floor(java.lang.String floor)
Sets a particular floor in a building.
|
GeoLocation.Builder |
GeoLocation.Builder.language(java.util.Locale language)
Sets the natural language of location data.
|
GeoLocation.Builder |
GeoLocation.Builder.latitude(java.lang.Double latitude)
Sets the latitude in decimal degrees North.
|
GeoLocation.Builder |
GeoLocation.Builder.locality(java.lang.String locality)
Sets a locality within the administrative region, such as a town or city.
|
GeoLocation.Builder |
GeoLocation.Builder.longitude(java.lang.Double longitude)
Sets the longitude in decimal degrees East.
|
GeoLocation.Builder |
GeoLocation.Builder.postalCode(java.lang.String postalCode)
Sets a code used for postal delivery.
|
GeoLocation.Builder |
GeoLocation.Builder.region(java.lang.String region)
Sets an administrative region of the nation, such as a state or province.
|
GeoLocation.Builder |
GeoLocation.Builder.room(java.lang.String room)
Sets a particular room in a building.
|
GeoLocation.Builder |
GeoLocation.Builder.speed(java.lang.Double speed)
Sets the speed at which the entity is moving, in meters per second.
|
GeoLocation.Builder |
GeoLocation.Builder.street(java.lang.String street)
Sets a thoroughfare within the locality, or a crossing of two thoroughfares.
|
GeoLocation.Builder |
GeoLocation.Builder.text(java.lang.String text)
Sets a catch-all element that captures any other information about the location.
|
GeoLocation.Builder |
GeoLocation.Builder.timestamp(java.time.Instant timestamp)
Sets the UTC timestamp specifying the moment when the reading was taken.
|
GeoLocation.Builder |
GeoLocation.Builder.timeZoneOffset(java.time.ZoneOffset zoneOffset)
Sets the time zone offset from UTC for the current location.
|
GeoLocation.Builder |
GeoLocation.Builder.uri(java.net.URI uri)
Sets a URI or URL pointing to information about the location.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.