Class
AppStreamReview
Instance methods
as_review_add_flags
Adds flags to an existing review without replacing the other flags.
Available 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.
Available since: 0.14.0
as_review_get_description
Gets the multi-line review text that forms the body of the review.
Available 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.
Available 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.
Available 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.
Available since: 0.14.0
as_review_get_rating
Gets the star rating of the review, where 100 is 5 stars.
Available since: 0.14.0
as_review_get_version
Gets the version string for the application being reviewed..
Available since: 0.14.0
as_review_set_description
Sets the multi-line review text that forms the body of the review.
Available 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.
Available 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.
Available since: 0.14.0
as_review_set_rating
Sets the star rating of the review, where 100 is 5 stars..
Available since: 0.14.0
as_review_set_reviewer_id
Sets the name of the reviewer, which can be left unset.
Available since: 0.14.0
as_review_set_reviewer_name
Sets the name of the reviewer, which can be left unset.
Available since: 0.14.0
as_review_set_summary
Sets the one-line summary that may be displayed in bold.
Available since: 0.14.0
as_review_set_version
Sets the version string for the application being reviewed.
Available since: 0.14.0
Properties
AppStream.Review:priority
The priority for the review, where positive numbers indicate a better review for the specific user.
Available since: 0.15.6
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct AppStreamReviewClass {
GObjectClass parent_class;
void (* _as_reserved1) (
void
);
void (* _as_reserved2) (
void
);
void (* _as_reserved3) (
void
);
void (* _as_reserved4) (
void
);
void (* _as_reserved5) (
void
);
void (* _as_reserved6) (
void
);
void (* _as_reserved7) (
void
);
void (* _as_reserved8) (
void
);
}
Class members
parent_class |
|
No description available. | |
_as_reserved1 |
|
No description available. | |
_as_reserved2 |
|
No description available. | |
_as_reserved3 |
|
No description available. | |
_as_reserved4 |
|
No description available. | |
_as_reserved5 |
|
No description available. | |
_as_reserved6 |
|
No description available. | |
_as_reserved7 |
|
No description available. | |
_as_reserved8 |
|
No description available. |