| Top |
| AsReview * | as_review_new () |
| gint | as_review_get_priority () |
| void | as_review_set_priority () |
| const gchar * | as_review_get_id () |
| void | as_review_set_id () |
| const gchar * | as_review_get_summary () |
| void | as_review_set_summary () |
| const gchar * | as_review_get_description () |
| void | as_review_set_description () |
| const gchar * | as_review_get_locale () |
| void | as_review_set_locale () |
| gint | as_review_get_rating () |
| void | as_review_set_rating () |
| const gchar * | as_review_get_version () |
| void | as_review_set_version () |
| const gchar * | as_review_get_reviewer_id () |
| void | as_review_set_reviewer_id () |
| const gchar * | as_review_get_reviewer_name () |
| void | as_review_set_reviewer_name () |
| GDateTime * | as_review_get_date () |
| void | as_review_set_date () |
| AsReviewFlags | as_review_get_flags () |
| void | as_review_set_flags () |
| void | as_review_add_flags () |
| const gchar * | as_review_get_metadata_item () |
| void | as_review_add_metadata () |
| gboolean | as_review_equal () |
gint
as_review_get_priority (AsReview *review);
This allows the UI to sort reviews into the correct order. Higher numbers indicate a more important or relevant review.
Since: 0.14.0
void as_review_set_priority (AsReview *review,gint priority);
Sets the priority for the review, where positive numbers indicate a better review for the specific user.
Since: 0.14.0
const gchar *
as_review_get_id (AsReview *review);
Gets the review id.
Since: 0.14.0
void as_review_set_id (AsReview *review,const gchar *id);
Sets the review identifier that is unique to each review.
Since: 0.14.0
const gchar *
as_review_get_summary (AsReview *review);
Gets the review summary.
Since: 0.14.0
void as_review_set_summary (AsReview *review,const gchar *summary);
Sets the one-line summary that may be displayed in bold.
Since: 0.14.0
const gchar *
as_review_get_description (AsReview *review);
Gets the multi-line review text that forms the body of the review.
Since: 0.14.0
void as_review_set_description (AsReview *review,const gchar *description);
Sets the multi-line review text that forms the body of the review.
Since: 0.14.0
const gchar *
as_review_get_locale (AsReview *review);
Gets the locale for the review.
Since: 0.14.0
void as_review_set_locale (AsReview *review,const gchar *locale);
Sets the locale for the review.
Since: 0.14.0
gint
as_review_get_rating (AsReview *review);
Gets the star rating of the review, where 100 is 5 stars.
Since: 0.14.0
void as_review_set_rating (AsReview *review,gint rating);
Sets the star rating of the review, where 100 is 5 stars..
Since: 0.14.0
const gchar *
as_review_get_version (AsReview *review);
Gets the version string for the application being reviewed..
Since: 0.14.0
void as_review_set_version (AsReview *review,const gchar *version);
Sets the version string for the application being reviewed.
Since: 0.14.0
const gchar *
as_review_get_reviewer_id (AsReview *review);
Gets the name of the reviewer.
Since: 0.14.0
void as_review_set_reviewer_id (AsReview *review,const gchar *reviewer_id);
Sets the name of the reviewer, which can be left unset.
Since: 0.14.0
const gchar *
as_review_get_reviewer_name (AsReview *review);
Gets the name of the reviewer.
Since: 0.14.0
void as_review_set_reviewer_name (AsReview *review,const gchar *reviewer_name);
Sets the name of the reviewer, which can be left unset.
Since: 0.14.0
GDateTime *
as_review_get_date (AsReview *review);
Gets the date the review was originally submitted.
Since: 0.14.0
void as_review_set_date (AsReview *review,GDateTime *date);
Sets the date the review was originally submitted.
Since: 0.14.0
AsReviewFlags
as_review_get_flags (AsReview *review);
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
void as_review_set_flags (AsReview *review,AsReviewFlags 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
void as_review_add_flags (AsReview *review,AsReviewFlags flags);
Adds flags to an existing review without replacing the other flags.
Since: 0.14.0
const gchar * as_review_get_metadata_item (AsReview *review,const gchar *key);
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
void as_review_add_metadata (AsReview *review,const gchar *key,const gchar *value);
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