LocationResponse

  • LocationResponse is a class that extends Response and is the result of calling getLocation().

  • The getLocation() method in LocationResponse returns the current lat/lng location of the device as a Location object.

  • LocationResponse inherits methods such as getResult() and setResult() from the Response class.

public class LocationResponse extends Response<LocationResult>

Result from getLocation().

Public Method Summary

Location
getLocation()
Returns the current lat/lng location of the device.

Inherited Method Summary

Public Methods

public Location getLocation ()

Returns the current lat/lng location of the device.

Returns
  • Location.