Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • 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 Detail

      • GeolocationResult

        public GeolocationResult()
    • Method Detail

      • toString

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