Flatpak.InstalledRef¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The content rating data from the appdata |
||
r/w/co |
The type of the content rating data from the appdata |
||
r/w/co |
The license from the appdata |
||
r/w/co |
The localized name field from the appdata |
||
r/w/co |
The localized summary field from the appdata |
||
r/w/co |
The default version field from the appdata |
||
r/w |
Where the application is installed |
||
r/w/co |
The reason for the ref to be end of life |
||
r/w/co |
The new ref for the end-of-lifed ref |
||
r/w |
The installed size of the application |
||
r/w |
Whether the application is current |
||
r/w |
The latest commit |
||
r/w |
The origin |
||
[ |
r/w |
The subpaths for a partially installed ref |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Flatpak.InstalledRef(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_appdata_content_rating()¶
-
Returns the content rating field from the appdata. This is a potentially empty mapping of content rating attribute IDs to values, to be interpreted by the semantics of the content rating type (see
Flatpak.InstalledRef.get_appdata_content_rating_type
()).New in version 1.4.2.
- get_appdata_content_rating_type()¶
-
Returns the content rating type from the appdata. For example,
oars-1.0
oroars-1.1
.New in version 1.4.2.
- get_appdata_license()¶
-
Returns the license field from the appdata.
New in version 1.1.2.
- get_appdata_name()¶
-
Returns the name field from the appdata.
The returned string is localized.
New in version 1.1.2.
- get_appdata_summary()¶
-
Returns the summary field from the appdata.
The returned string is localized.
New in version 1.1.2.
- get_appdata_version()¶
-
Returns the default version field from the appdata.
New in version 1.1.2.
- get_installed_size()¶
- Returns:
the installed size
- Return type:
Returns the installed size of the ref.
- get_is_current()¶
-
Returns whether the ref is current.
- get_latest_commit()¶
-
Gets the latest commit of the ref.
- load_appdata(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
a
GLib.Bytes
containing the compressed appdata file, orNone
if an error occurred- Return type:
Loads the compressed xml appdata for this ref (if it exists).
New in version 1.1.2.
- load_metadata(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
a
GLib.Bytes
containing the metadata file, orNone
if an error occurred- Return type:
Loads the metadata file for this ref.
Property Details¶
- Flatpak.InstalledRef.props.appdata_content_rating¶
- Name:
appdata-content-rating
- Type:
- Default Value:
- Flags:
The content rating data from the appdata
- Flatpak.InstalledRef.props.appdata_content_rating_type¶
- Name:
appdata-content-rating-type
- Type:
- Default Value:
- Flags:
The type of the content rating data from the appdata
- Flatpak.InstalledRef.props.appdata_license¶
- Name:
appdata-license
- Type:
- Default Value:
- Flags:
The license from the appdata
- Flatpak.InstalledRef.props.appdata_name¶
- Name:
appdata-name
- Type:
- Default Value:
- Flags:
The localized name field from the appdata
- Flatpak.InstalledRef.props.appdata_summary¶
- Name:
appdata-summary
- Type:
- Default Value:
- Flags:
The localized summary field from the appdata
- Flatpak.InstalledRef.props.appdata_version¶
- Name:
appdata-version
- Type:
- Default Value:
- Flags:
The default version field from the appdata
- Flatpak.InstalledRef.props.deploy_dir¶
-
Where the application is installed
- Flatpak.InstalledRef.props.end_of_life¶
- Name:
end-of-life
- Type:
- Default Value:
- Flags:
The reason for the ref to be end of life
- Flatpak.InstalledRef.props.end_of_life_rebase¶
- Name:
end-of-life-rebase
- Type:
- Default Value:
- Flags:
The new ref for the end-of-lifed ref
- Flatpak.InstalledRef.props.installed_size¶
-
The installed size of the application
- Flatpak.InstalledRef.props.is_current¶
-
Whether the application is current
- Flatpak.InstalledRef.props.latest_commit¶
-
The latest commit
- Flatpak.InstalledRef.props.origin¶
-
The origin