Functions

  error_quark ()
  get_default_arch ()
  get_supported_arches ()
  get_system_installations (cancellable)
  portal_error_quark ()
  transaction_operation_type_to_string (kind)

Details

Flatpak.error_quark()
Return type:int
Flatpak.get_default_arch()
Returns:an arch string
Return type:str

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

Flatpak.get_supported_arches()
Returns:a zero terminated array of arch strings
Return type:[str]

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).

Flatpak.get_system_installations(cancellable)
Parameters:cancellable (Gio.Cancellable or None) – a Gio.Cancellable
Raises:GLib.Error
Returns:a GLib.PtrArray of Flatpak.Installation instances
Return type:[Flatpak.Installation]

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

New in version 0.8.

Flatpak.portal_error_quark()
Return type:int
Flatpak.transaction_operation_type_to_string(kind)
Parameters:kind (Flatpak.TransactionOperationType) – a Flatpak.TransactionOperationType
Returns:a string representing kind
Return type:str

Converts the operation type to a string.