Method

AppStreamReviewget_metadata_item

Declaration [src]

const gchar*
as_review_get_metadata_item (
  AsReview* review,
  const gchar* key
)

Description [src]

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

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.

Return value

Returns: const gchar*
 

A string value, or NULL for not found.

 The data is owned by the instance.
 The value is a NUL terminated UTF-8 string.