OfflineSettings
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_offline_settings_get_type ()" ) ]
[
Version ( since =
"3.2" ) ]
public class OfflineSettings :
StoreSettings
Contains only private data that should be read and manipulated using the functions below.
Content:
Properties:
- public bool limit_by_age { get; set construct; }
Whether to limit what will be synchronized by message date
- public TimeUnit limit_unit { get; set construct; }
A unit for the limit-value
- public int limit_value { get; set construct; }
How many days/weeks/months/years to download into the local cache, if
limit-by-age is set to true
- public bool stay_synchronized { get; set construct; }
Stay synchronized with the remote server
Creation methods:
Methods:
- public bool get_limit_by_age ()
- public TimeUnit get_limit_unit ()
- public int get_limit_value ()
- public bool get_stay_synchronized ()
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.
- public void set_limit_by_age (bool limit_by_age)
Set whether the messages to download for offline should be limited by
age.
- public void set_limit_unit (TimeUnit limit_unit)
Set the limit unit to use when interpreting 'limit-value'.
- public void set_limit_value (bool limit_value)
Set the limit, in 'limit-unit', to use when 'limit-by-age' is set to
true.
- public void set_stay_synchronized (bool 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.
Inherited Members:
All known members inherited from class Camel.StoreSettings
All known members inherited from class Camel.Settings
All known members inherited from class GLib.Object