### Class

# Snapd Client

since: 1.0

#### Description [src]

    class Snapd.Client : GObject.Object
    {
      /* No available fields */
    }

`SnapdClient` contains connection state with snapd.

Available since: 1.0

#### Ancestors

- GObject

#### Constructors

###### snapd_client_new

Create a new client to talk to snapd.

since: 1.0

###### snapd_client_new_from_socket

Create a new client to talk on an existing socket.

since: 1.5

#### Instance methods

###### snapd_client_abort_change_async

Asynchronously abort a change. See `snapd_client_abort_change_sync()` for more information.

since: 1.30

###### snapd_client_abort_change_finish

Complete request started with snapd_client_abort_change_async(). See `snapd_client_abort_change_sync()` for more information.

since: 1.30

###### snapd_client_abort_change_sync

Get information on a change.

since: 1.30

###### snapd_client_add_assertions_async

Asynchronously add an assertion. See `snapd_client_add_assertions_sync()` for more information.

since: 1.8

###### snapd_client_add_assertions_finish

Complete request started with snapd_client_add_assertions_async(). See `snapd_client_add_assertions_sync()` for more information.

since: 1.8

###### snapd_client_add_assertions_sync

Add an assertion.

since: 1.8

###### snapd_client_alias_async

Asynchronously create an alias to an app. See `snapd_client_alias_sync()` for more information.

since: 1.25

###### snapd_client_alias_finish

Complete request started with snapd_client_alias_async(). See `snapd_client_alias_sync()` for more information.

since: 1.25

###### snapd_client_alias_sync

Create an alias to an app.

since: 1.25

###### snapd_client_ask_interface_request_async

Ask snapd whether a snap should be granted access to a given interface.

since: 1.72

###### snapd_client_ask_interface_request_finish

Complete request started with snapd_client_ask_interface_request_async(). See `snapd_client_ask_interface_request_sync()` for more information.

since: 1.72

###### snapd_client_ask_interface_request_sync

Synchronously ask snapd whether a snap should be granted access to a given interface.

since: 1.72

###### snapd_client_buy_async

Asynchronously buy a snap from the store. See `snapd_client_buy_sync()` for more information.

since: 1.3

###### snapd_client_buy_finish

Complete request started with snapd_client_buy_async(). See `snapd_client_buy_sync()` for more information.

since: 1.3

###### snapd_client_buy_sync

Buy a snap from the store. Once purchased, this snap can be installed with snapd_client_install2_sync().

since: 1.3

###### snapd_client_check_buy_async

Asynchronously check if able to buy snaps. See `snapd_client_check_buy_sync()` for more information.

since: 1.3

###### snapd_client_check_buy_finish

Complete request started with snapd_client_check_buy_async(). See `snapd_client_check_buy_sync()` for more information.

since: 1.3

###### snapd_client_check_buy_sync

Check if able to buy snaps.

since: 1.3

###### snapd_client_check_themes_async

Asynchronously check for snaps providing the requested desktop themes. See `snapd_client_check_themes_sync()` for more information.

since: 1.60

###### snapd_client_check_themes_finish

Complete request started with snapd_client_check_themes_async(). See `snapd_client_check_themes_sync()` for more information.

since: 1.60

###### snapd_client_check_themes_sync

Check the status of snap packaged versions of named desktop themes. For each theme, it will determine whether it is already installed, uninstalled but available on the store, or unavailable.

since: 1.60

###### snapd_client_connect_async

This method is no longer required and does nothing, snapd-glib now connects on demand.

deprecated: 1.24 since: 1.3

###### snapd_client_connect_finish

Complete request started with snapd_client_connect_async(). See `snapd_client_connect_sync()` for more information.

since: 1.3

###### snapd_client_connect_interface_async

Asynchronously connect two interfaces together. See `snapd_client_connect_interface_sync()` for more information.

since: 1.0

###### snapd_client_connect_interface_finish

Complete request started with snapd_client_connect_interface_async(). See `snapd_client_connect_interface_sync()` for more information.

since: 1.0

###### snapd_client_connect_interface_sync

Connect two interfaces together. An asynchronous version of this function is snapd_client_connect_interface_async().

since: 1.0

###### snapd_client_connect_sync

This method is no longer required and does nothing, snapd-glib now connects on demand.

since: 1.0

###### snapd_client_create_user_async

Asynchronously create a local user account. See `snapd_client_create_user_sync()` for more information.

since: 1.3

###### snapd_client_create_user_finish

Complete request started with snapd_client_create_user_async(). See `snapd_client_create_user_sync()` for more information.

since: 1.3

###### snapd_client_create_user_sync

Create a local user account for the given user.

since: 1.3

###### snapd_client_create_users_async

Asynchronously create local user accounts using the system-user assertions that are valid for this device. See `snapd_client_create_users_sync()` for more information.

since: 1.3

###### snapd_client_create_users_finish

Complete request started with snapd_client_create_users_async(). See `snapd_client_create_users_sync()` for more information.

since: 1.3

###### snapd_client_create_users_sync

Create local user accounts using the system-user assertions that are valid for this device.

since: 1.3

###### snapd_client_disable_aliases_async

Asynchronously change the state of aliases. See `snapd_client_disable_aliases_sync()` for more information.

deprecated: 1.25 since: 1.8

###### snapd_client_disable_aliases_finish

Complete request started with snapd_client_disable_aliases_async(). See `snapd_client_disable_aliases_sync()` for more information.

deprecated: 1.25 since: 1.8

###### snapd_client_disable_aliases_sync

Change the state of aliases.

deprecated: 1.25 since: 1.8

###### snapd_client_disable_async

Asynchronously disable an installed snap. See `snapd_client_disable_sync()` for more information.

since: 1.0

###### snapd_client_disable_finish

Complete request started with snapd_client_disable_async(). See `snapd_client_disable_sync()` for more information.

since: 1.0

###### snapd_client_disable_sync

Disable an installed snap.

since: 1.0

###### snapd_client_disconnect_interface_async

Asynchronously disconnect two interfaces. See `snapd_client_disconnect_interface_sync()` for more information.

since: 1.0

###### snapd_client_disconnect_interface_finish

Complete request started with snapd_client_disconnect_interface_async(). See `snapd_client_disconnect_interface_sync()` for more information.

since: 1.0

###### snapd_client_disconnect_interface_sync

Disconnect two interfaces.

since: 1.0

###### snapd_client_download_async

Asynchronously download a snap. See `snapd_client_download_sync()` for more information.

since: 1.54

###### snapd_client_download_finish

Complete request started with snapd_client_download_async(). See `snapd_client_download_sync()` for more information.

since: 1.54

###### snapd_client_download_sync

Download the given snap.

since: 1.54

###### snapd_client_enable_aliases_async

Asynchronously change the state of aliases. See `snapd_client_enable_aliases_sync()` for more information.

deprecated: 1.25 since: 1.8

###### snapd_client_enable_aliases_finish

Complete request started with snapd_client_enable_aliases_async(). See `snapd_client_enable_aliases_sync()` for more information.

deprecated: 1.25 since: 1.8

###### snapd_client_enable_aliases_sync

Change the state of aliases.

deprecated: 1.25 since: 1.8

###### snapd_client_enable_async

Asynchronously enable an installed snap. See `snapd_client_enable_sync()` for more information.

since: 1.0

###### snapd_client_enable_finish

Complete request started with snapd_client_enable_async(). See `snapd_client_enable_sync()` for more information.

since: 1.0

###### snapd_client_enable_sync

Enable an installed snap.

since: 1.0

###### snapd_client_find_async

Asynchronously find snaps in the store. See `snapd_client_find_sync()` for more information.

since: 1.0

###### snapd_client_find_category_async

Asynchronously find snaps in the store. See `snapd_client_find_category_sync()` for more information.

since: 1.64

###### snapd_client_find_category_finish

Complete request started with snapd_client_find_async(). See `snapd_client_find_sync()` for more information.

since: 1.64

###### snapd_client_find_category_sync

Find snaps in the store.

since: 1.64

###### snapd_client_find_finish

Complete request started with snapd_client_find_async(). See `snapd_client_find_sync()` for more information.

since: 1.0

###### snapd_client_find_refreshable_async

Asynchronously find snaps in store that are newer revisions than locally installed versions. See `snapd_client_find_refreshable_sync()` for more information.

since: 1.8

###### snapd_client_find_refreshable_finish

Complete request started with snapd_client_find_refreshable_async(). See `snapd_client_find_refreshable_sync()` for more information.

since: 1.5

###### snapd_client_find_refreshable_sync

Find snaps in store that are newer revisions than locally installed versions.

since: 1.8

###### snapd_client_find_section_async

Asynchronously find snaps in the store. See `snapd_client_find_section_sync()` for more information.

deprecated: 1.64 since: 1.7

###### snapd_client_find_section_finish

Complete request started with snapd_client_find_async(). See `snapd_client_find_sync()` for more information.

deprecated: 1.64 since: 1.7

###### snapd_client_find_section_sync

Find snaps in the store.

deprecated: 1.64 since: 1.7

###### snapd_client_find_sync

Find snaps in the store.

since: 1.0

###### snapd_client_follow_logs_async

Follow logs for snap services. This call will only complete if snapd closes the connection and will stop any other request on this client from being sent.

since: 1.64

###### snapd_client_follow_logs_finish

Complete request started with snapd_client_follow_logs_async(). See `snapd_client_follow_logs_sync()` for more information.

since: 1.64

###### snapd_client_follow_logs_sync

Follow logs for snap services. This call will only complete if snapd closes the connection and will stop any other request on this client from being sent.

since: 1.64

###### snapd_client_get_aliases_async

Asynchronously get the available aliases. See `snapd_client_get_aliases_sync()` for more information.

since: 1.8

###### snapd_client_get_aliases_finish

Complete request started with snapd_client_get_aliases_async(). See `snapd_client_get_aliases_sync()` for more information.

since: 1.8

###### snapd_client_get_aliases_sync

Get the available aliases.

since: 1.8

###### snapd_client_get_allow_interaction

Get whether snapd operations are allowed to interact with the user.

since: 1.19

###### snapd_client_get_apps2_async

Asynchronously get information on installed apps. See `snapd_client_get_apps2_sync()` for more information.

since: 1.45

###### snapd_client_get_apps2_finish

Complete request started with snapd_client_get_apps2_async(). See `snapd_client_get_apps2_sync()` for more information.

since: 1.45

###### snapd_client_get_apps2_sync

Get information on installed apps.

since: 1.45

###### snapd_client_get_apps_async

Asynchronously get information on installed apps. See `snapd_client_get_apps_sync()` for more information.

deprecated: 1.45 since: 1.25

###### snapd_client_get_apps_finish

Complete request started with snapd_client_get_apps_async(). See `snapd_client_get_apps_sync()` for more information.

deprecated: 1.45 since: 1.25

###### snapd_client_get_apps_sync

Get information on installed apps.

deprecated: 1.45 since: 1.25

###### snapd_client_get_assertions_async

Asynchronously get assertions. See `snapd_client_get_assertions_sync()` for more information.

since: 1.8

###### snapd_client_get_assertions_finish

Complete request started with snapd_client_get_assertions_async(). See `snapd_client_get_assertions_sync()` for more information.

since: 1.8

###### snapd_client_get_assertions_sync

Get assertions.

since: 1.8

###### snapd_client_get_auth_data

Get the authorization data that is used for requests.

since: 1.0

###### snapd_client_get_categories_async

Asynchronously get the store categories. See `snapd_client_get_categories_sync()` for more information.

since: 1.64

###### snapd_client_get_categories_finish

Complete request started with snapd_client_get_categories_async(). See `snapd_client_get_categories_sync()` for more information.

since: 1.64

###### snapd_client_get_categories_sync

Get the store categories.

since: 1.64

###### snapd_client_get_change_async

Asynchronously get information on a change. See `snapd_client_get_change_sync()` for more information.

since: 1.29

###### snapd_client_get_change_finish

Complete request started with snapd_client_get_change_async(). See `snapd_client_get_change_sync()` for more information.

since: 1.29

###### snapd_client_get_change_sync

Get information on a change.

since: 1.29

###### snapd_client_get_changes_async

Asynchronously get changes that have occurred / are occurring on the snap daemon. See `snapd_client_get_changes_sync()` for more information.

since: 1.29

###### snapd_client_get_changes_finish

Complete request started with snapd_client_get_changes_async(). See `snapd_client_get_changes_sync()` for more information.

since: 1.29

###### snapd_client_get_changes_sync

Get changes that have occurred / are occurring on the snap daemon.

since: 1.29

###### snapd_client_get_connections2_async

Asynchronously get the installed snap connections. See `snapd_client_get_connections_sync()` for more information.

since: 1.49

###### snapd_client_get_connections2_finish

Complete request started with snapd_client_get_connections_async(). See `snapd_client_get_connections_sync()` for more information.

since: 1.49

###### snapd_client_get_connections2_sync

Get the installed snap connections.

since: 1.49

###### snapd_client_get_connections_async

Asynchronously get the installed snap connections. See `snapd_client_get_connections_sync()` for more information.

deprecated: 1.49 since: 1.48

###### snapd_client_get_connections_finish

Complete request started with snapd_client_get_connections_async(). See `snapd_client_get_connections_sync()` for more information.

deprecated: 1.49 since: 1.48

###### snapd_client_get_connections_sync

Get the installed snap connections.

deprecated: 1.49 since: 1.48

###### snapd_client_get_icon_async

Asynchronously get the icon for an installed snap. See `snapd_client_get_icon_sync()` for more information.

since: 1.0

###### snapd_client_get_icon_finish

Complete request started with snapd_client_get_icon_async(). See `snapd_client_get_icon_sync()` for more information.

since: 1.0

###### snapd_client_get_icon_sync

Get the icon for an installed snap.

since: 1.0

###### snapd_client_get_interfaces2_async

Asynchronously get the installed snap interfaces. See `snapd_client_get_interfaces2_sync()` for more information.

since: 1.48

###### snapd_client_get_interfaces2_finish

Complete request started with snapd_client_get_interfaces2_async(). See `snapd_client_get_interfaces2_sync()` for more information.

since: 1.48

###### snapd_client_get_interfaces2_sync

Get information about the available snap interfaces.

since: 1.48

###### snapd_client_get_interfaces_async

Asynchronously get the installed snap interfaces. See `snapd_client_get_interfaces_sync()` for more information.

deprecated: 1.48 since: 1.0

###### snapd_client_get_interfaces_finish

Complete request started with snapd_client_get_interfaces_async(). See `snapd_client_get_interfaces_sync()` for more information.

deprecated: 1.48 since: 1.0

###### snapd_client_get_interfaces_sync

Get the installed snap interfaces.

deprecated: 1.48 since: 1.0

###### snapd_client_get_logs_async

Asynchronously get logs for snap services. See `snapd_client_get_logs_sync()` for more information.

since: 1.64

###### snapd_client_get_logs_finish

Complete request started with snapd_client_get_logs_async(). See `snapd_client_get_logs_sync()` for more information.

since: 1.64

###### snapd_client_get_logs_sync

Get logs for snap services.

since: 1.64

###### snapd_client_get_maintenance

Get the maintenance information reported by snapd or `NULL` if no maintenance is in progress. This information is updated after every request.

since: 1.45

###### snapd_client_get_model_assertion_async

Get the active model assertion for this device.

since: 1.67

###### snapd_client_get_model_assertion_finish

Complete request started with snapd_client_get_model_assertion_async(). See `snapd_client_get_model_assertion_sync()` for more information.

since: 1.67

###### snapd_client_get_model_assertion_sync

Synchronously get the active model assertion for this device.

since: 1.67

###### snapd_client_get_notices_async

Asynchronously get notifications that have occurred / are occurring on the snap daemon.

since: 1.65

###### snapd_client_get_notices_finish

Complete request started with snapd_client_get_notices_async().

since: 1.65

###### snapd_client_get_notices_sync

Synchronously get notifications that have occurred / are occurring on the snap daemon.

since: 1.65

###### snapd_client_get_notices_with_filters_async

Asynchronously get notifications that have occurred / are occurring on the snap daemon, allowing to filter the results with several options.

since: 1.65

###### snapd_client_get_notices_with_filters_finish

Complete request started with snapd_client_get_notices_with_filters_async().

since: 1.65

###### snapd_client_get_notices_with_filters_sync

Synchronously get notifications that have occurred / are occurring on the snap daemon, allowing to filter the results with several options.

since: 1.65

###### snapd_client_get_sections_async

Asynchronously get the store sections. See `snapd_client_get_sections_sync()` for more information.

deprecated: 1.64 since: 1.7

###### snapd_client_get_sections_finish

Complete request started with snapd_client_get_sections_async(). See `snapd_client_get_sections_sync()` for more information.

deprecated: 1.64 since: 1.7

###### snapd_client_get_sections_sync

Get the store sections.

deprecated: 1.64 since: 1.7

###### snapd_client_get_serial_assertion_async

Get the active serial assertion for this device.

since: 1.67

###### snapd_client_get_serial_assertion_finish

Complete request started with snapd_client_get_serial_assertion_async(). See `snapd_client_get_serial_assertion_sync()` for more information.

since: 1.67

###### snapd_client_get_serial_assertion_sync

Synchronously get the active serial assertion for this device.

since: 1.67

###### snapd_client_get_snap_async

Asynchronously get information of a single installed snap. See `snapd_client_get_snap_sync()` for more information.

since: 1.42

###### snapd_client_get_snap_conf_async

Asynchronously get configuration for a snap. See `snapd_client_get_snap_conf_sync()` for more information.

since: 1.48

###### snapd_client_get_snap_conf_finish

Complete request started with snapd_client_get_snap_conf_async(). See `snapd_client_get_snap_conf_sync()` for more information.

since: 1.48

###### snapd_client_get_snap_conf_sync

Get configuration for a snap. System configuration is stored using the name “system”.

since: 1.48

###### snapd_client_get_snap_finish

Complete request started with snapd_client_get_snap_async(). See `snapd_client_get_snap_sync()` for more information.

since: 1.42

###### snapd_client_get_snap_sync

Get information of a single installed snap. If the snap does not exist an error occurs.

since: 1.42

###### snapd_client_get_snaps_async

Asynchronously get information on installed snaps. See `snapd_client_get_snaps_sync()` for more information.

since: 1.42

###### snapd_client_get_snaps_finish

Complete request started with snapd_client_get_snaps_async(). See `snapd_client_get_snaps_sync()` for more information.

since: 1.42

###### snapd_client_get_snaps_sync

Get information on installed snaps (snaps with status `SNAPD_SNAP_STATUS_ACTIVE`). If `flags` contains `SNAPD_GET_SNAPS_FLAGS_INCLUDE_INACTIVE` then also return snaps with status `SNAPD_SNAP_STATUS_INSTALLED`.

since: 1.42

###### snapd_client_get_socket_path

Get the unix socket path to connect to snapd with.

since: 1.24

###### snapd_client_get_system_information_async

Request system information asynchronously from snapd. See `snapd_client_get_system_information_sync()` for more information.

since: 1.0

###### snapd_client_get_system_information_finish

Complete request started with snapd_client_get_system_information_async(). See `snapd_client_get_system_information_sync()` for more information.

since: 1.0

###### snapd_client_get_system_information_sync

Request system information from snapd. While this blocks, snapd is expected to return the information quickly.

since: 1.0

###### snapd_client_get_user_agent

Get the HTTP user-agent that is sent with each request to snapd.

since: 1.16

###### snapd_client_get_users_async

Asynchronously get user accounts that are valid for this device. See `snapd_client_get_users_sync()` for more information.

since: 1.26

###### snapd_client_get_users_finish

Complete request started with snapd_client_get_users_async(). See `snapd_client_get_users_sync()` for more information.

since: 1.26

###### snapd_client_get_users_sync

Get user accounts that are valid for this device.

since: 1.26

###### snapd_client_install2_async

Asynchronously install a snap from the store. See `snapd_client_install2_sync()` for more information.

since: 1.12

###### snapd_client_install2_finish

Complete request started with snapd_client_install2_async(). See `snapd_client_install2_sync()` for more information.

since: 1.12

###### snapd_client_install2_sync

Install a snap from the store.

since: 1.12

###### snapd_client_install_async

Asynchronously install a snap from the store. See `snapd_client_install_sync()` for more information.

deprecated: 1.12 since: 1.0

###### snapd_client_install_finish

Complete request started with snapd_client_install_async(). See `snapd_client_install_sync()` for more information.

deprecated: 1.12 since: 1.0

###### snapd_client_install_stream_async

Asynchronously install a snap. See `snapd_client_install_stream_sync()` for more information.

since: 1.9

###### snapd_client_install_stream_finish

Complete request started with snapd_client_install_stream_async(). See `snapd_client_install_stream_sync()` for more information.

since: 1.9

###### snapd_client_install_stream_sync

Install a snap. The snap contents are provided in the form of an input stream. To install from a local file, do the following:.

since: 1.9

###### snapd_client_install_sync

Install a snap from the store.

deprecated: 1.12 since: 1.0

###### snapd_client_install_themes_async

Asynchronously install snaps that provide the requested desktop themes. See `snapd_client_install_themes_sync()` for more information.

since: 1.60

###### snapd_client_install_themes_finish

Complete request started with snapd_client_install_themes_async(). See `snapd_client_install_themes_sync()` for more information.

since: 1.60

###### snapd_client_install_themes_sync

Install snaps that provide the named desktop themes. If all the named themes are in the “installed” or “unavailable” states, then an error will be returned.

since: 1.60

###### snapd_client_list_async

Asynchronously get information on all installed snaps. See `snapd_client_list_sync()` for more information.

deprecated: 1.42 since: 1.0

###### snapd_client_list_finish

Complete request started with snapd_client_list_async(). See `snapd_client_list_sync()` for more information.

deprecated: 1.42 since: 1.0

###### snapd_client_list_one_async

Asynchronously get information of a single installed snap. See `snapd_client_list_one_sync()` for more information.

deprecated: 1.42 since: 1.0

###### snapd_client_list_one_finish

Complete request started with snapd_client_list_one_async(). See `snapd_client_list_one_sync()` for more information.

deprecated: 1.42 since: 1.0

###### snapd_client_list_one_sync

Get information of a single installed snap.

deprecated: 1.42 since: 1.0

###### snapd_client_list_sync

Get information on all installed snaps.

deprecated: 1.42 since: 1.0

###### snapd_client_login2_async

Asynchronously get authorization to install/remove snaps. See `snapd_client_login2_sync()` for more information.

since: 1.26

###### snapd_client_login2_finish

Complete request started with snapd_client_login2_async(). See `snapd_client_login2_sync()` for more information.

since: 1.26

###### snapd_client_login2_sync

Log in to snapd and get authorization to install/remove snaps.

since: 1.26

###### snapd_client_login_async

Asynchronously get authorization to install/remove snaps. See `snapd_client_login_sync()` for more information.

deprecated: 1.26 since: 1.0

###### snapd_client_login_finish

Complete request started with snapd_client_login_async(). See `snapd_client_login_sync()` for more information.

deprecated: 1.26 since: 1.0

###### snapd_client_login_sync

Log in to snapd and get authorization to install/remove snaps.

deprecated: 1.26 since: 1.0

###### snapd_client_logout_async

Asynchronously log out from the snap store. See `snapd_client_logout_sync()` for more information.

since: 1.55

###### snapd_client_logout_finish

Complete request started with snapd_client_logout_async(). See `snapd_client_logout_sync()` for more information.

since: 1.55

###### snapd_client_logout_sync

Log out from snapd.

since: 1.55

###### snapd_client_notices_set_after_notice

Allows to set the “since” parameter with nanosecond accuracy when doing a call to get the notices. This is currently needed because GDateTime has only an accuracy of 1 microsecond, but to receive notice events correctly, without loosing any of them, an accuracy of 1 nanosecond is needed in the value passed on in the `since_date_time` parameter.

since: 1.66

###### snapd_client_notices_set_since_nanoseconds

Allows to set the “since” parameter with nanosecond accuracy when doing a call to get the notices. This is currently needed because GDateTime has only an accuracy of 1 microsecond, but to receive notice events correctly, without loosing any, it is needed 1 nanosecond accuracy in the value passed on in the `since_date_time` parameter.

since: 1.66

###### snapd_client_prefer_async

Asynchronously ???. See `snapd_client_prefer_sync()` for more information.

since: 1.25

###### snapd_client_prefer_finish

Complete request started with snapd_client_prefer_async(). See `snapd_client_prefer_sync()` for more information.

since: 1.25

###### snapd_client_prefer_sync

???

since: 1.25

###### snapd_client_refresh_all_async

Asynchronously ensure all snaps are updated to their latest versions. See `snapd_client_refresh_all_sync()` for more information.

since: 1.5

###### snapd_client_refresh_all_finish

Complete request started with snapd_client_refresh_all_async(). See `snapd_client_refresh_all_sync()` for more information.

since: 1.5

###### snapd_client_refresh_all_sync

Update all installed snaps to their latest version.

since: 1.5

###### snapd_client_refresh_async

Asynchronously ensure an installed snap is at the latest version. See `snapd_client_refresh_sync()` for more information.

since: 1.0

###### snapd_client_refresh_finish

Complete request started with snapd_client_refresh_async(). See `snapd_client_refresh_sync()` for more information.

since: 1.0

###### snapd_client_refresh_sync

Ensure an installed snap is at the latest version.

since: 1.0

###### snapd_client_remove2_async

Asynchronously uninstall a snap. See `snapd_client_remove2_sync()` for more information.

since: 1.50

###### snapd_client_remove2_finish

Complete request started with snapd_client_remove2_async(). See `snapd_client_remove2_sync()` for more information.

since: 1.50

###### snapd_client_remove2_sync

Uninstall a snap.

since: 1.50

###### snapd_client_remove_async

Asynchronously uninstall a snap. See `snapd_client_remove_sync()` for more information.

since: 1.0

###### snapd_client_remove_finish

Complete request started with snapd_client_remove_async(). See `snapd_client_remove_sync()` for more information.

since: 1.0

###### snapd_client_remove_sync

Uninstall a snap.

deprecated: 1.50 since: 1.0

###### snapd_client_reset_aliases_async

Asynchronously change the state of aliases. See `snapd_client_reset_aliases_sync()` for more information.

deprecated: 1.25 since: 1.8

###### snapd_client_reset_aliases_finish

Complete request started with snapd_client_reset_aliases_async(). See `snapd_client_reset_aliases_sync()` for more information.

deprecated: 1.25 since: 1.8

###### snapd_client_reset_aliases_sync

Change the state of aliases.

deprecated: 1.25 since: 1.8

###### snapd_client_run_snapctl2_async

Asynchronously run a snapctl command. See `snapd_client_run_snapctl_sync()` for more information.

since: 1.59

###### snapd_client_run_snapctl2_finish

Complete request started with snapd_client_run_snapctl2_async(). See `snapd_client_run_snapctl2_sync()` for more information.

since: 1.59

###### snapd_client_run_snapctl2_sync

Run a snapctl command.

since: 1.59

###### snapd_client_run_snapctl_async

Asynchronously run a snapctl command. See `snapd_client_run_snapctl_sync()` for more information.

deprecated: 1.59 since: 1.8

###### snapd_client_run_snapctl_finish

Complete request started with snapd_client_run_snapctl_async(). See `snapd_client_run_snapctl_sync()` for more information.

deprecated: 1.59 since: 1.8

###### snapd_client_run_snapctl_sync

Run a snapctl command.

deprecated: 1.59 since: 1.8

###### snapd_client_set_allow_interaction

Set whether snapd operations are allowed to interact with the user. This affects operations that use polkit authorisation. Defaults to TRUE.

since: 1.19

###### snapd_client_set_auth_data

Set the authorization data to use for requests. Authorization data can be obtained by:.

since: 1.0

###### snapd_client_set_snap_conf_async

Asynchronously set configuration for a snap. See `snapd_client_set_snap_conf_sync()` for more information.

since: 1.48

###### snapd_client_set_snap_conf_finish

Complete request started with snapd_client_set_snap_conf_async(). See `snapd_client_set_snap_conf_sync()` for more information.

since: 1.48

###### snapd_client_set_snap_conf_sync

Set configuration for a snap. System configuration is stored using the name “system”.

since: 1.48

###### snapd_client_set_socket_path

Set the Unix socket path to connect to snapd with. Defaults to the system socket, taking into account if the code is running confined in a Snap or not.

since: 1.24

###### snapd_client_set_user_agent

Set the HTTP user-agent that is sent with each request to snapd. Defaults to “snapd-glib/VERSION”.

since: 1.16

###### snapd_client_switch_async

Asynchronously set the tracking channel on an installed snap. See `snapd_client_switch_sync()` for more information.

since: 1.26

###### snapd_client_switch_finish

Complete request started with snapd_client_switch_async(). See `snapd_client_switch_sync()` for more information.

since: 1.26

###### snapd_client_switch_sync

Set the tracking channel on an installed snap.

since: 1.26

###### snapd_client_try_async

Asynchronously try a snap. See `snapd_client_try_sync()` for more information.

since: 1.9

###### snapd_client_try_finish

Complete request started with snapd_client_try_async(). See `snapd_client_try_sync()` for more information.

since: 1.9

###### snapd_client_try_sync

Try a snap.

since: 1.9

###### snapd_client_unalias_async

Asynchronously remove an alias from an app. See `snapd_client_unalias_sync()` for more information.

since: 1.25

###### snapd_client_unalias_finish

Complete request started with snapd_client_unalias_async(). See `snapd_client_unalias_sync()` for more information.

since: 1.25

###### snapd_client_unalias_sync

Remove an alias from an app.

since: 1.25

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

Please see GObject for a full list of methods.

#### 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 SnapdClientClass {
      void (* _snapd_reserved1) (
    void
      );
      void (* _snapd_reserved2) (
    void
      );
      void (* _snapd_reserved3) (
    void
      );
      void (* _snapd_reserved4) (
    void
      );

    }

Class structure for `SnapdClient`.

###### Class members

`_snapd_reserved1: void (* _snapd_reserved1) ( void )`

  No description available.

`_snapd_reserved2: void (* _snapd_reserved2) ( void )`

  No description available.

`_snapd_reserved3: void (* _snapd_reserved3) ( void )`

  No description available.

`_snapd_reserved4: void (* _snapd_reserved4) ( void )`

  No description available.