LocationResult

  • LocationResult is a Result returned from calling getLocation(GoogleApiClient).

  • It implements the Result interface.

  • The getLocation() method returns the current lat/lng location of the device.

public interface LocationResult implements Result

Public Method Summary

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

Inherited Method Summary

Public Methods

public abstract Location getLocation ()

Returns the current lat/lng location of the device.

Returns
  • Location if getStatus() is successful, otherwise null.