UnifiedNlp/api/src/org/microg/nlp/api/GeocoderBackend.aidl

14 lines
480 B
Plaintext

package org.microg.nlp.api;
import android.location.Location;
import android.location.Address;
interface GeocoderBackend {
void open();
List<Address> getFromLocation(double latitude, double longitude, int maxResults, String locale);
List<Address> getFromLocationName(String locationName, int maxResults, double lowerLeftLatitude,
double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude,
String locale);
void close();
}