Method

AppStreamReviewadd_metadata

Declaration [src]

void
as_review_add_metadata (
  AsReview* review,
  const gchar* key,
  const gchar* value
)

Description [src]

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

Parameters

key const gchar*
 

A string.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
value const gchar*
 

A string.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.