Interface LocationProvider

ru.yandex.speechkit

public  interface  LocationProvider 

Interface for accessing geolocation.

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

Methods

android.location.LocationgetLocation()

Returns the current coordinates of the user's location.

Method Detail

getLocation

public android.location.Location getLocation ()

Returns the current coordinates of the user's location.

Returns:

Current coordinates of the user's location.