Class
AppStreamReview
Description
class AppStream.Review : GObject.Object
{
/* No available fields */
}
No description available.
Instance methods
as_review_add_flags
Adds flags to an existing review without replacing the other flags.
since: 0.14.0
as_review_add_metadata
Adds metadata to the review object. It is left for the the plugin to use this method as required, but a typical use would be to store some secure authentication token.
since: 0.14.0
as_review_get_description
Gets the multi-line review text that forms the body of the review.
since: 0.14.0
as_review_get_flags
Gets any flags set on the review, for example if the user has already voted on the review or if the user wrote the review themselves.
since: 0.14.0
as_review_get_metadata_item
Gets some metadata from a review object. It is left for the the plugin to use this method as required, but a typical use would be to retrieve some secure authentication token.
since: 0.14.0
as_review_get_priority
This allows the UI to sort reviews into the correct order. Higher numbers indicate a more important or relevant review.
since: 0.14.0
as_review_set_description
Sets the multi-line review text that forms the body of the review.
since: 0.14.0
as_review_set_flags
Gets any flags set on the review, for example if the user has already voted on the review or if the user wrote the review themselves.
since: 0.14.0
as_review_set_priority
Sets the priority for the review, where positive numbers indicate a better review for the specific user.
since: 0.14.0
Properties
AppStream.Review:priority
The priority for the review, where positive numbers indicate a better review for the specific user.
since: 0.15.6