Class
AppStreamReview
since: 1.0
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
Signals
Signals inherited from GObject (1)
GObject::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.
unstable since: 2.0
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: GObjectClass
- No description available.
_as_reserved1: void (* _as_reserved1) ( void )
- No description available.
_as_reserved2: void (* _as_reserved2) ( void )
- No description available.
_as_reserved3: void (* _as_reserved3) ( void )
- No description available.
_as_reserved4: void (* _as_reserved4) ( void )
- No description available.
_as_reserved5: void (* _as_reserved5) ( void )
- No description available.
_as_reserved6: void (* _as_reserved6) ( void )
- No description available.
_as_reserved7: void (* _as_reserved7) ( void )
- No description available.
_as_reserved8: void (* _as_reserved8) ( void )
- No description available.