Top | ![]() |
![]() |
![]() |
![]() |
gboolean
camel_offline_settings_get_stay_synchronized
(CamelOfflineSettings *settings
);
Returns whether to synchronize the local cache with the remote server before switching to offline mode, so the store's content can still be read while offline.
Since: 3.2
void camel_offline_settings_set_stay_synchronized (CamelOfflineSettings *settings
,gboolean stay_synchronized
);
Sets whether to synchronize the local cache with the remote server before switching to offline mode, so the store's content can still be read while offline.
Since: 3.2
gint
camel_offline_settings_get_store_changes_interval
(CamelOfflineSettings *settings
);
Returns the interval, in seconds, for the changes in the folder being saved automatically. 0 means immediately, while -1 means turning off automatic folder change saving.
Since: 3.18
void camel_offline_settings_set_store_changes_interval (CamelOfflineSettings *settings
,gint interval
);
Sets the interval, in seconds, for the changes in the folder being saved automatically. 0 means immediately, while -1 means turning off automatic folder change saving.
Since: 3.18
gboolean
camel_offline_settings_get_limit_by_age
(CamelOfflineSettings *settings
);
Since: 3.24
void camel_offline_settings_set_limit_by_age (CamelOfflineSettings *settings
,gboolean limit_by_age
);
Set whether the messages to download for offline should be limited
by age. If set to TRUE
, then messages older than 'limit-value'
will not be downloaded automatically.
Since: 3.24
CamelTimeUnit
camel_offline_settings_get_limit_unit (CamelOfflineSettings *settings
);
Since: 3.24
void camel_offline_settings_set_limit_unit (CamelOfflineSettings *settings
,CamelTimeUnit limit_unit
);
Set the limit unit to use when interpreting 'limit-value'.
Since: 3.24
gint
camel_offline_settings_get_limit_value
(CamelOfflineSettings *settings
);
Since: 3.24
void camel_offline_settings_set_limit_value (CamelOfflineSettings *settings
,gboolean limit_value
);
Set the limit, in 'limit-unit', to use when 'limit-by-age' is set to TRUE
.
Since: 3.24
struct CamelOfflineSettings { };
Contains only private data that should be read and manipulated using the functions below.
Since: 3.2