### Interface

# Camel Subscribable

since: 3.2

#### Description

    interface Camel.Subscribable : Camel.Store

No description available.

Available since: 3.2

#### Prerequisite

In order to implement Subscribable, your type must inherit from`CamelStore`.

#### Instance methods

###### camel_subscribable_folder_is_subscribed

Find out if a folder has been subscribed to.

since: 3.2

###### camel_subscribable_folder_subscribed

Emits the `CamelSubscribable::folder-subscribed` signal from an idle source on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.

since: 3.2

###### camel_subscribable_folder_unsubscribed

Emits the `CamelSubscribable::folder-unsubscribed` signal from an idle source on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.

since: 3.2

###### camel_subscribable_subscribe_folder

Asynchronously subscribes to the folder described by `folder_name`.

since: 3.2

###### camel_subscribable_subscribe_folder_finish

Finishes the operation started with camel_subscribable_subscribe_folder().

since: 3.2

###### camel_subscribable_subscribe_folder_sync

Subscribes to the folder described by `folder_name`.

since: 3.2

###### camel_subscribable_unsubscribe_folder

Asynchronously unsubscribes from the folder described by `folder_name`.

since: 3.2

###### camel_subscribable_unsubscribe_folder_finish

Finishes the operation started with camel_subscribable_unsubscribe_folder().

since: 3.2

###### camel_subscribable_unsubscribe_folder_sync

Unsubscribes from the folder described by `folder_name`.

since: 3.2

#### Signals

###### Camel.Subscribable::folder-subscribed

No description available.

###### Camel.Subscribable::folder-unsubscribed

No description available.

#### Interface structure

    struct CamelSubscribableInterface {
      GTypeInterface parent_interface;
      gboolean (* folder_is_subscribed) (
        CamelSubscribable* subscribable,
        const gchar* folder_name
      );
      gboolean (* subscribe_folder_sync) (
        CamelSubscribable* subscribable,
        const gchar* folder_name,
        GCancellable* cancellable,
        GError** error
      );
      gboolean (* unsubscribe_folder_sync) (
        CamelSubscribable* subscribable,
        const gchar* folder_name,
        GCancellable* cancellable,
        GError** error
      );
      gpointer reserved_methods;
      void (* folder_subscribed) (
        CamelSubscribable* subscribable,
        CamelFolderInfo* folder_info
      );
      void (* folder_unsubscribed) (
        CamelSubscribable* subscribable,
        CamelFolderInfo* folder_info
      );
      gpointer reserved_signals;

    }

No description available.

###### Interface members

`parent_interface` |
    GTypeInterface
| No description available.
`folder_is_subscribed` |
    gboolean (* folder_is_subscribed) (
        CamelSubscribable* subscribable,
        const gchar* folder_name
      )
| No description available.
`subscribe_folder_sync` |
    gboolean (* subscribe_folder_sync) (
        CamelSubscribable* subscribable,
        const gchar* folder_name,
        GCancellable* cancellable,
        GError** error
      )
| No description available.
`unsubscribe_folder_sync` |
    gboolean (* unsubscribe_folder_sync) (
        CamelSubscribable* subscribable,
        const gchar* folder_name,
        GCancellable* cancellable,
        GError** error
      )
| No description available.
`reserved_methods` |
    gpointer
| No description available.
`folder_subscribed` |
    void (* folder_subscribed) (
        CamelSubscribable* subscribable,
        CamelFolderInfo* folder_info
      )
| No description available.
`folder_unsubscribed` |
    void (* folder_unsubscribed) (
        CamelSubscribable* subscribable,
        CamelFolderInfo* folder_info
      )
| No description available.
`reserved_signals` |
    gpointer
| No description available.

#### Virtual methods

###### Camel.Subscribable.folder_is_subscribed

Find out if a folder has been subscribed to.

since: 3.2

###### Camel.Subscribable.folder_subscribed

Emits the `CamelSubscribable::folder-subscribed` signal from an idle source on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.

since: 3.2

###### Camel.Subscribable.folder_unsubscribed

Emits the `CamelSubscribable::folder-unsubscribed` signal from an idle source on the main loop. The idle source’s priority is #G_PRIORITY_HIGH_IDLE.

since: 3.2

###### Camel.Subscribable.subscribe_folder_sync

Subscribes to the folder described by `folder_name`.

since: 3.2

###### Camel.Subscribable.unsubscribe_folder_sync

Unsubscribes from the folder described by `folder_name`.

since: 3.2