Namespace

Flatpak – 1.0

Application sandboxing framework

Version1.19.4
AuthorsFlatpak Team
LicenseLGPL-2.1-or-later
Websitehttps://flatpak.org
Sourcehttps://github.com/flatpak/flatpak

Build

C headersflatpak.h
pkg-config filesflatpak

Dependencies

GObject—2.0 The base type system library
Browse documentation

Additional documentation

Enumerations

RefKind

The kind of artifact that a FlatpakRef refers to.

RemoteType

Different types of FlatpakRemote.

StorageType

Information about the storage of an installation.

since: 0.6.15

TransactionOperationType

The type of a FlatpakTransactionOperation.

TransactionRemoteReason

The reason for FlatpakTransaction::add-new-remote.

Bitfields

InstallFlags

Flags to alter the behavior of flatpak_installation_install_full().

LaunchFlags

Flags to alter the behavior of flatpak_installation_launch_full().

QueryFlags

Flags to alter the behavior of e.g flatpak_installation_list_remote_refs_sync_full().

since: 1.3.3

TransactionErrorDetails

The details for FlatpakTransaction::operation-error.

TransactionResult

The details for FlatpakTransaction::operation-done.

UninstallFlags

Flags to alter the behavior of flatpak_installation_uninstall_full().

since: 0.11.8

UpdateFlags

Flags to alter the behavior of flatpak_installation_update().

Error Domains

Error

Error codes for library functions.

PortalError

Error codes returned by portal calls.

Callbacks

ProgressCallback

The progress callback is called repeatedly during long-running operations such as installations or updates, and can be used to update progress information in a user interface.

Functions

get_default_arch

Returns the canonical name for the arch of the current machine.

get_supported_arches

Returns the canonical names for the arches that are supported (i.e. can run) on the current machine, in order of priority (default is first).

get_system_installations

Lists the system installations according to the current configuration and current availability (e.g. doesn’t return a configured installation if not reachable).

since: 0.8

user_data_delete

Deletes the data directory for app_id in the current user’s ~/.var/app and resets its permissions in the current user’s permission store. This affects only the calling user, regardless of whether the application is installed per-user or system-wide. The application does not need to be installed.

since: 1.19

Function Macros

CHECK_VERSION

Check that the current version is at least major.minor.micro.

Constants

MAJOR_VERSION

The major version.

MICRO_VERSION

The micro version.

MINOR_VERSION

The minor version.