Method
AppStreamComponentget_content_rating
Declaration [src]
AsContentRating*
as_component_get_content_rating (
AsComponent* cpt,
const gchar* kind
)
Description [src]
Gets a content ratings of a specific type that are defined for this component.
Available since: | 0.11.0 |
Parameters
kind |
const gchar* |
A ratings kind, e.g. “oars-1.0” |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | AsContentRating |
A |
|
The data is owned by the instance. | |
The return value can be NULL . |