LocationProvider interface


public  interface  LocationProvider 

Interface that should implement the class that provides the library with access to geolocation.

Information about the user's current location may be used for determining the most likely hypotheses, such as when using the Recognizer.Model.MAPS language model.


android.location.Location getLocation()

Returns the current coordinates.

Method descriptions


public android.location.Location getLocation ()

Returns the current coordinates.