Book
Meta
Backend
Class
constructor
name
connect_
sync
disconnect_
sync
get_
changes_
sync
get_
ssl_
error_
details
list_
existing_
sync
load_
contact_
sync
remove_
contact_
sync
requires_
reconnect
save_
contact_
sync
search_
sync
search_
uids_
sync
source_
changed
GJS API Reference
EDataBook-1.2
EDataBook
BookMetaBackendClass
Class BookMetaBackendClass
Class structure for the #EBookMetaBackend class.
record
Hierarchy
BookMetaBackendClass
Index
Constructors
constructor
Properties
name
Methods
connect_
sync
disconnect_
sync
get_
changes_
sync
get_
ssl_
error_
details
list_
existing_
sync
load_
contact_
sync
remove_
contact_
sync
requires_
reconnect
save_
contact_
sync
search_
sync
search_
uids_
sync
source_
changed
Constructors
constructor
new
Book
Meta
Backend
Class
(
)
:
BookMetaBackendClass
Returns
BookMetaBackendClass
Properties
Static
name
name
:
string
Methods
connect_
sync
connect_
sync
(
meta_backend
:
BookMetaBackend
, credentials
:
NamedParameters
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
SourceAuthenticationResult
,
string
,
TlsCertificateFlags
]
Parameters
meta_backend:
BookMetaBackend
credentials:
NamedParameters
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
SourceAuthenticationResult
,
string
,
TlsCertificateFlags
]
disconnect_
sync
disconnect_
sync
(
meta_backend
:
BookMetaBackend
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
meta_backend:
BookMetaBackend
cancellable:
Gio
.
Cancellable
Returns
boolean
get_
changes_
sync
get_
changes_
sync
(
meta_backend
:
BookMetaBackend
, last_sync_tag
:
string
, is_repeat
:
boolean
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
boolean
,
BookMetaBackendInfo
[]
,
BookMetaBackendInfo
[]
,
BookMetaBackendInfo
[]
]
Parameters
meta_backend:
BookMetaBackend
last_sync_tag:
string
is_repeat:
boolean
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
boolean
,
BookMetaBackendInfo
[]
,
BookMetaBackendInfo
[]
,
BookMetaBackendInfo
[]
]
get_
ssl_
error_
details
get_
ssl_
error_
details
(
meta_backend
:
BookMetaBackend
)
:
[
boolean
,
string
,
TlsCertificateFlags
]
Parameters
meta_backend:
BookMetaBackend
Returns
[
boolean
,
string
,
TlsCertificateFlags
]
list_
existing_
sync
list_
existing_
sync
(
meta_backend
:
BookMetaBackend
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
BookMetaBackendInfo
[]
]
Parameters
meta_backend:
BookMetaBackend
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
BookMetaBackendInfo
[]
]
load_
contact_
sync
load_
contact_
sync
(
meta_backend
:
BookMetaBackend
, uid
:
string
, extra
:
string
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
EBookContacts
.
Contact
,
string
]
Parameters
meta_backend:
BookMetaBackend
uid:
string
extra:
string
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
EBookContacts
.
Contact
,
string
]
remove_
contact_
sync
remove_
contact_
sync
(
meta_backend
:
BookMetaBackend
, conflict_resolution
:
ConflictResolution
, uid
:
string
, extra
:
string
, object
:
string
, opflags
:
number
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
meta_backend:
BookMetaBackend
conflict_resolution:
ConflictResolution
uid:
string
extra:
string
object:
string
opflags:
number
cancellable:
Gio
.
Cancellable
Returns
boolean
requires_
reconnect
requires_
reconnect
(
meta_backend
:
BookMetaBackend
)
:
boolean
Parameters
meta_backend:
BookMetaBackend
Returns
boolean
save_
contact_
sync
save_
contact_
sync
(
meta_backend
:
BookMetaBackend
, overwrite_existing
:
boolean
, conflict_resolution
:
ConflictResolution
, contact
:
EBookContacts
.
Contact
, extra
:
string
, opflags
:
number
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
,
string
]
Parameters
meta_backend:
BookMetaBackend
overwrite_existing:
boolean
conflict_resolution:
ConflictResolution
contact:
EBookContacts
.
Contact
extra:
string
opflags:
number
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
,
string
]
search_
sync
search_
sync
(
meta_backend
:
BookMetaBackend
, expr
:
string
, meta_contact
:
boolean
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
EBookContacts
.
Contact
[]
]
Parameters
meta_backend:
BookMetaBackend
expr:
string
meta_contact:
boolean
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
EBookContacts
.
Contact
[]
]
search_
uids_
sync
search_
uids_
sync
(
meta_backend
:
BookMetaBackend
, expr
:
string
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
string
[]
]
Parameters
meta_backend:
BookMetaBackend
expr:
string
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
string
[]
]
source_
changed
source_
changed
(
meta_backend
:
BookMetaBackend
)
:
void
Parameters
meta_backend:
BookMetaBackend
Returns
void
Book
Meta
Backend
Class
constructor
name
connect_
sync
disconnect_
sync
get_
changes_
sync
get_
ssl_
error_
details
list_
existing_
sync
load_
contact_
sync
remove_
contact_
sync
requires_
reconnect
save_
contact_
sync
search_
sync
search_
uids_
sync
source_
changed
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJFRGF0YUJvb2tfMV8yLkVEYXRhQm9vay5Cb29rTWV0YUJhY2tlbmRDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJFRGF0YUJvb2tfMV8yLkVEYXRhQm9vay5Cb29rTWV0YUJhY2tlbmRDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNo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