InstalledRef
- Constructors:
InstalledRef(**properties)
Methods
- class InstalledRef
- get_appdata_content_rating() dict[str, str] | None
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
get_appdata_content_rating_type()
).Added in version 1.4.2.
- get_appdata_content_rating_type() str | None
Returns the content rating type from the appdata. For example,
oars-1.0
oroars-1.1
.Added in version 1.4.2.
- get_appdata_name() str
Returns the name field from the appdata.
The returned string is localized.
Added in version 1.1.2.
- get_appdata_summary() str
Returns the summary field from the appdata.
The returned string is localized.
Added in version 1.1.2.
- get_appdata_version() str
Returns the default version field from the appdata.
Added in version 1.1.2.
- load_appdata(cancellable: Cancellable | None = None) Bytes
Loads the compressed xml appdata for this ref (if it exists).
Added in version 1.1.2.
- Parameters:
cancellable – a
Cancellable
- load_metadata(cancellable: Cancellable | None = None) Bytes
Loads the metadata file for this ref.
- Parameters:
cancellable – a
Cancellable
Properties
- class InstalledRef
Fields
- class InstalledRef
- parent