Snapd
Description:
Content:
Classes:
- Alias - Alias contains alias information for a Snap.
- App - App contains information about an app in a Snap.
- Assertion - Assertion contains information about a Snap assertion.
- AuthData - AuthData contains authorization data used to communicate with snapd.
- Change - Change contains information on a current Snap transaction.
- Channel - Channel is an opaque data structure and can only be accessed using the provided functions.
- Client - Client contains connection state with snapd.
- Connection - Connection contains the state of Snap a interface connection.
- Icon - Icon contains icon data.
- Interface - Interface contains information about a Snap interface.
- Maintenance - Maintenance contains maintenance information.
- MarkdownNode - MarkdownNode is an opaque data structure and can only be accessed using the provided functions.
- MarkdownParser - MarkdownParser is an opaque data structure and can only be accessed using the provided functions.
- Media - Media contains media information.
- Plug - Plug contains information about a Snap plug.
- PlugRef - PlugRef contains the state of Snap a interface plug_ref.
- Price - Price contains pricing information.
- Screenshot - Screenshot contains screenshot information.
- Slot - Slot contains information about a Snap slot.
- SlotRef - SlotRef contains the state of Snap a interface slot_ref.
- Snap - Snap contains Snap metadata.
- SystemInformation - SystemInformation contains information about the system snapd is running on.
- Task - Task contains progress information for a task in a Snap transaction.
- UserInformation - UserInformation contains information about a user account on the system snapd is running on.
Enums:
- AliasStatus - Status of an alias.
- ChangeFilter - Filter to apply to changes.
- Confinement - Confinement used by a snap.
- CreateUserFlags - Flag to control when a user accounts is created.
- DaemonType - Type of daemon.
- FindFlags - Flag to change how a find is performed.
- GetAppsFlags - Flag to change which apps are returned.
- GetConnectionsFlags - Flag to change how connections are returned.
- GetInterfacesFlags - Flags to control how interface information is returned.
- GetSnapsFlags - Flag to change which snaps are returned.
- InstallFlags - Flags to control install options.
- MaintenanceKind - Type of snap.
- MarkdownNodeType - Type of markdown node.
- MarkdownVersion - Version of markdown to parse.
- PublisherValidation - State of validation for a publisher.
- RemoveFlags - Flags to control remove options.
- SnapStatus - The current state of a snap.
- SnapType - Type of snap.
- SystemConfinement - Confinement used by a snap.
Error domains:
- Error - Error codes returned by snapd operations.
Delegates:
- public delegate void ProgressCallback (Client client, Change change, void* deprecated)
Signature for callback function used in connect_interface_sync, disconnect_interface_async, install2_sync, refresh_sync, remove2_sync, enable_sync and disable_sync.
Functions:
- public async AuthData login_async (string username, string password, string? otp, Cancellable? cancellable) throws Error
Asynchronously get authorization to install/remove snaps.
- public AuthData login_sync (string username, string password, string? otp, Cancellable? cancellable = null) throws Error
This call used to contact a D-Bus service to perform snapd authentication using Polkit.