forward_search


Description:

public abstract List<Place> forward_search (HashTable<string,Value?> @params, Cancellable? cancellable = null) throws Error

Gets the result of a forward geocoding query using the this.

If no results are found, a NO_MATCHES error is returned.

This is a synchronous function, which means it may block on network requests. In most situations, the asynchronous version (geocode_backend_forward_search_async()) is more appropriate. See its documentation for more information on usage.

Parameters:

this

a Backend.

cancellable

optional Cancellable, null to ignore.

params

a GenericSet with string keys, and Value values.

Returns:

A list of places or null in case of errors. Free the returned instances with unref and the list with g_list_free when done.




2022 vala-language.org