Function

AppStreamContentRatingattribute_to_csm_age

Declaration [src]

guint
as_content_rating_attribute_to_csm_age (
  const gchar* id,
  AsContentRatingValue value
)

Description [src]

Gets the Common Sense Media approved age for a specific rating level.

Available since:0.12.10

Parameters

id 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.
value AsContentRatingValue
 

The AsContentRatingValue, e.g. AS_CONTENT_RATING_VALUE_INTENSE.

Return value

Returns: guint
 

The age in years, or 0 for no details.