Backend
Interface
constructor
name
forward_
search
forward_
search_
async
forward_
search_
finish
reverse_
resolve
reverse_
resolve_
async
reverse_
resolve_
finish
GJS API Reference
GeocodeGlib-1.0
GeocodeGlib
BackendInterface
Class BackendInterface
Interface which defines the basic operations for geocoding.
record
Hierarchy
BackendInterface
Index
Constructors
constructor
Properties
name
Methods
forward_
search
forward_
search_
async
forward_
search_
finish
reverse_
resolve
reverse_
resolve_
async
reverse_
resolve_
finish
Constructors
constructor
new
Backend
Interface
(
)
:
GeocodeGlib
.
BackendInterface
Returns
GeocodeGlib
.
BackendInterface
Properties
Static
name
name
:
string
Methods
forward_
search
forward_
search
(
backend
:
GeocodeGlib
.
Backend
, params
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, cancellable
:
Gio
.
Cancellable
)
:
Place
[]
Parameters
backend:
GeocodeGlib
.
Backend
params:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
cancellable:
Gio
.
Cancellable
Returns
Place
[]
forward_
search_
async
forward_
search_
async
(
backend
:
GeocodeGlib
.
Backend
, params
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
backend:
GeocodeGlib
.
Backend
params:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
forward_
search_
finish
forward_
search_
finish
(
backend
:
GeocodeGlib
.
Backend
, result
:
AsyncResult
)
:
Place
[]
Parameters
backend:
GeocodeGlib
.
Backend
result:
AsyncResult
Returns
Place
[]
reverse_
resolve
reverse_
resolve
(
backend
:
GeocodeGlib
.
Backend
, params
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, cancellable
:
Gio
.
Cancellable
)
:
Place
[]
Parameters
backend:
GeocodeGlib
.
Backend
params:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
cancellable:
Gio
.
Cancellable
Returns
Place
[]
reverse_
resolve_
async
reverse_
resolve_
async
(
backend
:
GeocodeGlib
.
Backend
, params
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
backend:
GeocodeGlib
.
Backend
params:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
reverse_
resolve_
finish
reverse_
resolve_
finish
(
backend
:
GeocodeGlib
.
Backend
, result
:
AsyncResult
)
:
Place
[]
Parameters
backend:
GeocodeGlib
.
Backend
result:
AsyncResult
Returns
Place
[]
Backend
Interface
constructor
name
forward_
search
forward_
search_
async
forward_
search_
finish
reverse_
resolve
reverse_
resolve_
async
reverse_
resolve_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZW9jb2RlR2xpYl8xXzAuR2VvY29kZUdsaWIuQmFja2VuZEludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHZW9jb2RlR2xpYl8xXzAuR2VvY29kZUdsaWIuQmFja2VuZEludGVyZmFjZS5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2lu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