Store
Class
constructor
equal_
folder_
name
hash_
folder_
name
parent_
class
reserved_
methods
reserved_
signals
name
can_
refresh_
folder
create_
folder_
sync
delete_
folder_
sync
folder_
created
folder_
deleted
folder_
info_
stale
folder_
opened
folder_
renamed
get_
can_
auto_
save_
changes
get_
folder_
info_
sync
get_
folder_
sync
get_
inbox_
folder_
sync
get_
junk_
folder_
sync
get_
trash_
folder_
sync
initial_
setup_
sync
rename_
folder_
sync
synchronize_
sync
GJS API Reference
Camel-1.2
Camel
StoreClass
Class StoreClass
Hierarchy
StoreClass
Index
Constructors
constructor
Properties
equal_
folder_
name
hash_
folder_
name
parent_
class
reserved_
methods
reserved_
signals
name
Methods
can_
refresh_
folder
create_
folder_
sync
delete_
folder_
sync
folder_
created
folder_
deleted
folder_
info_
stale
folder_
opened
folder_
renamed
get_
can_
auto_
save_
changes
get_
folder_
info_
sync
get_
folder_
sync
get_
inbox_
folder_
sync
get_
junk_
folder_
sync
get_
trash_
folder_
sync
initial_
setup_
sync
rename_
folder_
sync
synchronize_
sync
Constructors
constructor
new
Store
Class
(
)
:
Camel
.
StoreClass
Returns
Camel
.
StoreClass
Properties
equal_
folder_
name
equal_
folder_
name
:
EqualFunc
hash_
folder_
name
hash_
folder_
name
:
HashFunc
parent_
class
parent_
class
:
Camel
.
ServiceClass
reserved_
methods
reserved_
methods
:
object
[]
reserved_
signals
reserved_
signals
:
object
[]
Static
name
name
:
string
Methods
can_
refresh_
folder
can_
refresh_
folder
(
store
:
Camel
.
Store
, info
:
FolderInfo
)
:
boolean
Parameters
store:
Camel
.
Store
info:
FolderInfo
Returns
boolean
create_
folder_
sync
create_
folder_
sync
(
store
:
Camel
.
Store
, parent_name
:
string
, folder_name
:
string
, cancellable
:
Gio
.
Cancellable
)
:
FolderInfo
Parameters
store:
Camel
.
Store
parent_name:
string
folder_name:
string
cancellable:
Gio
.
Cancellable
Returns
FolderInfo
delete_
folder_
sync
delete_
folder_
sync
(
store
:
Camel
.
Store
, folder_name
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
store:
Camel
.
Store
folder_name:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
folder_
created
folder_
created
(
store
:
Camel
.
Store
, folder_info
:
FolderInfo
)
:
void
Parameters
store:
Camel
.
Store
folder_info:
FolderInfo
Returns
void
folder_
deleted
folder_
deleted
(
store
:
Camel
.
Store
, folder_info
:
FolderInfo
)
:
void
Parameters
store:
Camel
.
Store
folder_info:
FolderInfo
Returns
void
folder_
info_
stale
folder_
info_
stale
(
store
:
Camel
.
Store
)
:
void
Parameters
store:
Camel
.
Store
Returns
void
folder_
opened
folder_
opened
(
store
:
Camel
.
Store
, folder
:
Camel
.
Folder
)
:
void
Parameters
store:
Camel
.
Store
folder:
Camel
.
Folder
Returns
void
folder_
renamed
folder_
renamed
(
store
:
Camel
.
Store
, old_name
:
string
, folder_info
:
FolderInfo
)
:
void
Parameters
store:
Camel
.
Store
old_name:
string
folder_info:
FolderInfo
Returns
void
get_
can_
auto_
save_
changes
get_
can_
auto_
save_
changes
(
store
:
Camel
.
Store
)
:
boolean
Parameters
store:
Camel
.
Store
Returns
boolean
get_
folder_
info_
sync
get_
folder_
info_
sync
(
store
:
Camel
.
Store
, top
:
string
, flags
:
StoreGetFolderInfoFlags
, cancellable
:
Gio
.
Cancellable
)
:
FolderInfo
Parameters
store:
Camel
.
Store
top:
string
flags:
StoreGetFolderInfoFlags
cancellable:
Gio
.
Cancellable
Returns
FolderInfo
get_
folder_
sync
get_
folder_
sync
(
store
:
Camel
.
Store
, folder_name
:
string
, flags
:
StoreGetFolderFlags
, cancellable
:
Gio
.
Cancellable
)
:
Camel
.
Folder
Parameters
store:
Camel
.
Store
folder_name:
string
flags:
StoreGetFolderFlags
cancellable:
Gio
.
Cancellable
Returns
Camel
.
Folder
get_
inbox_
folder_
sync
get_
inbox_
folder_
sync
(
store
:
Camel
.
Store
, cancellable
:
Gio
.
Cancellable
)
:
Camel
.
Folder
Parameters
store:
Camel
.
Store
cancellable:
Gio
.
Cancellable
Returns
Camel
.
Folder
get_
junk_
folder_
sync
get_
junk_
folder_
sync
(
store
:
Camel
.
Store
, cancellable
:
Gio
.
Cancellable
)
:
Camel
.
Folder
Parameters
store:
Camel
.
Store
cancellable:
Gio
.
Cancellable
Returns
Camel
.
Folder
get_
trash_
folder_
sync
get_
trash_
folder_
sync
(
store
:
Camel
.
Store
, cancellable
:
Gio
.
Cancellable
)
:
Camel
.
Folder
Parameters
store:
Camel
.
Store
cancellable:
Gio
.
Cancellable
Returns
Camel
.
Folder
initial_
setup_
sync
initial_
setup_
sync
(
store
:
Camel
.
Store
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
]
Parameters
store:
Camel
.
Store
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
]
rename_
folder_
sync
rename_
folder_
sync
(
store
:
Camel
.
Store
, old_name
:
string
, new_name
:
string
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
store:
Camel
.
Store
old_name:
string
new_name:
string
cancellable:
Gio
.
Cancellable
Returns
boolean
synchronize_
sync
synchronize_
sync
(
store
:
Camel
.
Store
, expunge
:
boolean
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
store:
Camel
.
Store
expunge:
boolean
cancellable:
Gio
.
Cancellable
Returns
boolean
Store
Class
constructor
equal_
folder_
name
hash_
folder_
name
parent_
class
reserved_
methods
reserved_
signals
name
can_
refresh_
folder
create_
folder_
sync
delete_
folder_
sync
folder_
created
folder_
deleted
folder_
info_
stale
folder_
opened
folder_
renamed
get_
can_
auto_
save_
changes
get_
folder_
info_
sync
get_
folder_
sync
get_
inbox_
folder_
sync
get_
junk_
folder_
sync
get_
trash_
folder_
sync
initial_
setup_
sync
rename_
folder_
sync
synchronize_
sync
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1ra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