LocationProvider interface

ru.yandex.speechkit

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.

Methods

android.location.LocationgetLocation()

Returns the current coordinates.

Method descriptions

getLocation

public android.location.Location getLocation ()

Returns the current coordinates.