Function

AppStreamContentRatingattribute_get_group

since: 1.2.2

Declaration [src]

AsContentRatingGroup
as_content_rating_attribute_get_group (
  const gchar* id
)

Description [src]

Get the group the content rating attribute given by id belongs to.

Available since: 1.2.2

Parameters

id

Type: const gchar*

The subsection ID e.g. violence-cartoon.

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

Return value

Type: AsContentRatingGroup

The AsContentRatingGroup, or AS_CONTENT_RATING_GROUP_UNKNOWN if id is unknown.