Class GeolocationResult

java.lang.Object
ai.nextbillion.maps.model.GeolocationResult
All Implemented Interfaces:
java.io.Serializable

public class GeolocationResult
extends java.lang.Object
implements java.io.Serializable
A Geolocation API result.

A successful geolocation request will return a result defining a location and radius.

Please see Geolocation responses for more detail.

See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    double accuracy
    The accuracy of the estimated location, in meters.
    LatLng location
    The user’s estimated latitude and longitude.
  • Constructor Summary

    Constructors 
    Constructor Description
    GeolocationResult()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • location

      public LatLng location
      The user’s estimated latitude and longitude.
    • accuracy

      public double accuracy
      The accuracy of the estimated location, in meters. This represents the radius of a circle around the returned location.
  • Constructor Details

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object