Enums¶
Details¶
- class Flatpak.Error(value)¶
Bases:
GObject.GEnumError codes for library functions.
- ALREADY_INSTALLED = 0¶
App/runtime/remote is already installed
- NOT_INSTALLED = 1¶
App/runtime is not installed
- INVALID_REF = 10¶
A ref could not be parsed.
Added in version 1.0.3.
- INVALID_DATA = 11¶
Invalid data.
Added in version 1.0.3.
- UNTRUSTED = 12¶
Missing GPG key or signature.
Added in version 1.0.3.
- SETUP_FAILED = 13¶
Sandbox setup failed.
Added in version 1.0.3.
- EXPORT_FAILED = 14¶
Exporting data failed.
Added in version 1.0.3.
- REMOTE_USED = 15¶
Remote can’t be uninstalled.
Added in version 1.0.3.
- RUNTIME_USED = 16¶
Runtime can’t be uninstalled.
Added in version 1.0.3.
- INVALID_NAME = 17¶
Application, runtime or remote name is invalid.
Added in version 1.0.3.
- OUT_OF_SPACE = 18¶
More disk space needed.
Added in version 1.2.0.
- WRONG_USER = 19¶
An operation is being attempted by the wrong user (such as root operating on a user installation).
Added in version 1.2.0.
- ONLY_PULLED = 2¶
App/runtime was only pulled into the local repository but not installed.
- NOT_CACHED = 20¶
Cached data was requested, but it was not available.
Added in version 1.4.0.
- REF_NOT_FOUND = 21¶
The specified ref was not found.
Added in version 1.4.0.
- PERMISSION_DENIED = 22¶
An operation was not allowed by the administrative policy. For example, an app is not allowed to be installed due to not complying with the parental controls policy.
Added in version 1.5.1.
- AUTHENTICATION_FAILED = 23¶
An authentication operation failed, for example, no correct password was supplied.
Added in version 1.7.3.
- NOT_AUTHORIZED = 24¶
An operation tried to access a ref, or information about it that it was not authorized. For example, when successfully authenticating with a server but the user doesn’t have permissions for a private ref.
Added in version 1.7.3.
- DIFFERENT_REMOTE = 3¶
The App/Runtime is already installed, but from a different remote.
- SKIPPED = 5¶
The App/Runtime install was skipped due to earlier errors.
- NEED_NEW_FLATPAK = 6¶
The App/Runtime needs a more recent version of flatpak.
- REMOTE_NOT_FOUND = 7¶
The specified remote was not found.
- RUNTIME_NOT_FOUND = 8¶
A runtime needed for the app was not found.
- DOWNGRADE = 9¶
The pulled commit is a downgrade, and a downgrade wasn’t specifically allowed.
Added in version 1.0.
- class Flatpak.PortalError(value)¶
Bases:
GObject.GEnumError codes returned by portal calls.
- FAILED = 0¶
General portal failure
- INVALID_ARGUMENT = 1¶
An argument was invalid
- NOT_FOUND = 2¶
The object was not found
- EXISTS = 3¶
The object already exists
- NOT_ALLOWED = 4¶
The call was not allowed
- CANCELLED = 5¶
The call was cancelled by the user
- WINDOW_DESTROYED = 6¶
The window was destroyed by the user
- class Flatpak.RefKind(value)¶
Bases:
GObject.GEnumThe kind of artifact that a
Flatpak.Refrefers to.- APP = 0¶
An application
- RUNTIME = 1¶
A runtime that applications can use.
- class Flatpak.RemoteType(value)¶
Bases:
GObject.GEnumDifferent types of FlatpakRemote.
- STATIC = 0¶
Statically configured remote
- USB = 1¶
Dynamically detected local pathname remote
- LAN = 2¶
Dynamically detected network remote
- class Flatpak.StorageType(value)¶
Bases:
GObject.GEnumInformation about the storage of an installation.
Added in version 0.6.15.
- DEFAULT = 0¶
default
- HARD_DISK = 1¶
installation is on a hard disk
- SDCARD = 2¶
installation is on a SD card
- MMC = 3¶
installation is on an MMC
- NETWORK = 4¶
installation is on the network
- class Flatpak.TransactionOperationType(value)¶
Bases:
GObject.GEnumThe type of a
Flatpak.TransactionOperation.- classmethod to_string(kind)¶
- Parameters:
kind (
Flatpak.TransactionOperationType) – aFlatpak.TransactionOperationType- Returns:
a string representing kind
- Return type:
Converts the operation type to a string.
- INSTALL = 0¶
Install a ref from a remote
- UPDATE = 1¶
Update an installed ref
- INSTALL_BUNDLE = 2¶
Install a bundle from a file
- UNINSTALL = 3¶
Uninstall a ref
- LAST_TYPE = 4¶
The (currently) last operation type
- class Flatpak.TransactionRemoteReason(value)¶
Bases:
GObject.GEnumThe reason for
Flatpak.Transaction::add-new-remote.- GENERIC_REPO = 0¶
The remote specified in the flatpakref has other apps too
- RUNTIME_DEPS = 1¶
The remote has runtimes needed for the app