Reverse geocoding

Reverse geocoding is the opposite process to geocoding, meaning you query by geographical location and receive textual address of the location. You can define a filter if you do not want to take walkways into account or pass it an emptySet.

ReverseGeocoderProvider.getInstance(new CoreInitCallback<ReverseGeocoder>() {
    @Override
    public void onInstance(@NonNull ReverseGeocoder reverseGeocoder) {
        reverseGeocoder.reverseGeocode(position, Collections.emptySet(), new ReverseGeocoder.ReverseGeocodingResultListener() { // do not forget to filter out the walkways if you do not want them
            @Override
            public void onReverseGeocodingResult(@NotNull List<? extends ReverseGeocodingResult> list) {
            }

            @Override
            public void onReverseGeocodingResultError(@NotNull ReverseGeocoder.ErrorCode errorCode) {
            }
        });
    }

    @Override
    public void onError(CoreInitException e) {
    }
});