### Class

# Camel OfflineSettings

since: 3.2

#### Description [src]

    class Camel.OfflineSettings : Camel.StoreSettings
    {
      /* No available fields */
    }

Contains only private data that should be read and manipulated using the functions below.

Available since: 3.2

#### Hierarchy

#### Ancestors

- CamelStoreSettings
- CamelSettings
- GObject

#### Instance methods

###### camel_offline_settings_get_limit_by_age

No description available.

since: 3.24

###### camel_offline_settings_get_limit_unit

No description available.

since: 3.24

###### camel_offline_settings_get_limit_value

No description available.

since: 3.24

###### camel_offline_settings_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.

since: 3.2

###### camel_offline_settings_set_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

###### camel_offline_settings_set_limit_unit

Set the limit unit to use when interpreting ‘limit-value’.

since: 3.24

###### camel_offline_settings_set_limit_value

Set the limit, in ‘limit-unit’, to use when ‘limit-by-age’ is set to `TRUE`.

since: 3.24

###### camel_offline_settings_set_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

##### Methods inherited from CamelStoreSettings (4)

###### camel_store_settings_get_filter_inbox

Returns whether to automatically apply filters to newly arrived messages in the store’s Inbox folder (assuming it has an Inbox folder).

since: 3.2

###### camel_store_settings_get_store_changes_interval

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.40

###### camel_store_settings_set_filter_inbox

Sets whether to automatically apply filters to newly arrived messages in the store’s Inbox folder (assuming it has an Inbox folder).

since: 3.2

###### camel_store_settings_set_store_changes_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.40

##### Methods inherited from CamelSettings (2)

###### camel_settings_clone

Creates a copy of `settings`, such that passing `settings` and the copied instance to `camel_settings_equal()` would return `TRUE`.

since: 3.2

###### camel_settings_equal

Returns `TRUE` if `settings_a` and `settings_b` are equal.

since: 3.2

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Camel.OfflineSettings:limit-by-age

Whether to limit what will be synchronized by message date.

###### Camel.OfflineSettings:limit-unit

A unit for the limit-value.

###### Camel.OfflineSettings:limit-value

How many days/weeks/months/years to download into the local cache, if limit-by-age is set to `TRUE`.

###### Camel.OfflineSettings:stay-synchronized

Stay synchronized with the remote server.

##### Properties inherited from CamelStoreSettings (2)

###### Camel.StoreSettings:filter-inbox

Whether to filter new messages in Inbox.

###### Camel.StoreSettings:store-changes-interval

Interval, in seconds, to store folder changes.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct CamelOfflineSettingsClass {
      CamelStoreSettingsClass parent_class;
      gpointer reserved;

    }

No description available.

###### Class members

`parent_class: CamelStoreSettingsClass`

  No description available.

`reserved: gpointer`

  No description available.